public interface BodyLike extends RAMLLanguageElement
| Modifier and Type | Method and Description |
|---|---|
ExampleString |
example()
Documentation generators MUST use body properties' example attributes to generate example invocations.
|
List<Parameter> |
formParameters()
Web forms REQUIRE special encoding and custom declaration.
|
String |
name()
Mime type of the request or response body
|
SchemaString |
schema()
The structure of a request or response body MAY be further specified by the schema property under the appropriate media type.
|
String |
schemaContent()
Returns schema content for the cases when schema is inlined, when schema is included, and when schema is a reference.
|
descriptionString name()
SchemaString schema()
ExampleString example()
List<Parameter> formParameters()
String schemaContent()
Copyright © 2016. All rights reserved.