-
Notifications
You must be signed in to change notification settings - Fork 432
feat(event_handler): mark API operation as deprecated for OpenAPI documentation #5732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
anafalcao
merged 21 commits into
aws-powertools:develop
from
tcysin:feat/mark-api-operation-as-deprecated
Dec 19, 2024
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
cfa9305
Add deprecated parameter with default to BaseRouter.get
tcysin e0440dc
Add parameter with default to BaseRouter.route
tcysin f6c9bbb
Pass deprecated param from .get() into .route()
tcysin 9df0059
Add param and pass along for post, put, delete, patch, head
tcysin d8ca3ff
Add param and pass along for ApiGatewayRestResolver.route
tcysin 9d2512b
Ditto for Route.__init__, use when creating operation metadata
tcysin 669d655
Add param and pass along in ApiGatewayResolver.route
tcysin e183b51
Add param and pass along in Router.route, workaround for include_router
tcysin 37313d5
Functional tests
tcysin 0dcef6e
Formatting
tcysin 213dbbb
Merge branch 'develop' into feat/mark-api-operation-as-deprecated
leandrodamascena 67cf2c9
Refactor to use defaultdict
tcysin a557013
Move deprecated operation tests into separate test case
tcysin f74b384
Simplify test case
tcysin 7d66193
Merge branch 'develop' into feat/mark-api-operation-as-deprecated
tcysin abd503e
Merge branch 'develop' into feat/mark-api-operation-as-deprecated
leandrodamascena 3886600
Put 'deprecated' param before 'middlewares'
tcysin 3375e1d
Remove workaround
tcysin 6e9a5da
Add test case for deprecated POST operation
tcysin d3ead97
Add 'deprecated' param to BedrockAgentResolver methods
tcysin 9968d68
Small changes + trigger pipeline
leandrodamascena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.