public final class OpenApi extends Component implements ToSmithyBuilder<OpenApi>
Modifier and Type | Class and Description |
---|---|
static class |
OpenApi.Builder |
Modifier and Type | Method and Description |
---|---|
static OpenApi.Builder |
builder() |
protected ObjectNode.Builder |
createNodeBuilder() |
ComponentsObject |
getComponents() |
java.util.Optional<ExternalDocumentation> |
getExternalDocs() |
InfoObject |
getInfo() |
java.lang.String |
getOpenapi() |
java.util.Map<java.lang.String,PathItem> |
getPaths() |
java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> |
getSecurity() |
java.util.List<ServerObject> |
getServers() |
java.util.List<TagObject> |
getTags() |
OpenApi.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getExtension, getExtensions, hashCode, toNode
public static OpenApi.Builder builder()
public java.lang.String getOpenapi()
public InfoObject getInfo()
public java.util.List<ServerObject> getServers()
public java.util.Map<java.lang.String,PathItem> getPaths()
public ComponentsObject getComponents()
public java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> getSecurity()
public java.util.List<TagObject> getTags()
public java.util.Optional<ExternalDocumentation> getExternalDocs()
public OpenApi.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<OpenApi>
protected ObjectNode.Builder createNodeBuilder()
createNodeBuilder
in class Component