diff --git a/.changeset/spicy-cougars-travel.md b/.changeset/spicy-cougars-travel.md new file mode 100644 index 000000000..d0c009957 --- /dev/null +++ b/.changeset/spicy-cougars-travel.md @@ -0,0 +1,5 @@ +--- +"swagger-typescript-api": patch +--- + +Search `swagger-typescript-api.config` instead of `config` by default. diff --git a/index.ts b/index.ts index 1c6ec7525..5a33efc04 100644 --- a/index.ts +++ b/index.ts @@ -288,6 +288,7 @@ const generateCommand = defineCommand({ }, run: async ({ args }) => { const customConfig = await loadConfig({ + name: "swagger-typescript-api", configFile: args["custom-config"], });