Class OpenApiResource


  • @Path("/openapi.{type:json|yaml}")
    public final class OpenApiResource
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenApiResource()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getOpenApi​(javax.ws.rs.core.HttpHeaders headers, javax.ws.rs.core.UriInfo uriInfo, java.lang.String type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenApiResource

        public OpenApiResource()
    • Method Detail

      • getOpenApi

        @GET
        @Produces({"application/json","application/yaml"})
        public javax.ws.rs.core.Response getOpenApi​(@Context
                                                    javax.ws.rs.core.HttpHeaders headers,
                                                    @Context
                                                    javax.ws.rs.core.UriInfo uriInfo,
                                                    @PathParam("type")
                                                    java.lang.String type)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception