Skip to content

OpenAPI Response Definition Mismatch #1941

Description

@afoote-mitre

Services correctly makes the following legacy endpoints return only legacy-formatted organization data:

  • GET /api/org
  • POST /api/org

But their OpenAPI response definitions still use oneOf and claim either response format is possible:

Legacy organization response
OR
Registry organization response

That was reasonable when ?registry=true could switch formats. Now that switch is removed, the registry alternative is no longer reachable and shouldn't be listed as a possible response schema.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
Needs Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions