• Stars
    star
    112
  • Rank 303,125 (Top 7 %)
  • Language
    Ruby
  • Created over 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

README

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.

To generate swagger docs

bundle exec rake swagger:docs RAILS_ENV=production

Known issue

Need 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.

RAPI swagger UI site