All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Export
getOpenAPIMetadataandsetOpenAPIMetadata(#61)
- Support multiple
@ResponseSchemadecorators usingoneOf(#58)
@QueryParamsobject are now correctly split into separatequeryparams instead of a singleobjecttype param (#49)
- Same as 2.0.0-rc1
- Bump
class-validatorpeer dependency to^0.12.0- meaning we're no longer compatible with pre-0.12 versions ofclass-validator!
- Restored the mistakenly removed
tslibdependency #42
- Upgraded dependencies, now supporting
routing-controllers@^0.8.0(#33) - Moved
routing-controllerstopeerDependenciesto get version mismatch errors while installing
- Support class-level
@OpenAPIdecorators, i.e. applying same spec to each controller method - Update dependencies
- Handle
@BodyParamdecorator #14
- Handle explicit
typeparameter in@Bodydecorator to fix array request bodies #12.
- Update
openapi3-tsdependency to fix type clash withclass-validator-jsonschema
- Fix multiple
OpenAPIdecorators overwriting each other #10
- Fix undefined Controller/JsonController base path resolving into an
"undefined": {...}OpenAPI route
- Include a complete sample application in
/sample - Update development dependencies
- Handle
@HeaderParamand@HeaderParamsdecorators #2
- Update dependencies
- Fix handling actions with an unspecified path string #1 (thanks @fabriciovergal!)
- Handle optional path parameters (e.g.
/users/:userId?) and regex path parameters (/users/:userId(\\d{6})) with appropriate OpenAPI schema keywords
- A
@OpenAPIdecorator for supplying actions with additional spec keywords