wechat swagger
1.0.0
Based on the WeChat server interface documents and tools of Swagger 2.0
version, it can be used as a debugging tool for local developers with swagger-ui
.
nginx
. With simple configuration, you can test/debug 500+
open interfaces locally.openresty
and environment variables. docker run -d -e TSA_AGENCY_ID=$TSA_AGENCY_ID TSA_AGENCY_APIKEY=$TSA_AGENCY_APIKEY --rm -p7788:7788 thenorthmemory/wechat-swagger
docker pull openresty/openresty:alpine
docker run --rm --name wechat-swagger -d -e TSA_AGENCY_ID=$TSA_AGENCY_ID TSA_AGENCY_APIKEY=$TSA_AGENCY_APIKEY -v $PWD/docs:/app -v $PWD/src/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf -p7788:7788 openresty/openresty:alpine nginx
http://127.0.0.1:7788
Enjoy!
MIT license.