Skip to content

Commit 06cfb7b

Browse files
committed
changesets
1 parent c6951ac commit 06cfb7b

File tree

5 files changed

+25
-0
lines changed

5 files changed

+25
-0
lines changed

.changeset/common-hoops-drive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lightmill/log-api': major
3+
---
4+
5+
Removes typescript-openapi type export. The prefered way to rely on our contract's type is now to use the zod schemas directly. openapi.yaml is still being generated so typescript-openapi types can be generated from it if needed.

.changeset/cyan-teeth-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lightmill/log-api': major
3+
---
4+
5+
Switch openapi.json export to openapi.yaml. This aligns with openapi most widespread use. Author should update their code to use openapi.yamd instead of .json, and switch to corresponding parser.

.changeset/free-pianos-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lightmill/log-api': minor
3+
---
4+
5+
Export zod schemas that may be used to validate request and reponses.

.changeset/honest-geckos-add.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lightmill/log-server': major
3+
---
4+
5+
Change some validation error codes to match new log-api. Please refer to @lightmill/log-api openapi.yaml for the new validation error codes.

.changeset/thirty-needles-camp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lightmill/log-api': major
3+
---
4+
5+
Update validation error codes to be more explicit. Refer to openapi.yaml or the exported schemas to update your code if needed.

0 commit comments

Comments
 (0)