Package org.apache.juneau.rest.swagger
Class BasicSwaggerProviderSession
java.lang.Object
org.apache.juneau.rest.swagger.BasicSwaggerProviderSession
A single session of generating a Swagger document.
See Also:
-
Constructor Summary
ConstructorDescriptionBasicSwaggerProviderSession
(RestContext context, Locale locale, FileFinder ff, Messages messages, VarResolverSession vr, JsonSchemaGeneratorSession js) Constructor. -
Method Summary
-
Constructor Details
-
BasicSwaggerProviderSession
public BasicSwaggerProviderSession(RestContext context, Locale locale, FileFinder ff, Messages messages, VarResolverSession vr, JsonSchemaGeneratorSession js) Constructor.- Parameters:
context
- The context of the REST object we're generating Swagger about.locale
- The language of the swagger we're asking for.ff
- The file finder to use for finding JSON files.messages
- The messages to use for finding localized strings.vr
- The variable resolver to use for resolving variables in the swagger.js
- The JSON-schema generator to use for stuff like examples.
-
-
Method Details