Package io.micronaut.openapi.annotation
Annotation Interface OpenAPIRequest
@Documented
@Retention(RUNTIME)
@Target({PARAMETER,ANNOTATION_TYPE})
@Inherited
public @interface OpenAPIRequest
The annotation can be used as alternative to io.micronaut.http.annotation.RequestBean
to mark parameter as wrapped request details. It useful, when you haven't micronaut-http in dependencies.
For example, when you use micronaut-openapi with spring-boot application.
- Since:
- 6.18.0