Skip to content

Commit 99de49f

Browse files
rollback changes
1 parent 62be91a commit 99de49f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tools/spectral/ipa/rulesets/functions/utils/methodUtils.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { schemaIsArray, schemaIsPaginated } from './schemaUtils.js';
2-
31
/**
42
* Returns a list of all successful response schemas for the passed operation, i.e. for any 2xx response.
53
*
@@ -30,8 +28,4 @@ export function getAllSuccessfulResponseSchemas(operationObject) {
3028
}
3129
});
3230
return result;
33-
}
34-
35-
export function returnsSingleResource(schema) {
36-
return !schemaIsArray(schema) && !schemaIsPaginated(schema);
37-
}
31+
}

0 commit comments

Comments
 (0)