feat: complete published registry contracts and gated SRO ingestion
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m55s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 3m43s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m45s
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m55s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 3m43s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m45s
This commit is contained in:
19
tools/openapi/orval.config.mjs
Normal file
19
tools/openapi/orval.config.mjs
Normal file
@@ -0,0 +1,19 @@
|
||||
import { defineConfig } from 'orval';
|
||||
|
||||
export default defineConfig({
|
||||
sourceContract: {
|
||||
input: { target: '../../src/core/openapi.json' },
|
||||
output: {
|
||||
mode: 'split', target: './generated/client.ts', schemas: './generated/schemas',
|
||||
client: 'fetch', clean: true,
|
||||
},
|
||||
},
|
||||
sourceRuntimeContract: {
|
||||
input: { target: '../../src/core/openapi.json' },
|
||||
output: {
|
||||
mode: 'single', target: './generated-zod/contract.ts',
|
||||
client: 'zod', clean: true,
|
||||
override: { zod: { generateEachHttpStatus: true } },
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user