Uses of Interface
org.eclipse.microprofile.openapi.models.responses.APIResponses
Packages that use APIResponses
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.
Model interfaces to describe a single response from an API operation, and an annotation to encapsulate multiple
responses from an API operation.
-
Uses of APIResponses in org.eclipse.microprofile.openapi
Methods in org.eclipse.microprofile.openapi that return APIResponsesModifier and TypeMethodDescriptionstatic APIResponsesOASFactory.createAPIResponses()This method creates a newAPIResponsesinstance. -
Uses of APIResponses in org.eclipse.microprofile.openapi.models
Methods in org.eclipse.microprofile.openapi.models that return APIResponsesModifier and TypeMethodDescriptionOperation.getResponses()Returns the responses property from an Operation instance.Methods in org.eclipse.microprofile.openapi.models with parameters of type APIResponsesModifier and TypeMethodDescriptiondefault OperationOperation.responses(APIResponses responses) Sets this Operation's responses property to the given responses.voidOperation.setResponses(APIResponses responses) Sets this Operation's responses property to the given responses. -
Uses of APIResponses in org.eclipse.microprofile.openapi.models.responses
Methods in org.eclipse.microprofile.openapi.models.responses that return APIResponsesModifier and TypeMethodDescriptionAPIResponses.addAPIResponse(String name, APIResponse apiResponse) Adds an APIResponse in the format of the name as a key and the item as the value to APIResponses mapdefault APIResponsesAPIResponses.defaultValue(APIResponse defaultValue) Sets the default documentation of responses for this instance of ApiResponses and return this instance of ApiResponses.