Breaking Changes:
- Rename default typescript output api file name (prev
api.ts
, nowApi.ts
)
Features: -d, --default-as-success
option. Allows to use "default" status codes as success response type-r, --responses
option. Response declarations in request rescription
This option adds comments of the possible responses from request
Also typings for.catch()
callback
- Improve response body type definitions
- Types for bad responses
Changes: - [minor] fix jsdoc comments space
Features:
- Api module description from schema info
- Generate API type declarations (CLI flag
--route-types
)
- Ability to not generate clint API class (CLI flag
--no-client
)
Fixes:
- Improve response body type definition
Internal:
- refactored
generate
andvalidate
test scripts
Fixes: create api without -o
option (use default ./
output)
Features: better naming of routes without operationId
Changes: rename @security true
-> @secure
, @duplicate true
-> @duplicate
Fixes: Support generated swagger schemes from tsoa 3.x with complex types (Omit, Pick, etc)
Features: add .d.ts file into npm package
Changes: update help block in CLI
Internal: add greenkeeper, update npm keywords
Features: @summary, @description comments at each route
Fixes: parsing schema without routes
Changes: update documentation
Internal: add anyOf, allOf test schemas, slack notifications in CI
Fixes: fix complex types (oneOf, anyOf), required fields of object type was not required
Changes: rename ApiParams
to RequestParams
, secure module always exist in generated API module, update documentation
Fixes: Query params was all required, parse yaml files, typescript minor warnings (;)
Internal: test schemas + manual testing, add travis CI/CD
Fixes: catching http errors with use API module
Features: add description to interfaces and their fields
Changes: update documentation
Changes: update documentation
Changes: update documentation (+ add logo), add comment about author in generated module
Fixes: route naming, http(s) requests for getting swagger schema, integer enums
Changes: include only required files into npm pacakge
Changes: update documentation
Changes: disable linters rules for generated API module
Fixes: TS issues in template
Fixes: NodeJS main script cannot been called on Unix* machines
Changes: add LICENSE, update README
Changes(Internal): change dependencies
New features: query params, separating routes on submodules, common params in constructor, swagger v2 + yaml parsers
Enhancements: better type extracting.
Fixes: mustache escaping chars
Changes: order of request params, emojis messages in console
Initial project.