mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Migrate to the latest openapi-ts
This commit is contained in:
14
www/openapi-ts.config.ts
Normal file
14
www/openapi-ts.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from "@hey-api/openapi-ts";
|
||||
|
||||
export default defineConfig({
|
||||
client: "axios",
|
||||
name: "OpenApi",
|
||||
input: "http://127.0.0.1:1250/openapi.json",
|
||||
output: {
|
||||
path: "./app/api",
|
||||
format: "prettier",
|
||||
},
|
||||
services: {
|
||||
asClass: true,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user