Package io.goobi.viewer.api.rest.v2
Class OpenApiResource
java.lang.Object
io.goobi.viewer.api.rest.v2.OpenApiResource
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.swagger.v3.oas.models.info.InfogetInfo()io.swagger.v3.oas.models.OpenAPIReturns the resource classes published by the v2 API.
-
Constructor Details
-
OpenApiResource
public OpenApiResource()
-
-
Method Details
-
getOpenApi
-
getResourceClasses
Returns the resource classes published by the v2 API.Exposed as the single source of truth for the v2 resource set so the build-time
OpenApiSpecGeneratorproduces a spec identical to what this resource serves at runtime, instead of duplicating (and risking drift from) the class list.- Returns:
- set of the nine v2 resource classes
-
getInfo
public static io.swagger.v3.oas.models.info.Info getInfo()- Returns:
Info
-