Describe the bug
--component-renaming-conflicts-severity seems only flag file reference but not pointer reference.
To Reproduce
- Set up
openapi.yaml like following
openapi: 3.1.0
paths:
/foo:
put:
parameters:
- $ref: 'A.yaml#/components/parameters/User'
get:
parameters:
- $ref: 'B.yaml#/components/parameters/User'
- Set up
A.yaml and B.yaml with slightly different specs
components:
parameters:
User:
name: test
in: path
description: test-A
components:
parameters:
User:
name: test
in: query
description: test-B
Expected behavior
When run redocly bundle index.yaml --component-renaming-conflicts-severity=error, I would expect it to fail, as both User are conflicts in naming, but it went through without errors.
Logs
bundling index.yaml...
openapi: 3.1.0
paths:
/foo:
put:
parameters:
- $ref: '#/components/parameters/parameters-User'
get:
parameters:
- $ref: '#/components/parameters/User'
components:
parameters:
User:
name: test
in: query
description: test-B
parameters-User:
name: test
in: path
description: test-A
📦 Created a bundle for index.yaml at stdout 9ms.
Redocly version(s)
2.25.1
Node.js version(s)
Node v24.3.0
NPM 11.4.2
OS, environment
Mac M1
Additional context
Describe the bug
--component-renaming-conflicts-severityseems only flag file reference but not pointer reference.To Reproduce
openapi.yamllike followingA.yamlandB.yamlwith slightly different specsExpected behavior
When run
redocly bundle index.yaml --component-renaming-conflicts-severity=error, I would expect it to fail, as bothUserare conflicts in naming, but it went through without errors.Logs
Redocly version(s)
2.25.1
Node.js version(s)
Node v24.3.0
NPM 11.4.2
OS, environment
Mac M1
Additional context