Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(schema-generator): add documentation for using Labels for naming resources #1848

Open
wants to merge 4 commits into
base: 3.2
Choose a base branch
from

Conversation

Angatar
Copy link

@Angatar Angatar commented Dec 4, 2023

Documentation of NEW FEATURE, for the shema-generator:
The schema-generator now has new options that allow to use labels for naming the types/resources of interest instead of reusing the ID part of their URI fragment identifier, which is the default behavior.
This option is especially useful when using vocabularies that have adopted numerical IDs, such as Wikidata or OBO ontologies.

CF schema-generator's feature request : #412

@Angatar
Copy link
Author

Angatar commented Dec 5, 2023

It seems there is currently a lint issue with https://github.com/api-platform/docs/blob/3.2/core/upgrade-guide.md
which is not impacted at all by this pull request but this still broke the checks of the current PR:

Line 30 and Line 50 of the /core/upgrade-guide.md have both an additional trailing space that generate an error during lint check. Do I need to integrate the fix of this file in this PR as well?

@soyuka
Copy link
Member

soyuka commented Dec 5, 2023

#1852 about your comment, thanks for the json-schema feature we'll take a look at this shortly!

@Angatar
Copy link
Author

Angatar commented Dec 6, 2023

Thx for #1852 !

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