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.
- 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