Skip to content

release 1.4.0 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 28, 2020
Merged

release 1.4.0 #20

merged 12 commits into from
Feb 28, 2020

Conversation

js2me
Copy link
Member

@js2me js2me commented Feb 27, 2020

What's new:

Breaking Changes:

  • Rename default typescript output api file name (prev api.ts, now Api.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
    responses comments
    Also typings for .catch() callback
    responses catch types
  • Improve response body type definitions
  • Types for bad responses

Changes:

  • [minor] fix jsdoc comments space
    right comments space

js2me and others added 12 commits February 23, 2020 14:32
* chore: add common test schemas

* refactor: encapsulate nodejs.fs module usage; feat: dereference components responses + improve types
… response types (#17)

* feat: add @returns keywords into each request comments description (request responses)

* feat: prettify descriptions

* feat: add response declarations in request description; feat: typed bad responses

* feat: -d, --default-as-success option (ability to use "default" success response status code)

* chore: add common test schemas

* fix: description of defaultResponseAsSuccess option

* chore: rename setConfig to addToConfig

* chore: add specific comments for calling src/index.js on unix like machines via nodejs

* feat: move responses declarations into flag '-r, --responses'; chore(test): add manual test for new option; docs: update CHANGELOG + README
@js2me js2me requested a review from azz February 27, 2020 23:55
@js2me js2me merged commit 131225d into master Feb 28, 2020
@smorimoto smorimoto deleted the release/1.4.0 branch May 21, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants