Interface SpincastOpenApiBottomUpPluginConfig
- All Known Implementing Classes:
SpincastOpenApiBottomUpPluginConfigDefault
public interface SpincastOpenApiBottomUpPluginConfig
Configurations for the Spincast Open API Bottom Up plugin.
-
Method Details
-
isDisableAutoSpecs
boolean isDisableAutoSpecs()If this returnstrueno automatic specs are going to be generated from the main routes.It is useful to disable such auto specs when you want to specify the full
OpenAPIobject usingSpincastOpenApiManager.setOpenApiBase(OpenAPI). -
getDefaultConsumesContentTypes
String[] getDefaultConsumesContentTypes()The default consumes content types.Returning
nullor an empty array will result in a single "*/*" content type.By default, returns "
application/json". -
getDefaultProducesContentTypes
String[] getDefaultProducesContentTypes()The default produces content types.Returning
nullor an empty array will result in a single "*/*" content type.By default, returns "
application/json".
-