Skip to content

fix: update OpenAPI spec to match actual memberOf and rootCollection response shapes#7

Open
johnf wants to merge 1 commit intomainfrom
fix/memberof-rootcollection-response-shapes
Open

fix: update OpenAPI spec to match actual memberOf and rootCollection response shapes#7
johnf wants to merge 1 commit intomainfrom
fix/memberof-rootcollection-response-shapes

Conversation

@johnf
Copy link
Copy Markdown
Collaborator

@johnf johnf commented Mar 27, 2026

Summary

  • Update memberOf and rootCollection response shapes in the OpenAPI spec to match actual API responses

Test plan

  • Verify the OpenAPI spec validates correctly
  • Confirm response shapes match actual API behaviour

…response shapes

The API resolves these fields to {id, name} objects (or null), not URI
strings. Add an EntityReference schema component and update Entity and
File schemas to use it with correct OpenAPI 3.1 nullability syntax.
Comment on lines 883 to 884
- memberOf
- rootCollection
- contentLicenseId
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: We get rid of all of these in a #15

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants