Skip to content

fix: remove redundant fileId field from MediaObject entities#14

Merged
johnf merged 1 commit intomainfrom
fix/remove-redundant-fileId
Mar 30, 2026
Merged

fix: remove redundant fileId field from MediaObject entities#14
johnf merged 1 commit intomainfrom
fix/remove-redundant-fileId

Conversation

@johnf
Copy link
Copy Markdown
Collaborator

@johnf johnf commented Mar 27, 2026

Summary

  • Remove redundant fileId field from MediaObject entities since the @id serves the same purpose
  • Update documentation to clarify usage

Test plan

  • Verify the OpenAPI spec validates correctly
  • Confirm fileId references are removed from examples and schemas

The fileId always matched the entity's id, making it redundant. The
entity id now serves directly as the file identifier for /file/{id}
and /files endpoints, documented on both Entity and File schemas.
@johnf johnf force-pushed the fix/remove-redundant-fileId branch from 61ac981 to 5ec8415 Compare March 30, 2026 23:48
@johnf johnf changed the base branch from fix/openapi-spec-updates to main March 30, 2026 23:49
@johnf johnf merged commit 00a164a into main Mar 30, 2026
@johnf johnf deleted the fix/remove-redundant-fileId branch March 30, 2026 23:51
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