public class ApiDeclarationRoute extends StdJsonProducerEntityRoute
{
apiVersion: "0.2",
swaggerVersion: "1.1",
basePath: "http://petstore.swagger.wordnik.com/api",
resourcePath: "/pet.{format}"
...
apis: [...]
models: {...}
}
See API DeclarationStdEntityRoute.Builder<I,O>| Constructor and Description |
|---|
ApiDeclarationRoute(com.fasterxml.jackson.databind.ObjectWriter writer,
Factory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.Optional<?> |
doRoute(RestxRequest restxRequest,
RestxRequestMatch match,
Object body) |
builder, getEntityRequestBodyType, getEntityResponseType, handledescribe, describeOperation, getMatcher, getSuccessStatus, match, notFound, toString@Inject
public ApiDeclarationRoute(@Named(value="FrontObjectWriter")
com.fasterxml.jackson.databind.ObjectWriter writer,
Factory factory)
protected com.google.common.base.Optional<?> doRoute(RestxRequest restxRequest, RestxRequestMatch match, Object body) throws IOException
doRoute in class StdEntityRouteIOExceptionCopyright © 2014. All Rights Reserved.