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

How to try it out in swagger? #24

Open
IguteChung opened this issue Apr 13, 2018 · 4 comments
Open

How to try it out in swagger? #24

IguteChung opened this issue Apr 13, 2018 · 4 comments

Comments

@IguteChung
Copy link

Hi,

I am noob for swagger,

I wonder how to try it out in the swagger ui?

Thank you.

@Stoakes
Copy link

Stoakes commented Apr 30, 2018

Hi,

Looks like the author specifically removed the "Try it out" option from swagger: third_party/swagger-ui/README.md

To re-enable it, replace supportedSubmitMethods: [] by supportedSubmitMethods: ['get', 'post', 'options'] in pkg/ui/data/swagger/datafile.go and re-build from source.

I forked the project to make it working without TLS and enable swagger: https://github.com/Stoakes/grpc-gateway-example

@zengzhengrong
Copy link

zengzhengrong commented Mar 4, 2020

Hi,@Stoakes
Your repo not working ,When use serve arg

 fail to dial: context deadline exceeded

@zengzhengrong
Copy link

@Stoakes
I fix that , It would be grpc version incompatible

@Stoakes
Copy link

Stoakes commented Mar 14, 2020

@zengzhengrong Thanks for the notice. I pushed the fix this morning.

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

No branches or pull requests

3 participants