Generating code with components/requestBodies xtype which have multiple content types are failing with
error generating code for type definitions: duplicate typename xtype
providing example here server-types and openapi spec in attachment
running command
oapi-codegen -config server-types.yaml patch-me-api.yaml
give me error
error generating code: error generating type definitions: error generating code for type definitions: duplicate typename 'AddressRequest' detected, can't auto-rename, please use x-go-name to specify your own name for one of them
exampefiles.zip
Generating code with components/requestBodies xtype which have multiple content types are failing with
error generating code for type definitions: duplicate typename xtype
providing example here server-types and openapi spec in attachment
running command
oapi-codegen -config server-types.yaml patch-me-api.yaml
give me error
error generating code: error generating type definitions: error generating code for type definitions: duplicate typename 'AddressRequest' detected, can't auto-rename, please use x-go-name to specify your own name for one of them
exampefiles.zip