fix: update schema references to use lowercase filenames#25
Merged
hola-soy-milk merged 2 commits intodirectus:mainfrom May 21, 2025
Merged
fix: update schema references to use lowercase filenames#25hola-soy-milk merged 2 commits intodirectus:mainfrom
hola-soy-milk merged 2 commits intodirectus:mainfrom
Conversation
- Changed references in various YAML files from uppercase to lowercase for consistency across the API specification. - Updated paths for permissions, policies, presets, relations, revisions, roles, shares, translations, users, and versions. - Added a script to fix casing issues in references automatically.
There was a problem hiding this comment.
Pull Request Overview
This PR updates schema file references from uppercase to lowercase filenames to ensure consistency across the API specification.
- Updated $ref values in YAML schemas to use lowercase filenames.
- Added a script to automatically fix casing issues.
Reviewed Changes
Copilot reviewed 144 out of 144 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| openapi/components/schemas/shares.yaml | Updated references for collections, shares, and users to lowercase. |
| openapi/components/schemas/settings.yaml | Changed file references under multiple properties from uppercase to lowercase. |
| openapi/components/schemas/schema.yaml | Updated schema references for collections, fields, and relations. |
| openapi/components/schemas/roles.yaml | Modified roles and user references to lowercase. |
| openapi/components/schemas/revisions.yaml | Adjusted references for activity, collections, and versions to lowercase. |
| openapi/components/schemas/presets.yaml | Updated references for users, roles, and collections to lowercase. |
| openapi/components/schemas/policies.yaml | Changed references for users, roles, and permissions to lowercase. |
| openapi/components/schemas/permissions.yaml | Updated reference for policies to lowercase. |
| openapi/components/schemas/panels.yaml | Modified references for dashboards and users to lowercase. |
| openapi/components/schemas/operations.yaml | Updated references for operations, flows, and users to lowercase. |
| openapi/components/schemas/notifications.yaml | Changed user references to lowercase. |
| openapi/components/schemas/folders.yaml | Updated folder references to lowercase. |
| openapi/components/schemas/flows.yaml | Adjusted references for operations and users to lowercase. |
| openapi/components/schemas/files.yaml | Changed folder and user references to lowercase. |
| openapi/components/schemas/fields.yaml | Updated field references to lowercase. |
| openapi/components/schemas/dashboards.yaml | Modified references for users and panels to lowercase. |
| openapi/components/schemas/comments.yaml | Updated user references to lowercase. |
| openapi/components/schemas/collections.yaml | Changed collection reference to lowercase. |
| openapi/components/schemas/activity.yaml | Updated references for users, collections, and revisions to lowercase. |
| openapi/components/schemas/_index.yaml | Updated all schema references to lowercase for consistency. |
hola-soy-milk
approved these changes
May 21, 2025
Contributor
There was a problem hiding this comment.
This looks amazing, thank you so much, @PetrBrabec! And for your patience 💜
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.
Closes #6