-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support OpenApiBuilder flow #146
Comments
This is slightly out of scope at this moment to cover full specification with dedicated builder, because we're focused on compile-time specification. Even tho, it's still possible to use other libraries (e.g. https://github.com/derveloper/kotlin-openapi3-dsl ) and integrate them with our plugins: Lines 120 to 123 in 947ffce
If you don't want use compile-time annotations, you can also replace builder with raw json/yaml specification. |
I'll mark it as enhancement request for now - it'll require some work to port current implementation into serializable dto structure, but I guess it could be also a healthy change for current impl. |
Thank you, I'll try to check on how to use DefinitionProcessor for now |
The old plugin allows us to define OpenAPI documentation on runtime.
Example:
It would be nice to also have this option on Javalin 5.
The text was updated successfully, but these errors were encountered: