Annotation Type OpenApiApplicationPath


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface OpenApiApplicationPath
    Annotation used to automatically create a JAX-RS application serving OpenAPI REST resource for the underlying REST Toolkit application.

    The newly created JAX-RS application path must be provided through this annotation. The path must neither be empty nor identical to the ones of others Servlets, including the underlying REST Toolkit application.

    Usage:

     
            @OpenApiApplicationPath("/api")
            @ApplicationPath("/rest")
             public final class RestApplication extends RESTApplicationAbstract {
             ...
             }
     
     
    Since:
    6.1.0
    See Also:
    ApplicationPath
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value