add api generator

This commit is contained in:
Johannes Kirschbauer
2023-08-25 13:40:52 +02:00
parent fb1376b23d
commit 5a39865622
13 changed files with 9247 additions and 20 deletions

16
pkgs/ui/orval.config.ts Normal file
View File

@@ -0,0 +1,16 @@
const config = {
petstore: {
output: {
mode: "tags-split",
target: "api",
schemas: "api/model",
client: "swr",
// mock: true,
},
input: {
target: "./openapi.json",
},
},
};
export default config;