Skip to content

Commit 2036633

Browse files
committed
Merge branch 'composer' into text-to-speech
2 parents ed660b2 + 1aa09ac commit 2036633

File tree

10 files changed

+935
-1055
lines changed

10 files changed

+935
-1055
lines changed

Containers/Containerfile-python-codegen

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ COPY api.json /app/api.json
1212
RUN datamodel-codegen --input api.json --input-file-type openapi --output /app/models.py \
1313
--output-model-type pydantic_v2.BaseModel \
1414
--target-python-version 3.11 \
15-
--field-constraints
15+
--field-constraints \
16+
--disable-timestamp
1617

1718
CMD ["cat", "/app/models.py"]

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ https://smithy.io/2.0/index.html
1010

1111
## 🚀 Quickstart: Generate OpenAPI + Type Definitions
1212

13+
Modify the model in ./smithy then run
14+
15+
```bash
16+
./build-openapi.sh && ./build-types.sh --all
17+
```
18+
19+
1320
### 📦 Prerequisites
1421

1522
Only **Docker** is required for containerized builds. No need to install Java, Gradle, Python, or Node.js locally.

0 commit comments

Comments
 (0)