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
getOpenAPIMetadata
andsetOpenAPIMetadata
(#61)
- Support multiple
@ResponseSchema
decorators usingoneOf
(#58)
@QueryParams
object are now correctly split into separatequery
params instead of a singleobject
type param (#49)
- Same as 2.0.0-rc1
- Bump
class-validator
peer dependency to^0.12.0
- meaning we're no longer compatible with pre-0.12 versions ofclass-validator
!
- Restored the mistakenly removed
tslib
dependency #42
- Upgraded dependencies, now supporting
routing-controllers@^0.8.0
(#33) - Moved
routing-controllers
topeerDependencies
to get version mismatch errors while installing
- Support class-level
@OpenAPI
decorators, i.e. applying same spec to each controller method - Update dependencies
- Handle
@BodyParam
decorator #14
- Handle explicit
type
parameter in@Body
decorator to fix array request bodies #12.
- Update
openapi3-ts
dependency to fix type clash withclass-validator-jsonschema
- Fix multiple
OpenAPI
decorators 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
@HeaderParam
and@HeaderParams
decorators #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
@OpenAPI
decorator for supplying actions with additional spec keywords