Class Components
java.lang.Object
io.smallrye.openapi.model.BaseModel<org.eclipse.microprofile.openapi.models.Components>
io.smallrye.openapi.model.BaseExtensibleModel<org.eclipse.microprofile.openapi.models.Components>
io.smallrye.openapi.internal.models.Components
- All Implemented Interfaces:
org.eclipse.microprofile.openapi.models.Components
,org.eclipse.microprofile.openapi.models.Constructible
,org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Components>
- Direct Known Subclasses:
ComponentsImpl
@Generated(value="io.smallrye.openapi.model.apt.SmallRyeModelProcessor",
date="2024-10-25T12:57:44.150474322Z")
public class Components
extends BaseExtensibleModel<org.eclipse.microprofile.openapi.models.Components>
implements org.eclipse.microprofile.openapi.models.Components
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.smallrye.openapi.model.BaseModel
BaseModel.MergeDirective
-
Field Summary
Fields inherited from class io.smallrye.openapi.model.BaseModel
properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCallback
(String newKey, org.eclipse.microprofile.openapi.models.callbacks.Callback newValue) addExample
(String newKey, org.eclipse.microprofile.openapi.models.examples.Example newValue) addParameter
(String newKey, org.eclipse.microprofile.openapi.models.parameters.Parameter newValue) addPathItem
(String newKey, org.eclipse.microprofile.openapi.models.PathItem newValue) addRequestBody
(String newKey, org.eclipse.microprofile.openapi.models.parameters.RequestBody newValue) addResponse
(String newKey, org.eclipse.microprofile.openapi.models.responses.APIResponse newValue) addSecurityScheme
(String newKey, org.eclipse.microprofile.openapi.models.security.SecurityScheme newValue) getLinks()
void
removeCallback
(String key) void
removeExample
(String key) void
removeHeader
(String key) void
removeLink
(String key) void
removeParameter
(String key) void
removePathItem
(String key) void
removeRequestBody
(String key) void
removeResponse
(String key) void
removeSchema
(String key) void
void
setCallbacks
(Map<String, org.eclipse.microprofile.openapi.models.callbacks.Callback> newValue) void
setExamples
(Map<String, org.eclipse.microprofile.openapi.models.examples.Example> newValue) void
setHeaders
(Map<String, org.eclipse.microprofile.openapi.models.headers.Header> newValue) void
void
setParameters
(Map<String, org.eclipse.microprofile.openapi.models.parameters.Parameter> newValue) void
setPathItems
(Map<String, org.eclipse.microprofile.openapi.models.PathItem> newValue) void
setRequestBodies
(Map<String, org.eclipse.microprofile.openapi.models.parameters.RequestBody> newValue) void
setResponses
(Map<String, org.eclipse.microprofile.openapi.models.responses.APIResponse> newValue) void
setSchemas
(Map<String, org.eclipse.microprofile.openapi.models.media.Schema> newValue) void
setSecuritySchemes
(Map<String, org.eclipse.microprofile.openapi.models.security.SecurityScheme> newValue) Methods inherited from class io.smallrye.openapi.model.BaseExtensibleModel
addExtension, addListPropertyEntry, equals, getAllExtensions, getAllProperties, getExtension, getExtensions, getListProperty, getMapProperty, getProperty, getProperty, hashCode, isExtension, merge, putMapPropertyEntry, removeExtension, removeListPropertyEntry, removeMapPropertyEntry, setAllProperties, setExtensions, setListProperty, setMapProperty, setProperty
Methods inherited from class io.smallrye.openapi.model.BaseModel
constructible, deepCopy, filter, filter, getDescription, getExternalDocs, getModCount, getName, getProperties, getRef, getSummary, incrementModCount, merge, mergeDirective, setDescription, setExternalDocs, setName, setRef, setSummary, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.microprofile.openapi.models.Components
callbacks, examples, headers, links, parameters, pathItems, requestBodies, responses, schemas, securitySchemes
Methods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, extensions, getExtensions, removeExtension, setExtensions
-
Constructor Details
-
Components
public Components()
-
-
Method Details
-
getSchemas
- Specified by:
getSchemas
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setSchemas
- Specified by:
setSchemas
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addSchema
public Components addSchema(String newKey, org.eclipse.microprofile.openapi.models.media.Schema newValue) - Specified by:
addSchema
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeSchema
- Specified by:
removeSchema
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getResponses
- Specified by:
getResponses
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setResponses
public void setResponses(Map<String, org.eclipse.microprofile.openapi.models.responses.APIResponse> newValue) - Specified by:
setResponses
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addResponse
public Components addResponse(String newKey, org.eclipse.microprofile.openapi.models.responses.APIResponse newValue) - Specified by:
addResponse
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeResponse
- Specified by:
removeResponse
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getParameters
- Specified by:
getParameters
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setParameters
public void setParameters(Map<String, org.eclipse.microprofile.openapi.models.parameters.Parameter> newValue) - Specified by:
setParameters
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addParameter
public Components addParameter(String newKey, org.eclipse.microprofile.openapi.models.parameters.Parameter newValue) - Specified by:
addParameter
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeParameter
- Specified by:
removeParameter
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getExamples
- Specified by:
getExamples
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setExamples
public void setExamples(Map<String, org.eclipse.microprofile.openapi.models.examples.Example> newValue) - Specified by:
setExamples
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addExample
public Components addExample(String newKey, org.eclipse.microprofile.openapi.models.examples.Example newValue) - Specified by:
addExample
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeExample
- Specified by:
removeExample
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getRequestBodies
public Map<String,org.eclipse.microprofile.openapi.models.parameters.RequestBody> getRequestBodies()- Specified by:
getRequestBodies
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setRequestBodies
public void setRequestBodies(Map<String, org.eclipse.microprofile.openapi.models.parameters.RequestBody> newValue) - Specified by:
setRequestBodies
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addRequestBody
public Components addRequestBody(String newKey, org.eclipse.microprofile.openapi.models.parameters.RequestBody newValue) - Specified by:
addRequestBody
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeRequestBody
- Specified by:
removeRequestBody
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getHeaders
- Specified by:
getHeaders
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setHeaders
- Specified by:
setHeaders
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addHeader
public Components addHeader(String newKey, org.eclipse.microprofile.openapi.models.headers.Header newValue) - Specified by:
addHeader
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeHeader
- Specified by:
removeHeader
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getSecuritySchemes
public Map<String,org.eclipse.microprofile.openapi.models.security.SecurityScheme> getSecuritySchemes()- Specified by:
getSecuritySchemes
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setSecuritySchemes
public void setSecuritySchemes(Map<String, org.eclipse.microprofile.openapi.models.security.SecurityScheme> newValue) - Specified by:
setSecuritySchemes
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addSecurityScheme
public Components addSecurityScheme(String newKey, org.eclipse.microprofile.openapi.models.security.SecurityScheme newValue) - Specified by:
addSecurityScheme
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeSecurityScheme
- Specified by:
removeSecurityScheme
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getLinks
- Specified by:
getLinks
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setLinks
- Specified by:
setLinks
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addLink
public Components addLink(String newKey, org.eclipse.microprofile.openapi.models.links.Link newValue) - Specified by:
addLink
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeLink
- Specified by:
removeLink
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getCallbacks
- Specified by:
getCallbacks
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setCallbacks
public void setCallbacks(Map<String, org.eclipse.microprofile.openapi.models.callbacks.Callback> newValue) - Specified by:
setCallbacks
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addCallback
public Components addCallback(String newKey, org.eclipse.microprofile.openapi.models.callbacks.Callback newValue) - Specified by:
addCallback
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removeCallback
- Specified by:
removeCallback
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
getPathItems
- Specified by:
getPathItems
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
setPathItems
- Specified by:
setPathItems
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
addPathItem
public Components addPathItem(String newKey, org.eclipse.microprofile.openapi.models.PathItem newValue) - Specified by:
addPathItem
in interfaceorg.eclipse.microprofile.openapi.models.Components
-
removePathItem
- Specified by:
removePathItem
in interfaceorg.eclipse.microprofile.openapi.models.Components
-