| Package | Description |
|---|---|
| org.jooby.apitool.raml |
| Modifier and Type | Field and Description |
|---|---|
static RamlType |
RamlType.BOOLEAN
Boolean.
|
static RamlType |
RamlType.DATE_TIME
DateTime.
|
static RamlType |
RamlType.FILE
File.
|
static RamlType |
RamlType.INTEGER
Integer.
|
static RamlType |
RamlType.NUMBER
Number.
|
static RamlType |
RamlType.STRING
String.
|
| Modifier and Type | Method and Description |
|---|---|
RamlType |
Raml.define(Type type)
Register a Java type and produces an equivalent RAML type.
|
RamlType |
Raml.define(Type javaType,
RamlType baseType)
Define/map a custom Java type to RAML type.
|
RamlType |
RamlMethod.getBody()
Input/Request type.
|
RamlType |
RamlParameter.getType()
RAML type.
|
RamlType |
RamlType.newProperty(String name,
String type,
boolean required,
String... values)
Defines a new property.
|
RamlType |
RamlType.toArray()
Build/make an array.
|
static RamlType |
RamlType.valueOf(String name)
Get a RAML type from string.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,RamlType> |
RamlResponse.getMediaType()
Media type.
|
Map<String,RamlType> |
Raml.getTypes()
RAML types.
|
| Modifier and Type | Method and Description |
|---|---|
RamlType |
Raml.define(Type javaType,
RamlType baseType)
Define/map a custom Java type to RAML type.
|
void |
RamlMethod.setBody(RamlType body)
Set input/request type.
|
void |
RamlResponse.setMediaType(String mediaType,
RamlType body)
Set media type.
|
void |
RamlParameter.setType(RamlType type)
Set RAML type.
|
Copyright © 2021. All rights reserved.