Uses of Interface
org.eclipse.microprofile.openapi.models.Components
Packages that use Components
Package
Description
A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI
v3.1 documents from their Jakarta REST applications.
A set of interfaces for programmable models and their helper classes, many derived from Swagger Core library.
-
Uses of Components in org.eclipse.microprofile.openapi
Methods in org.eclipse.microprofile.openapi that return ComponentsModifier and TypeMethodDescriptionstatic ComponentsOASFactory.createComponents()This method creates a newComponentsinstance. -
Uses of Components in org.eclipse.microprofile.openapi.models
Methods in org.eclipse.microprofile.openapi.models that return ComponentsModifier and TypeMethodDescriptionComponents.addCallback(String key, Callback callback) Adds the given callback to this Components' map of callbacks with the given string as its key.Components.addExample(String key, Example example) Adds the given example to this Components' map of examples with the given string as its key.Adds the given header to this Components' map of headers with the given string as its key.Adds the given link to this Components' map of links with the given string as its key.Components.addParameter(String key, Parameter parameter) Adds the given parameter to this Components' map of parameters with the given string as its key.Components.addPathItem(String name, PathItem pathItem) Adds a path item.Components.addRequestBody(String key, RequestBody requestBody) Adds the given request body to this Components' map of request bodies with the given string as its key.Components.addResponse(String key, APIResponse response) Adds the given response to this Components' map of responses with the given string as its key.Adds the given schema to this Components' list of schemas with the given string as its key.Components.addSecurityScheme(String key, SecurityScheme securityScheme) Adds the given security scheme to this Components' map of security schemes with the given string as its key.default ComponentsSets this Components' callbacks property to the given Map containing keys and reusable callback objects.default ComponentsSets this Components' examples property to the given Map containing keys and reusable example objects.OpenAPI.getComponents()Returns the components property from an OpenAPI instance.default ComponentsSets this Components' headers property to the given Map containing keys and reusable header objects.default ComponentsSets this Components' links property to the given Map containing keys and reusable link objects.default ComponentsComponents.parameters(Map<String, Parameter> parameters) Sets this Components' parameters property to the given Map containing keys and reusable parameter objects.default ComponentsSets the pathItems property of this Components instance.default ComponentsComponents.requestBodies(Map<String, RequestBody> requestBodies) Sets this Components' requestBodies property to the given Map containing keys and reusable request body objects.default ComponentsComponents.responses(Map<String, APIResponse> responses) Sets this Components' responses property to the given Map containing keys and reusable response objects.default ComponentsSets this Components' schemas property to the given Map containing keys and reusable schemas.default ComponentsComponents.securitySchemes(Map<String, SecurityScheme> securitySchemes) Sets this Components' securitySchemes property to the given Map containing keys and reusable security scheme objects.Methods in org.eclipse.microprofile.openapi.models with parameters of type ComponentsModifier and TypeMethodDescriptiondefault OpenAPIOpenAPI.components(Components components) Sets this OpenAPI instance's components property to the given components.voidOpenAPI.setComponents(Components components) Sets this OpenAPI instance's components property to the given components.