You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Ruby on Rails stub server requires MySQL.
Its Gemfile includes line blew:
# Use mysql as the database for Active Record
gem 'mysql2', '>= 0.3.18', '< 0.5'
To start the Ruby on Rails stub server, we need to install MySQL in the development environment.
However, the Ruby on Rails stub server does not use the database.
I think this is a meaningless cost.
@ledsun thanks for reporting the issue. I agree with you SQLite works better for new users who use the auto-generated Ruby-on-Rails app for the first time.
May I know if you've time to contribute a PR with the enhancement?
Description
The Ruby on Rails stub server requires MySQL.
Its Gemfile includes line blew:
To start the Ruby on Rails stub server, we need to install MySQL in the development environment.
However, the Ruby on Rails stub server does not use the database.
I think this is a meaningless cost.
openapi-generator version
3.0.0
OpenAPI declaration file content or url
Any.
Command line used for generation
Steps to reproduce
Related issues/PRs
No.
Suggest a fix/enhancement
Switch the database to SQLite for Ruby on Rails stub server like:
https://github.com/ledsun/openapi-generator/tree/rails_reduce_dependency
We can start the Ruby on Rails stub server in fewer steps.
The text was updated successfully, but these errors were encountered: