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 1c7a270 commit 18625cbCopy full SHA for 18625cb
packages/cli/src/commands/join.ts
@@ -64,6 +64,7 @@ export async function handleJoin({
64
argv,
65
config,
66
version: packageVersion,
67
+ collectSpecData,
68
}: CommandArgs<JoinOptions>) {
69
const startedAt = performance.now();
70
@@ -147,6 +148,7 @@ export async function handleJoin({
147
148
for (const document of documents) {
149
try {
150
const version = detectSpec(document.parsed);
151
+ collectSpecData?.(document.parsed);
152
if (version !== SpecVersion.OAS3_0 && version !== SpecVersion.OAS3_1) {
153
return exitWithError(
154
`Only OpenAPI 3.0 and OpenAPI 3.1 are supported: ${blue(document.source.absoluteRef)}.`
0 commit comments