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
Hello,
Just started using oapi-codegen.
The README says, i can use the generate flag to specify any subsets of types,server,client,spec. But, when i specify for example just the client it throws an error "error processing flags: flags --generate aren't supported in new config style, please use --old-style-config or update your configuration".
Looks like https://github.com/deepmap/oapi-codegen/blob/master/cmd/oapi-codegen/oapi-codegen.go#L306 needs the complete generate string as types,client,server,spec. Is this option not supported in the new version as said in the README?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Just started using oapi-codegen.
The README says, i can use the generate flag to specify any subsets of types,server,client,spec. But, when i specify for example just the client it throws an error "error processing flags: flags --generate aren't supported in new config style, please use --old-style-config or update your configuration".
Looks like https://github.com/deepmap/oapi-codegen/blob/master/cmd/oapi-codegen/oapi-codegen.go#L306 needs the complete generate string as types,client,server,spec. Is this option not supported in the new version as said in the README?
Beta Was this translation helpful? Give feedback.
All reactions