Skip to content
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

Provide default response code from annotation via bean #9

Open
neiser opened this issue Nov 30, 2020 · 0 comments
Open

Provide default response code from annotation via bean #9

neiser opened this issue Nov 30, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@neiser
Copy link
Collaborator

neiser commented Nov 30, 2020

The static constant DEFAULT_ANNOTATION_RESPONSE_CODE in DefaultOperationApiResponsesFromMethodCustomizer should be provided by a "supplier" bean.

This way, it can be customized by library owners if they want to use a different "default" value in annotations.

neiser added a commit that referenced this issue Nov 30, 2020
@neiser neiser added the good first issue Good for newcomers label Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Development

No branches or pull requests

1 participant