Package io.micronaut.openapi.annotation
Annotation Type OpenAPIDecorator
-
@Retention(RUNTIME) @Documented @Target({TYPE,METHOD}) public @interface OpenAPIDecoratorThe annotation can be used to add suffix and prefix for operationIds. For example, when you have 2 controllers with same operations, but use generics:{@code @OpenAPIDecorator(opIdPrefix = "cats-", opIdSuffix = "-suffix")- Since:
- 4.5.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanaddAlwaysjava.lang.StringopIdPrefixjava.lang.StringopIdSuffixjava.lang.Stringvalue
-