You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _TODO.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## See the @TODO: about enabling the PWA to be used as a share target for other apps in src/pages/manifest.json.ts
4
4
5
-
## Make sure all of the pages/testing files are wrapped in BaseLayout for consistency.
5
+
## Make sure all of the pages/testing files are wrapped in BaseLayout for consistency
6
6
7
7
## Analytics
8
8
@@ -70,7 +70,7 @@ Shared Types vs Swagger / Keeping Docs in Sync
70
70
71
71
2. Code-first OpenAPI (Zod or TS schemas → OpenAPI)
72
72
73
-
- Define schemas in Zod/Valibot (or ts-rest) alongside the endpoint. Generate OpenAPI JSON plus TypeScript types from those schemas. Docs (Swagger UI/Redoc) and any client SDKs come from the generated spec, so they’re always in sync.
73
+
- Define schemas in Zod/Valibot (or ts-rest) alongside the endpoint. Generate OpenAPI JSON plus TypeScript types from those schemas. Docs (Swagger UI/Redoc) and any client SDKs come from the generated spec, so they're always in sync.
74
74
- Guarantees: CI regenerates the spec and fails when the checked-in artifact is stale; endpoint handlers reuse the same schema for runtime validation, so a mismatch cannot compile.
0 commit comments