Uses of Interface
org.eclipse.microprofile.openapi.models.media.Content
Packages that use Content
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.
An interface of a programmable model to represent a single header object.
A set of interfaces for programmable models to represent input and output data types and media types.
A set of model interfaces to describe operation parameters and operation's request body.
Model interfaces to describe a single response from an API operation, and an annotation to encapsulate multiple
responses from an API operation.
-
Uses of Content in org.eclipse.microprofile.openapi
Methods in org.eclipse.microprofile.openapi that return ContentModifier and TypeMethodDescriptionstatic ContentOASFactory.createContent()This method creates a newContentinstance. -
Uses of Content in org.eclipse.microprofile.openapi.models.headers
Methods in org.eclipse.microprofile.openapi.models.headers that return ContentModifier and TypeMethodDescriptionHeader.getContent()Returns the content property from a Header instance.Methods in org.eclipse.microprofile.openapi.models.headers with parameters of type ContentModifier and TypeMethodDescriptiondefault HeaderSets this Header's content property to the given object.voidHeader.setContent(Content content) Sets this Header's content property to the given object. -
Uses of Content in org.eclipse.microprofile.openapi.models.media
Methods in org.eclipse.microprofile.openapi.models.media that return ContentModifier and TypeMethodDescriptionContent.addMediaType(String name, MediaType mediaType) Adds the MediaType for this Content, where the key is the name of the MediaType and the value is the object that describes the content passed into or returned from an operation. -
Uses of Content in org.eclipse.microprofile.openapi.models.parameters
Methods in org.eclipse.microprofile.openapi.models.parameters that return ContentModifier and TypeMethodDescriptionParameter.getContent()Returns the content property from a Parameter instance.RequestBody.getContent()Returns the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.Methods in org.eclipse.microprofile.openapi.models.parameters with parameters of type ContentModifier and TypeMethodDescriptiondefault ParameterSets the content property of a Parameter instance to the given object.default RequestBodySets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.voidParameter.setContent(Content content) Sets the content property of a Parameter instance to the given object.voidRequestBody.setContent(Content content) Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it. -
Uses of Content in org.eclipse.microprofile.openapi.models.responses
Methods in org.eclipse.microprofile.openapi.models.responses that return ContentModifier and TypeMethodDescriptionAPIResponse.getContent()Returns the map containing descriptions of potential response payload for this instance of ApiResponse.Methods in org.eclipse.microprofile.openapi.models.responses with parameters of type ContentModifier and TypeMethodDescriptiondefault APIResponseSets the map containing descriptions of potential response payload for this instance of ApiResponse and returns this ApiResponse instance.voidAPIResponse.setContent(Content content) Sets the map containing descriptions of potential response payload for this instance of ApiResponse.