influxdata / openapi

An OpenAPI specification for influx (cloud/oss) apis.
MIT License
17 stars 10 forks source link

chore: correct error return for `POST /api/v2private/orgs` #508

Closed gspletzer closed 2 years ago

gspletzer commented 2 years ago

After additional testing for the new POST /api/v2private/orgs was completed, it was noted that Quartz returns 400 when a required parameter is missing, rather than 422, so the unity swagger has been updated to reflect that.

gspletzer commented 2 years ago

Quartz code has been modified to eliminate need for 400 on this endpoint; it will only return 422 for invalid request. Closing PR.