Package dk.mada.jaxrs.model.api
Interface Content
@Immutable
public interface Content
Models the content of a request or response.
See https://swagger.io/docs/specification/describing-request-body/multipart-requests/
The form-parameters are extracted and moved up to the RequestBody since that makes more sense to me at present.
-
Method Summary
-
Method Details
-
builder
static dk.mada.jaxrs.model.api.ImmutableContent.Builder builder()Returns a builder for this type.- Returns:
- a builder for this type
-
mediaTypes
Returns the content media types supported.- Returns:
- the content media types supported
-
reference
Reference reference()Returns the content type.- Returns:
- the content type
-