Skip to content

Response Status Codes are not the Codes defined in spec #79

@cebe

Description

@cebe

cebe#3

According to the OAS 3 Spec, status codes that are available are defined in
https://tools.ietf.org/html/rfc7231#section-6

The generated code is returning 422 for example.
https://github.com/OAI/OpenAPI-Specification/blob/3.0.2/versions/3.0.2.md#httpCodes

These code is not defined in the RFC.
If i am correct it should return 400 instead.

Or for duplicate errors: 409

Metadata

Metadata

Assignees

Labels

under discussionStill discussing, not ready for implementation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions