| Package | Description |
|---|---|
| com.carma.swagger.doclet.model | |
| com.carma.swagger.doclet.parser |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Model> |
ApiDeclaration.getModels()
This gets the models
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApiDeclaration.setModels(Map<String,Model> models)
This sets the models
|
| Constructor and Description |
|---|
ApiDeclaration(String swaggerVersion,
String apiVersion,
String basePath,
String resourcePath,
List<Api> apis,
Map<String,Model> models,
int priority,
String description) |
| Modifier and Type | Method and Description |
|---|---|
Set<Model> |
ApiMethodParser.models()
This gets the parsed models found for this method
|
Set<Model> |
ApiModelParser.parse()
This parsers a model class built from parsing this class
|
| Modifier and Type | Method and Description |
|---|---|
List<ApiParameter> |
ParameterReader.buildApiParams(com.sun.javadoc.ExecutableMemberDoc method,
com.sun.javadoc.Parameter parameter,
boolean consumesMultipart,
Set<String> allParamNames,
Set<Model> models)
This builds an Api parameter from a method or constructor parameter
|
List<ApiParameter> |
ParameterReader.readClassLevelParameters(Set<Model> models)
This reads a list of class parameters.
|
Copyright © 2015. All rights reserved.