s5-js/orval.config.ts

19 lines
343 B
TypeScript
Raw Normal View History

import { defineConfig } from "orval";
export default defineConfig({
s5: {
input: "./swagger.yaml",
output: {
mode: "split",
workspace: "./src/generated",
target: "openapi.ts",
override: {
mutator: {
path: "../axios.ts",
name: "customInstance",
},
},
},
},
});