This Rails project is a backend reference source for wechat mall applet, it need baye internal db to running, so normally, you can not running in your dev env, but only can reference.
bundle exec rake swagger:docs RAILS_ENV=productionNeed change basePath of swagger_doc/api-docs.json from empty to http://localhost:3000/swagger_doc in file public/swagger_doc/api-docs.json, then using http://localhost:3000/swagger_doc/api-docs.json to access.
staging env change to
"basePath": "https://rapi-staging.bayekeji.com/swagger_doc",Using https://rapi-staging.bayekeji.com/swagger_doc/api-docs.json to access.