Browse Source
When a route is registered with multiple HTTP methods (e.g., methods=['POST', 'DELETE']), the default generate_unique_id function only uses the first method, causing duplicate operation IDs in the OpenAPI schema. This fix ensures that when a route has multiple methods and no explicit operation_id, each method gets a unique operation ID by appending the current method name. Fixes #13175pull/15194/head
2 changed files with 41 additions and 1 deletions
Loading…
Reference in new issue