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 returnstrue
no 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
OpenAPI
object usingSpincastOpenApiManager.setOpenApiBase(OpenAPI)
. -
getDefaultConsumesContentTypes
String[] getDefaultConsumesContentTypes()The default consumes content types.Returning
null
or an empty array will result in a single "*/*" content type.By default, returns "
application/json
". -
getDefaultProducesContentTypes
String[] getDefaultProducesContentTypes()The default produces content types.Returning
null
or an empty array will result in a single "*/*" content type.By default, returns "
application/json
".
-