-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(event_handler): mark API operation as deprecated for OpenAPI doc…
…umentation (#5732) * Add deprecated parameter with default to BaseRouter.get * Add parameter with default to BaseRouter.route * Pass deprecated param from .get() into .route() * Add param and pass along for post, put, delete, patch, head * Add param and pass along for ApiGatewayRestResolver.route * Ditto for Route.__init__, use when creating operation metadata * Add param and pass along in ApiGatewayResolver.route * Add param and pass along in Router.route, workaround for include_router * Functional tests * Formatting * Refactor to use defaultdict * Move deprecated operation tests into separate test case * Simplify test case * Put 'deprecated' param before 'middlewares' * Remove workaround * Add test case for deprecated POST operation * Add 'deprecated' param to BedrockAgentResolver methods * Small changes + trigger pipeline --------- Co-authored-by: Leandro Damascena <[email protected]>
- Loading branch information
1 parent
b5c17e8
commit 4c6d196
Showing
8 changed files
with
89 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.