All checks were successful
ci/woodpecker/push/pipeline Pipeline was successful
24 lines
442 B
TypeScript
24 lines
442 B
TypeScript
// @ts-expect-error
|
|
import { defineConfig } from "orval";
|
|
|
|
export default defineConfig({
|
|
api: {
|
|
input: "http://localhost:8080/api-docs",
|
|
output: {
|
|
biome: true,
|
|
clean: true,
|
|
target: "./src/api/generated/api.ts",
|
|
client: "react-query",
|
|
httpClient: "axios",
|
|
mode: "tags-split",
|
|
urlEncodeParameters: true,
|
|
override: {
|
|
mutator: {
|
|
path: "src/api/api.ts",
|
|
name: "customInstance",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|