Package io.goobi.viewer.api.rest.v1
Class OpenApiResource
java.lang.Object
io.goobi.viewer.api.rest.v1.OpenApiResource
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.swagger.v3.oas.models.info.InfogetInfo()Made static so the build-time OpenAPI spec generator can reuse the exact sameInfoobject as the runtime resource, instead of duplicating a slimmed-down copy that could drift out of sync (no instance state is used here).io.swagger.v3.oas.models.OpenAPI
-
Constructor Details
-
OpenApiResource
public OpenApiResource()
-
-
Method Details
-
getOpenApi
-
getInfo
public static io.swagger.v3.oas.models.info.Info getInfo()Made static so the build-time OpenAPI spec generator can reuse the exact sameInfoobject as the runtime resource, instead of duplicating a slimmed-down copy that could drift out of sync (no instance state is used here).- Returns:
Info
-