You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicate typename issue while generating types from paypal openAPI spec #1449
The particular open API i am using is , checkout_orders_v2 attached here. checkout_orders_v2.json
When i try to generate types as shown below i get error
hvk@LAPTOP-GH4L4EUD:/mnt/c/Users/paypal-integration$ oapi-codegen -generate types -o types.go -package main checkout_orders_v2.json
error generating code: error generating type definitions: error generating code for type definitions: duplicate typename 'AuthorizationStatus' detected, can't auto-rename, please use x-go-name to specify your own name for one of them
Activity