generated from Luis/nextjs-python-web-template
add api generator
This commit is contained in:
16
pkgs/ui/orval.config.ts
Normal file
16
pkgs/ui/orval.config.ts
Normal 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;
|
||||
Reference in New Issue
Block a user