Package | Description |
---|---|
org.eclipse.microprofile.openapi.models |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.responses |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
APIResponses |
Operation.getResponses()
Returns the responses property from an Operation instance.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.responses(APIResponses responses)
Sets this Operation's responses property to the given responses.
|
void |
Operation.setResponses(APIResponses responses)
Sets this Operation's responses property to the given responses.
|
Modifier and Type | Method and Description |
---|---|
APIResponses |
APIResponses.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 map
|
APIResponses |
APIResponses.defaultValue(APIResponse defaultValue)
Sets the default documentation of responses for this instance of ApiResponses and return this instance of ApiResponses.
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.