public interface SpincastOpenApiBottomUpPluginConfig
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDefaultConsumesContentTypes()
The default consumes content types.
|
String[] |
getDefaultProducesContentTypes()
The default produces content types.
|
boolean |
isDisableAutoSpecs()
If this returns
true no automatic
specs are going to be generated from the main
routes. |
boolean isDisableAutoSpecs()
true 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
using SpincastOpenApiManager.setOpenApiBase(OpenAPI).
String[] getDefaultConsumesContentTypes()
Returning null or an empty
array will result in a single "*/*"
content type.
By default, returns "application/json".
String[] getDefaultProducesContentTypes()
Returning null or an empty
array will result in a single "*/*"
content type.
By default, returns "application/json".
Copyright © 2019. All rights reserved.