Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go client codegen #641

Merged
merged 9 commits into from
Apr 5, 2020
Merged

Go client codegen #641

merged 9 commits into from
Apr 5, 2020

Conversation

HugoMario
Copy link
Contributor

added client generator for golang

@HugoMario HugoMario merged commit 04f8d61 into master Apr 5, 2020
@HugoMario HugoMario deleted the go-client-codegen branch April 5, 2020 19:28
@HugoMario HugoMario added this to the v3.0.20 milestone Apr 6, 2020
@toonsevrin
Copy link

toonsevrin commented May 1, 2020

Waaw great job! Finally go support!!

How do I start using this?

docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli-v3 generate -i <file> -l go -o /local/openapi

Says that go is missing.

EDIT: nvm, this has just not been included in a stable release yet. using the :unstable version fixes this!

@toonsevrin
Copy link

Hi @HugoMario, we are using a microsoft api that expects an EDM date format, but the generator passes it's time.time with the default formatting. What to do here?

@HugoMario
Copy link
Contributor Author

Hello @toonsevrin i think we could add an option to generator to work with the expected format. can you please file an issue for that and ping me there?

I'm not so familiar with go, so please, let me know what would be the expected output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants