google / google/gnostic

Custom Response Code

Open
#368 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Hey

I have an API endpoint that returns a 201 and not a 200. I can't see how I can configure this, I seem to always get a 200 in the generated OpenAPI v3 yaml.

Is it possible to change the response code?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.