Skip to content

Consider 2xx a successful status #238

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 1 commit into from
Apr 23, 2021
Merged

Consider 2xx a successful status #238

merged 1 commit into from
Apr 23, 2021

Conversation

wyozi
Copy link
Contributor

@wyozi wyozi commented Apr 13, 2021

OpenAPI allows specifying range response codes (https://swagger.io/docs/specification/describing-responses/). I don't think it's particularly good code style tbh, but "2xx" should still probably be considered a successful response

@js2me js2me changed the base branch from master to next April 23, 2021 06:25
@js2me js2me merged commit 1d6e97a into acacode:next Apr 23, 2021
@js2me
Copy link
Member

js2me commented Apr 23, 2021

Thanks @wyozi for PR!

js2me added a commit that referenced this pull request Apr 29, 2021
* Consider 2xx a successful status (#238)

* fix: add array params with key (#237)

* fix: add array query params with key

* chore: use encoded key and value for array params

Co-authored-by: Sascha Galley <[email protected]>

* disableProxy option, added catch to axios get (#232)

* fix(types): add silent as param in declarations (#241)

* axios file upload formData Type (#244)

* axios file upload formData Type

* fix error FormData is not undefined. when serverside request

Co-authored-by: guhyeon <[email protected]>

* docs: update CHANGELOG

* chore: make property instance public

* chore: refresh generated schemas

* fix: variable name "params" doesn't uniq (thanks @mixalbl4-127)

* chore: replace log to errorLog

* refactor: resolving specific arg names

* docs: update CHANGELOG

* feat: --extract-request-body cli option (extractRequestBody: false); refactor: logger; BREAKING_CHANGE: remove deprecated code in apiConfig

* fix: utils type in .d.ts

* Add TSDoc tag for deprecated routes (#246)

* chore: refresh generated schemas; fix: form data body for axios request method

* bump: up version to 9.0.0

Co-authored-by: Joonas <[email protected]>
Co-authored-by: Sascha Galley <[email protected]>
Co-authored-by: Sascha Galley <[email protected]>
Co-authored-by: Fabio <[email protected]>
Co-authored-by: Matt R. Wilson <[email protected]>
Co-authored-by: guhyeon <[email protected]>
Co-authored-by: guhyeon <[email protected]>
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