docs: align Apply organization quota status to 200 OK#5190
Merged
philippthun merged 1 commit intoJun 16, 2026
Merged
Conversation
The 'Apply an organization quota to an organization' endpoint (POST /v3/organization_quotas/:quota_guid/relationships/organizations) documents '201 Created', but the controller renders 'status: :ok' (200) via ToManyRelationshipPresenter. This mirrors the roles/users fixes in PR cloudfoundry#5185 and the cf-openapi spec, which already document 200 here.
7 tasks
philippthun
approved these changes
Jun 16, 2026
ari-wg-gitbot
added a commit
to cloudfoundry/capi-release
that referenced
this pull request
Jun 16, 2026
Changes in cloud_controller_ng:
- docs: align Apply organization quota status to 200 OK
PR: cloudfoundry/cloud_controller_ng#5190
Author: Norman Abramovitz <norman-abramovitz@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Apply an organization quota to an organization" endpoint
(
POST /v3/organization_quotas/:quota_guid/relationships/organizations)documents
201 Created, but the controller rendersstatus: :ok(200) viaToManyRelationshipPresenter(organization_quotas_controller.rb, apply action).This is the same class of mismatch as the roles/users fixes in #5185, and the
cf-openapi spec already documents
200here. Docs-only, one line.I have read and signed the Contributor License Agreement — [x]