11import { generateOperationID } from './utils/operationIdGeneration.js' ;
22import { collectAdoption , collectAndReturnViolation , collectException } from './utils/collectionUtils.js' ;
33import { hasException } from './utils/exceptions.js' ;
4- import {
5- isSingleResourceIdentifier ,
6- isResourceCollectionIdentifier ,
7- isSingletonResource ,
8- getResourcePathItems ,
9- isCustomMethodIdentifier ,
10- } from './utils/resourceEvaluation.js' ;
11- import { hasVerbOverride , isGetOverride , isLegacyCustomMethod , isListOverride } from './utils/extensions.js' ;
4+ import { getResourcePathItems , isCustomMethodIdentifier } from './utils/resourceEvaluation.js' ;
5+ import { isGetOverride , isLegacyCustomMethod , isListOverride } from './utils/extensions.js' ;
126import { invalidGetMethod } from './utils/methodLogic.js' ;
137
148const RULE_NAME = 'xgen-IPA-104-valid-operation-id' ;
@@ -35,9 +29,6 @@ export default (input, { methodName }, { path, documentInventory }) => {
3529
3630 const expectedOperationId = generateOperationID ( methodName , resourcePath ) ;
3731 if ( expectedOperationId !== input . operationId ) {
38- if ( isGetOverride ( input ) ) {
39- console . log ( `${ input . operationId } , ${ expectedOperationId } , ${ resourcePath } , ${ input . deprecated ? 'TRUE' : 'FALSE' } , ${ resourcePath , input [ 'x-xgen-owner-team' ] } ` ) ;
40- }
4132 const errors = [
4233 {
4334 path,
0 commit comments