Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Oct 6, 2024
1 parent c205f1b commit 634fb00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ This library helps you to work with fully typed objects, it provides the followi

There is also a hosted version of this [code generator](https://typeschema.org/generator/schema)
where you can test and play with the generated code. If you need a CLI binary to generate code you
can also take a look at the [SDKgen](https://sdkgen.app/) project which provides several ways to directly
integrate the code generator.
can also take a look at the [SDKgen](https://sdkgen.app/) project which provides several ways to
directly integrate the code generator.

## Object mapper

Expand Down Expand Up @@ -90,7 +90,7 @@ It is then possible to turn this specification into a ready-to-use PHP class s.
$schemaManager = new SchemaManager();
$factory = new GeneratorFactory();

$schema = $schemaManager->getSchema(Person::class);
$schema = $schemaManager->getSchema(__DIR__ . '/my_schema.json');

$generator = $factory->getGenerator(GeneratorFactory::TYPE_PHP, Config::of('App\\Model'));

Expand Down

0 comments on commit 634fb00

Please sign in to comment.