Package | Description |
---|---|
io.muserver.openapi |
A model of the Open API spec, which is used internally when creating documentation for JAX-RS services.
|
io.muserver.rest |
This package contains the JAX-RS implementation for mu-server.
|
Modifier and Type | Method and Description |
---|---|
static OpenAPIObjectBuilder |
OpenAPIObjectBuilder.openAPIObject()
Creates a builder for an
OpenAPIObject |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withComponents(ComponentsObject components) |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withExternalDocs(ExternalDocumentationObject externalDocs) |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withInfo(InfoObject info) |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withPaths(PathsObject paths) |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withSecurity(List<SecurityRequirementObject> security) |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withServers(List<ServerObject> servers) |
OpenAPIObjectBuilder |
OpenAPIObjectBuilder.withTags(List<TagObject> tags) |
Modifier and Type | Method and Description |
---|---|
RestHandlerBuilder |
RestHandlerBuilder.withOpenApiDocument(OpenAPIObjectBuilder openAPIObject)
Use this value to create JSON and HTML documentation for your rest service.
|
Copyright © 2017–2019. All rights reserved.