Define base URL for all API.
- Optional.
- Default is "/"
Define version of OpenAPI.
- Optional.
setInfo : SwaggerInfo
Define setInfo.
Define the MIME types supported by the API for setConsumes. The root-level definition can be overridden in individual operations.
- Optional
- Default is SwaggerDefinition.Consume.JSON or "application/json".
Define the MIME types supported by the API for setProduces. The root-level definition can be overridden in individual operations.
- Optional
- Default is SwaggerDefinition.Consume.JSON or "application/json".
Define Schemes.
- Optional
- Default is SwaggerDefinition.Scheme.HTTP = "http"
Define setHost.
- Optional
models: {[key: string]: ISwaggerBuildDefinitionModel}
Define all model.
- Required
externalDocs: ISwaggerExternalDocs
Define external docs
- Optional
securityDefinitions: {[key: string]: ISwaggerSecurityDefinition}
Define security definitions
- Optional