Skip to content

Commit 231d415

Browse files
committed
refactor(docs): ♻️ Update output paths in README examples
- Change Zod schema output path to `./models.ts` - Update Python TypedDict output path to `./models.py`
1 parent ef08357 commit 231d415

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To generate Zod schemas for the same path prefix:
2626
```bash
2727
npx @ai-foundry/openapi-tools generate-zod \
2828
--input https://raw.githubusercontent.com/readmeio/oas-examples/main/3.1/yaml/petstore.yaml \
29-
--output ./zod \
29+
--output ./models.ts \
3030
--select-paths "/pet"
3131
```
3232

@@ -37,6 +37,6 @@ To create Python `TypedDict` definitions:
3737
```bash
3838
npx @ai-foundry/openapi-tools generate-python-dict \
3939
--input https://raw.githubusercontent.com/readmeio/oas-examples/main/3.1/yaml/petstore.yaml \
40-
--output ./typed-dict/models.py \
40+
--output ./models.py \
4141
--select-paths "/pet"
4242
```

0 commit comments

Comments
 (0)