Hi folks,
Just wondering if anyone's had any luck getting the OpenAPI Generator to generate the client library for Golang at all?
I'm able to build it, but I get these errors when attempting to use it:
enhance/model_new_autoresponder.go:23:6: NewAutoresponder redeclared in this block
enhance/model_autoresponder.go:39:6: other declaration of NewAutoresponder
enhance/model_new_default_dns_record.go:23:6: NewDefaultDnsRecord redeclared in this block
enhance/model_default_dns_record.go:38:6: other declaration of NewDefaultDnsRecord
enhance/model_new_dns_record.go:23:6: NewDnsRecord redeclared in this block
enhance/model_dns_record.go:40:6: other declaration of NewDnsRecord
enhance/model_new_dns_third_party_provider.go:23:6: NewDnsThirdPartyProvider redeclared in this block
enhance/model_dns_third_party_provider.go:36:6: other declaration of NewDnsThirdPartyProvider
enhance/model_new_domain.go:23:6: NewDomain redeclared in this block
enhance/model_domain.go:39:6: other declaration of NewDomain
enhance/model_new_email.go:23:6: NewEmail redeclared in this block
enhance/model_email.go:45:6: other declaration of NewEmail
enhance/model_new_ftp_user.go:23:6: NewFtpUser redeclared in this block
enhance/model_ftp_user.go:37:6: other declaration of NewFtpUser
enhance/model_new_import_server_settings.go:23:6: NewImportServerSettings redeclared in this block
enhance/model_import_server_settings.go:44:6: other declaration of NewImportServerSettings
enhance/model_new_member.go:23:6: NewMember redeclared in this block
enhance/model_member.go:45:6: other declaration of NewMember
enhance/model_new_migration_details.go:23:6: NewMigrationDetails redeclared in this block
enhance/model_migration_details.go:44:6: other declaration of NewMigrationDetails
enhance/model_new_migration_details.go:23:6: too many errors
Built using: openapi-generator-cli generate -i oas3-api.yaml -p structPrefix=true -p enumClassPrefix=true -g go -o enhance/
Running the latest version of the generator, though I've had 0 success with any other others either.
Way more errors if you don't include the prefixes.
Current generator run output: https://pastebin.com/dnVvrG1m
(sorry, couldn't paste the whole output here, got errors saying the post was too long, haha.)
Am I just missing something?
Cheers
Matt