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 f43b8bf commit b61ca8aCopy full SHA for b61ca8a
website/src/openApi/index.ts
@@ -86,7 +86,7 @@ function isParameterObject(
86
function isExampleObject(
87
value: OpenAPIV3_1.ExampleObject | OpenAPIV3_1.ReferenceObject,
88
): value is OpenAPIV3_1.ExampleObject {
89
- return typeof value === 'object' && value !== null && 'value' in value
+ return 'value' in value
90
}
91
92
function transformParameter(parameter: OpenAPIV3_1.ParameterObject): ApiParameter {
0 commit comments