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 62be91a commit 99de49fCopy full SHA for 99de49f
tools/spectral/ipa/rulesets/functions/utils/methodUtils.js
@@ -1,5 +1,3 @@
1
-import { schemaIsArray, schemaIsPaginated } from './schemaUtils.js';
2
-
3
/**
4
* Returns a list of all successful response schemas for the passed operation, i.e. for any 2xx response.
5
*
@@ -30,8 +28,4 @@ export function getAllSuccessfulResponseSchemas(operationObject) {
30
28
}
31
29
});
32
return result;
33
-}
34
35
-export function returnsSingleResource(schema) {
36
- return !schemaIsArray(schema) && !schemaIsPaginated(schema);
37
+}
0 commit comments