Class OpenApiResource

java.lang.Object
org.apache.ofbiz.ws.rs.resources.OpenApiResource

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

    • OpenApiResource

      public OpenApiResource()
  • Method Details

    • 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") String type) throws Exception
      Throws:
      Exception