Best way to add an API to existing Rails 6 app

I have an existing Rails 6 app, and would like to add an API to allow third parties to interact with a subset of the features. I’d also like to bring in swagger for the API, as well as to have an interactive ‘sandbox’ for the API in a test or staging environment.

What would be the recommended gems / configuration to add these capabilities?

1 Like

just use apipie-rails gem for api documetaion

1 Like