Class SwaggerRest


  • @Path("/rest/identitystore/api/v{version}")
    public class SwaggerRest
    extends java.lang.Object
    SwaggerRest
    • Constructor Summary

      Constructors 
      Constructor Description
      SwaggerRest()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getSwagger​(javax.servlet.http.HttpServletRequest request, java.lang.String strVersion)
      Get Swagger.json
      • Methods inherited from class java.lang.Object

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

      • SwaggerRest

        public SwaggerRest()
    • Method Detail

      • getSwagger

        @GET
        @Path("/swagger")
        @Produces("application/json")
        public javax.ws.rs.core.Response getSwagger​(@Context
                                                    javax.servlet.http.HttpServletRequest request,
                                                    @PathParam("version")
                                                    java.lang.String strVersion)
                                             throws java.net.MalformedURLException,
                                                    java.io.IOException
        Get Swagger.json
        Parameters:
        request - the request
        strVersion - the version
        Returns:
        the swagger.json
        Throws:
        java.net.MalformedURLException - exception
        java.io.IOException - exception