With 3.0 schema, the reference to an external component is parse with it's own structure. It allow to have a common implementation for things like mapping (an exemple with a comme Amount component that reproduce the issue is available here: https://github.com/pkernevez/pb-openapi).
With 3.1 schema the parsing don't create common components, there are new classes (with the attributes) for each usage.
It's not possible to have shared Dto anymore nor share mapping implementation.
As describe in this issue https://github.com/OpenAPITools/openapi-generator/issues/18361 I have a difference in the parser behavior.
With 3.0 schema, the reference to an external component is parse with it's own structure. It allow to have a common implementation for things like mapping (an exemple with a comme Amount component that reproduce the issue is available here: https://github.com/pkernevez/pb-openapi).
With 3.1 schema the parsing don't create common components, there are new classes (with the attributes) for each usage. It's not possible to have shared Dto anymore nor share mapping implementation.
It try with and without setResolveFully (as I saw https://github.com/swagger-api/swagger-parser/issues/1950 that seems to be closed to this issue, but isn't). Output without setResolveFully![image](https://github.com/swagger-api/swagger-parser/assets/338699/66567eeb-4148-48a6-af78-bf393fe186aa)
Output with setResolveFully