schema-generator
schema-generator copied to clipboard
PHP Model Scaffolding from Schema.org and other RDF vocabularies
I guess it should be possible to map every Schema.org property to a reasonable faker-data-point. This would just be so nice to have. To be able to just write a...
**Description** Singularized form of adder/remover method name for collections is hardcoded to the first item from the list returned by EnglishInflector: https://github.com/api-platform/schema-generator/blob/ed297c7e7c7670c23102176b22667efcaab8dcac/src/Model/Class_.php#L335 If transformation is ambiguous inflector return list of...
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. Release notes Sourced from actions/cache's releases. v4.0.0 What's Changed Update action to node20 by @takost in actions/cache#1284 feat: save-always flag by @to-s in actions/cache#1242...
... API resources and PHP classes | Q | A | ------------- | --- | Branch? | main | Tickets | Closes #412 | License | MIT | Doc PR...
Hey, since Symfony 7 support is now merged in, could you maybe tag a new release with that? Thanks!
**API Platform version(s) affected**: 3.1.6 (Schema-generator version 5.2.0) **Description** The `groups` parameter no longer generates `Groups` attribute for properties as stated in the documentation. **How to reproduce** The below config...
**Description** I'm trying to generate a OpenAPI 3.1 schema directly from Stoplight but it keeps failing. I guess it doesn't support OpenAPI 3.1? I have no problem with OpenAPI 3.0.
**schema-gen version(s) affected**: 5.1.1 **Description** Received an exception when processing a json API schema. **How to reproduce** *Config* ``` # api/config/schema.yaml openApi: file: './swagger.json' ``` `>schema gen sgen\src schema.yml` *schema...
**Description** The schema-generator currently defines the API resources and PHP classes names using the designated vocabulary/ontology classes' local IDs (=ID of the URI fragment identifier). If we want to use...
**Description** Add [Symfony UID component](https://symfony.com/doc/current/components/uid.html) support on identifiers. **Example** ```yaml id: generationStrategy: 'symfony_uid' ``` ```php use Symfony\Bridge\Doctrine\Types\UuidType; use Symfony\Component\Uid\Uuid; /** * @see https://schema.org/identifier */ #[ORM\Id] #[ORM\Column(type: UuidType::NAME, unique: true)] #[ORM\GeneratedValue(strategy:...