javalin / javalin-openapi

Annotation processor for compile-time OpenAPI & JsonSchema, with out-of-the-box support for Javalin 5.x, Swagger & ReDoc
https://github.com/javalin/javalin-openapi/wiki
Apache License 2.0
45 stars 17 forks source link

Support `@OpenApiRequired` #181

Closed dzikoysk closed 1 year ago

dzikoysk commented 1 year ago
          I guess we could also add some kind of new annotation like `@OpenApiRequired` to enforce the behavior without workarounds 🤔

Originally posted by @dzikoysk in https://github.com/javalin/javalin-openapi/issues/177#issuecomment-1505567848