Class Generator
java.lang.Object
org.graylog2.shared.rest.documentation.generator.Generator
This is generating API information in Swagger format.
We decided to write this ourselves and not to use the Swagger JAX-RS/Jersey integration
because it was not compatible to Jersey2 at that point and just way too complicated
and too big for what we want to do with it.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGenerator
(Set<Class<?>> resourceClasses, com.fasterxml.jackson.databind.ObjectMapper mapper, boolean isCloud) Generator
(Set<Class<?>> resourceClasses, Map<Class<?>, String> pluginMapping, String pluginPathPrefix, com.fasterxml.jackson.databind.ObjectMapper mapper, boolean isCloud) -
Method Summary
-
Field Details
-
EMULATED_SWAGGER_VERSION
- See Also:
-
CLOUD_VISIBLE
- See Also:
-
-
Constructor Details
-
Generator
-
Generator
-
-
Method Details
-
generateOverview
-
getAnnotatedClasses
-
generateForRoute
-