Package io.smallrye.openapi.api
Class SmallRyeOpenAPI
java.lang.Object
io.smallrye.openapi.api.SmallRyeOpenAPI
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SmallRyeOpenAPI.Builderbuilder()Create a newSmallRyeOpenAPI.Builderinstance;org.eclipse.microprofile.openapi.models.OpenAPImodel()The finalOpenAPImodel generated fromSmallRyeOpenAPI.Builder.build().toJSON()Serializes themodelas a JSON StringtoYAML()Serializes themodelas a YAML String
-
Method Details
-
model
public org.eclipse.microprofile.openapi.models.OpenAPI model()The finalOpenAPImodel generated fromSmallRyeOpenAPI.Builder.build(). -
toJSON
Serializes themodelas a JSON String -
toYAML
Serializes themodelas a YAML String -
builder
Create a newSmallRyeOpenAPI.Builderinstance;- Returns:
- a new
SmallRyeOpenAPI.Builder
-