feat(schema-generator): add documentation for using Labels for naming resources by Angatar · Pull Request #1848 · api-platform/docs · GitHub
Skip to content

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

Open
Angatar wants to merge 4 commits into
api-platform:mainfrom
Angatar:3.2
Open

Angatar wants to merge 4 commits into
api-platform:mainfrom
Angatar:3.2

Conversation

@Angatar

@Angatar Angatar commented Dec 4, 2023

Copy link
Copy Markdown

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

Angatar commented Dec 5, 2023

Copy link
Copy Markdown
Author

@soyuka

soyuka commented Dec 5, 2023

Copy link
Copy Markdown
Member

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

@Angatar

Angatar commented Dec 6, 2023

Copy link
Copy Markdown
Author

Thx for #1852 !

@vinceAmstoutz

Copy link
Copy Markdown
Member

@Angatar Thank you for your contribution! Your PR currently has merge conflicts and a non-linear Git history. Could you resolve this by basing them on the latest main branch or, if you prefer, submit a new PR? Let us know if you need help!

@Angatar

Angatar commented Jan 14, 2025

Copy link
Copy Markdown
Author

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants