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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions