Package | Description |
---|---|
org.eclipse.microprofile.openapi |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.parameters |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
default RequestBody |
OASFilter.filterRequestBody(RequestBody requestBody)
Allows filtering of a particular RequestBody.
|
Modifier and Type | Method and Description |
---|---|
default RequestBody |
OASFilter.filterRequestBody(RequestBody requestBody)
Allows filtering of a particular RequestBody.
|
Modifier and Type | Method and Description |
---|---|
RequestBody |
Operation.getRequestBody()
Returns the requestBody property from an Operation instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,RequestBody> |
Components.getRequestBodies()
Returns the requestBodies property from a Components instance.
|
Modifier and Type | Method and Description |
---|---|
Components |
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.
|
Operation |
Operation.requestBody(RequestBody requestBody)
Sets this Operation's requestBody property to the given object.
|
void |
Operation.setRequestBody(RequestBody requestBody)
Sets this Operation's requestBody property to the given object.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.requestBodies(Map<String,RequestBody> requestBodies)
Sets this Components' requestBodies property to the given Map containing keys and reusable request body objects.
|
void |
Components.setRequestBodies(Map<String,RequestBody> requestBodies)
Sets this Components' requestBodies property to the given Map containing keys and reusable request body objects.
|
Modifier and Type | Method and Description |
---|---|
RequestBody |
RequestBody.content(Content content)
Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
|
RequestBody |
RequestBody.description(String description)
Sets the description of this RequestBody and return this instance of RequestBody
|
RequestBody |
RequestBody.required(Boolean required)
Sets whether this instance of RequestBody is required or not and returns this instance of RequestBody
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.