Annotation Type OpenApiResource


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface OpenApiResource
    Annotation used to activate the OpenAPI documentation on the annotated REST resource Java class.

    Note that the documentation of a REST resource will only contain the operations accessible by the current user.

    Usage:

     
            @OpenApiResource
            @Path("/employee")
             public final class EmployeeService {
             ...
             }
     
     
    Since:
    6.1.0