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 ee2fec5 commit 0554b97Copy full SHA for 0554b97
tools/spectral/ipa/rulesets/functions/IPA106CreateMethodRequestBodyIsGetResponse.js
@@ -85,9 +85,7 @@ function checkViolationsAndReturnErrors(
85
const getResponseSchemaRef = getSchemaRef(getResponseContentPerMediaTypeUnresolved.schema);
86
87
if (postRequestSchemaRef && getResponseSchemaRef) {
88
- const postRequestSchemaName = getSchemaNameFromRef(postRequestSchemaRef);
89
- const getResponseSchemaName = getSchemaNameFromRef(getResponseSchemaRef);
90
- if (postRequestSchemaName === getResponseSchemaName) {
+ if (postRequestSchemaRef === getResponseSchemaRef) {
91
return [];
92
}
93
0 commit comments