Syntax
openapi:
dir: <string>
location: <string>
rewrite: {}
validateRequests: <boolean>
validateResponses: <boolean>
validateSecurity: <boolean>
validationDetails: <boolean>
openapi:
dir: <string>
location: <string>
rewrite: {}
validateRequests: <boolean>
validateResponses: <boolean>
validateSecurity: <boolean>
validationDetails: <boolean>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| dir | false | - | Directory containing OpenAPI definitions to deploy. | openapi |
| location | false | - | Filename or URL pointing to an OpenAPI document. Relative filenames use the %MEMBRANE_HOME%/conf folder as base directory. | openapi/fruitstore-v1.yaml, https://api.predic8.de/shop/swagger |
| validateRequests | false | no | Turn validation of requests on or off. | yes |
| validateResponses | false | no | Turn validation of responses on or off. | yes |
| validateSecurity | false | - | - | - |
| validationDetails | false | no | Show details of the validation to the caller. | yes |
Child Structure
| Element | Cardinality | Description |
|---|---|---|
| rewrite | 0..1 |