-
-
Notifications
You must be signed in to change notification settings - Fork 523
Any way of using properties from application.yml as schema example? #231
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
Comments
I too am looking for a solution for passing config param to @OAuthFlow tokenUrl as per @gruutak example. |
👍 |
Please release 1.2.18 ❤️ |
Hi, A support will be available on v1.2.18. You can declare the following urls with v1.2.18, inside spring-boot properties/yml files (application.yml) and inject them into the swagger annotations using securityScheme or oAuthFlow:
|
I'd be interested in a way to load detailed operation descriptions (containing markdown) from yaml, something like:
This would keep the controller class less polluted when providing a detailed, formatted description. Thanks. |
Fantastic news. Thank you for adding support. |
I'm trying to set an example for an endpoint schema, but I'd like to keep the example in a property files, like application.yml. Is there any way of using it in the example?
I tried the following code, but it didn't work:
The text was updated successfully, but these errors were encountered: