We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec35e8 commit 912e521Copy full SHA for 912e521
.changeset/partial-extracting-options.md
@@ -0,0 +1,6 @@
1
+---
2
+"swagger-typescript-api": patch
3
4
+
5
+Allow partial `extractingOptions` in `generateApi` configuration.
6
types/index.ts
@@ -671,7 +671,7 @@ export interface GenerateApiConfiguration {
671
/** configuration for fetching swagger schema requests */
672
requestOptions?: Partial<RequestInit>;
673
/** extra configuration for extracting type names operations */
674
- extractingOptions: ExtractingOptions;
+ extractingOptions: Partial<ExtractingOptions>;
675
/** update configuration object during generation */
676
update: (update: Partial<GenerateApiConfiguration["config"]>) => void;
677
};
0 commit comments