Package io.muserver.openapi
Class ComponentsObject
- java.lang.Object
-
- io.muserver.openapi.ComponentsObject
-
public class ComponentsObject extends java.lang.Object
- See Also:
ComponentsObjectBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,CallbackObject>
callbacks()
java.util.Map<java.lang.String,ExampleObject>
examples()
java.util.Map<java.lang.String,HeaderObject>
headers()
java.util.Map<java.lang.String,LinkObject>
links()
java.util.Map<java.lang.String,ParameterObject>
parameters()
java.util.Map<java.lang.String,RequestBodyObject>
requestBodies()
java.util.Map<java.lang.String,ResponseObject>
responses()
java.util.Map<java.lang.String,SchemaObject>
schemas()
java.util.Map<java.lang.String,SecuritySchemeObject>
securitySchemes()
void
writeJson(java.io.Writer writer)
-
-
-
Method Detail
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
schemas
public java.util.Map<java.lang.String,SchemaObject> schemas()
- Returns:
- The value described by
ComponentsObjectBuilder.withSchemas(java.util.Map<java.lang.String, io.muserver.openapi.SchemaObject>)
-
responses
public java.util.Map<java.lang.String,ResponseObject> responses()
- Returns:
- The value described by
ComponentsObjectBuilder.withResponses(java.util.Map<java.lang.String, io.muserver.openapi.ResponseObject>)
-
parameters
public java.util.Map<java.lang.String,ParameterObject> parameters()
- Returns:
- The value described by
ComponentsObjectBuilder.withParameters(java.util.Map<java.lang.String, io.muserver.openapi.ParameterObject>)
-
examples
public java.util.Map<java.lang.String,ExampleObject> examples()
- Returns:
- The value described by
ComponentsObjectBuilder.withExamples(java.util.Map<java.lang.String, io.muserver.openapi.ExampleObject>)
-
requestBodies
public java.util.Map<java.lang.String,RequestBodyObject> requestBodies()
- Returns:
- The value described by
ComponentsObjectBuilder.withRequestBodies(java.util.Map<java.lang.String, io.muserver.openapi.RequestBodyObject>)
-
headers
public java.util.Map<java.lang.String,HeaderObject> headers()
- Returns:
- The value described by
ComponentsObjectBuilder.withHeaders(java.util.Map<java.lang.String, io.muserver.openapi.HeaderObject>)
-
securitySchemes
public java.util.Map<java.lang.String,SecuritySchemeObject> securitySchemes()
- Returns:
- The value described by
ComponentsObjectBuilder.withSecuritySchemes(java.util.Map<java.lang.String, io.muserver.openapi.SecuritySchemeObject>)
-
links
public java.util.Map<java.lang.String,LinkObject> links()
- Returns:
- The value described by
ComponentsObjectBuilder.withLinks(java.util.Map<java.lang.String, io.muserver.openapi.LinkObject>)
-
callbacks
public java.util.Map<java.lang.String,CallbackObject> callbacks()
- Returns:
- The value described by
ComponentsObjectBuilder.withCallbacks(java.util.Map<java.lang.String, io.muserver.openapi.CallbackObject>)
-
-