api-platform / schema-generator

PHP Model Scaffolding from Schema.org and other RDF vocabularies
https://api-platform.com/docs/schema-generator/
MIT License
453 stars 108 forks source link

feat: add api(Resource/Property)Arguments to types and vocabulary #378

Closed alanpoulain closed 2 years ago

alanpoulain commented 2 years ago

It adds the possibility to add custom ApiResource arguments for a specific vocabulary. The security property has been removed since the same behavior can be done by using either apiPropertyArguments or apiResourceArguments properties. Type apiResourceArguments property has a higher priority than vocabulary apiResourceArguments property.