We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think your DSL could benefit greatly from using a DSLMarker annotation.
Consider defining an annotation like:
@Target(AnnotationTarget.CLASS, AnnotationTarget.TYPE, AnnotationTarget.FUNCTION) @DslMarker annotation class OpenApiDsl
Then annotate the API receiver lambdas like:
fun OpenAPI.paths(init: @OpenApiDsl Paths.() -> Unit) { paths = paths ?: Paths() paths.init() }
Sadly, this could potentially break existing code.
The text was updated successfully, but these errors were encountered:
Hi jogro,
thanks again for your issue. Feel free to create a PR, I'm more than happy to merge it and create a new release.
Sorry, something went wrong.
No branches or pull requests
I think your DSL could benefit greatly from using a DSLMarker annotation.
Consider defining an annotation like:
Then annotate the API receiver lambdas like:
Sadly, this could potentially break existing code.
The text was updated successfully, but these errors were encountered: