feat: publish canonical source contracts
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m3s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 5m2s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 2m53s
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m3s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 5m2s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 2m53s
This commit is contained in:
@@ -7,6 +7,9 @@ The source is the actual DRF serializers and view annotations. `build.mjs` conve
|
||||
Swagger 2 to OpenAPI 3, adds the source-record discriminated variants and the named
|
||||
ordering enum with comma-separated ordering, then validates the resulting document.
|
||||
Do not edit `src/core/openapi.json` or generated TypeScript by hand.
|
||||
The public-UI Fedresurs and integrated-structure DTOs live in
|
||||
`source-record-extensions.json`; `build.mjs` adds their discriminated list/detail
|
||||
variants and typed upload/attachment errors to the generated contract.
|
||||
|
||||
From the backend root (Python dependencies installed with uv):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user