Error running endpointscfg.py get_swagger_spec

匆匆过客 提交于 2019-12-02 02:53:53

Rather than running it directly, try running it with Python, a la:

python lib/endpoints/endpointscfg.py get_swagger_spec main.EchoApi --hostname your-service.appspot.com

Tried that and it just worked for me. I'll try and make this better (either by fixing the docs or applying some fix in the repo), but that might get you what you need in the interim.

I had the exact same problem and tried the same things. What worked for me was:

chmod +x lib/endpoints/endpointscfg.py

Then running the command again.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!