| Modifier and Type | Method and Description |
|---|---|
static boolean |
SchemaHelper.containsBodySchema(Map<String,RamlMimeType> body,
RamlRoot document,
boolean checkForValidSchema)
Checks if a Map of mime types contains at least 1 valid JsonSchema.
|
| Modifier and Type | Method and Description |
|---|---|
protected Pair<String,RamlMimeType> |
SpringMvcResourceParser.extractRequestBody(Method method,
Map<String,String> parameterComments,
String comment,
List<ApiParameterMetadata> apiParameters) |
protected Pair<String,RamlMimeType> |
ResourceParser.extractRequestBody(Method method,
Map<String,String> parameterComments,
String comment,
List<ApiParameterMetadata> apiParameters)
Converts a method body into a request json schema and a mime type.
|
protected Map<String,RamlMimeType> |
ResourceParser.extractRequestBodyFromMethod(RamlActionType apiAction,
Method method,
Map<String,String> parameterComments)
Extracts the TOs and other parameters from a method and will convert into JsonSchema for inclusion in the body
TODO refactor this code structure
|
| Modifier and Type | Method and Description |
|---|---|
RamlMimeType |
RamlModelFactory.createRamlMimeType() |
RamlMimeType |
RamlModelFactory.createRamlMimeType(Object mimeType) |
RamlMimeType |
RamlModelFactory.createRamlMimeTypeWithMime(String mime) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,RamlMimeType> |
RamlResponse.getBody() |
Map<String,RamlMimeType> |
RamlAction.getBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
RamlResponse.addToBody(String key,
RamlMimeType value) |
| Modifier and Type | Method and Description |
|---|---|
void |
RamlResponse.setBody(Map<String,RamlMimeType> body) |
void |
RamlAction.setBody(Map<String,RamlMimeType> body) |
| Modifier and Type | Class and Description |
|---|---|
class |
RJP08V1RamlMimeType
Implementation based on the Raml 0.8 Parser
|
| Modifier and Type | Method and Description |
|---|---|
RamlMimeType |
RJP08V1RamlModelFactory.createRamlMimeType() |
RamlMimeType |
RJP08V1RamlModelFactory.createRamlMimeType(Object mimeType) |
RamlMimeType |
RJP08V1RamlModelFactory.createRamlMimeTypeWithMime(String mime) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,RamlMimeType> |
RJP08V1RamlResponse.getBody() |
Map<String,RamlMimeType> |
RJP08V1RamlAction.getBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
RJP08V1RamlResponse.addToBody(String key,
RamlMimeType value) |
| Modifier and Type | Method and Description |
|---|---|
void |
RJP08V1RamlResponse.setBody(Map<String,RamlMimeType> body) |
void |
RJP08V1RamlAction.setBody(Map<String,RamlMimeType> body) |
Copyright © 2017. All rights reserved.