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 a6a6482 commit 258511aCopy full SHA for 258511a
1 file changed
express-zod-api/src/documentation.ts
@@ -173,6 +173,7 @@ export class Documentation extends OpenApiBuilder {
173
composition = "inline",
174
}: DocumentationParams) {
175
super();
176
+ const prevLimit = combinations.limit;
177
combinations.limit = maxCombinations;
178
this.addInfo({ title, version });
179
for (const url of typeof serverUrl === "string" ? [serverUrl] : serverUrl)
@@ -282,5 +283,6 @@ export class Documentation extends OpenApiBuilder {
282
283
onEndpoint: hasHeadMethod ? withHead(onEndpoint) : onEndpoint,
284
});
285
if (tags) this.rootDoc.tags = depictTags(tags);
286
+ combinations.limit = prevLimit; // restore previous limit
287
}
288
0 commit comments