public interface Response extends RAMLLanguageElement
| Modifier and Type | Method and Description |
|---|---|
List<BodyLike> |
body()
Each response MAY contain a body property, which conforms to the same structure as request body properties (see Body).
|
StatusCodeString |
code()
Responses MUST be a map of one or more HTTP status codes, where each status code itself is a map that describes that status code.
|
List<Parameter> |
headers()
An API's methods may support custom header values in responses.
|
descriptionStatusCodeString code()
List<Parameter> headers()
List<BodyLike> body()
Copyright © 2016. All rights reserved.