Package org.apache.juneau.rest.swagger
Interface SwaggerProvider
- All Known Implementing Classes:
BasicSwaggerProvider
,SwaggerProvider.Void
public interface SwaggerProvider
Interface for retrieving Swagger on a REST resource.
See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Builder class.static class
Represents no SwaggerProvider. -
Method Summary
Modifier and TypeMethodDescriptionstatic SwaggerProvider.Builder
Static creator.getSwagger
(RestContext context, Locale locale) Returns the Swagger associated with the specifiedRest
-annotated class.
-
Method Details
-
create
Static creator.- Parameters:
beanStore
- The bean store to use for creating beans.- Returns:
- A new builder for this object.
-
getSwagger
Returns the Swagger associated with the specifiedRest
-annotated class.
-