Skip to content

Commit 56091ad

Browse files
prettier fix
1 parent 3120015 commit 56091ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/spectral/ipa/rulesets/functions/IPA114ErrorResponsesReferToApiError.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function checkViolationsAndReturnErrors(apiResponseObject, oas, path, errorCode)
4646
} else if (apiResponseObject.$ref) {
4747
const schemaName = getSchemaNameFromRef(apiResponseObject.$ref);
4848
const responseSchema = resolveObject(oas, ['components', 'responses', schemaName]);
49-
if(!responseSchema){
49+
if (!responseSchema) {
5050
return [{ path, message: `${errorCode} response must define content with a valid reference.` }];
5151
}
5252
content = responseSchema.content;

0 commit comments

Comments
 (0)