mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 10:33:44 +03:00
chore: fix lint issue
This commit is contained in:
parent
fb3cb3627b
commit
8c9e3bdbe4
|
@ -67,7 +67,7 @@ export class OpenAPIParser {
|
||||||
throw new Error('OpenAPI 3.0.0 requires an `info` section');
|
throw new Error('OpenAPI 3.0.0 requires an `info` section');
|
||||||
}
|
}
|
||||||
if (spec.info.version === undefined) {
|
if (spec.info.version === undefined) {
|
||||||
console.warn('OpenAPI 3.0.0 requires setting a `info.version` field, ignoring.')
|
console.warn('OpenAPI 3.0.0 requires setting a `info.version` field, ignoring.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user