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
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,8 +412,14 @@ Let's assume the following:
412
412
**1 - Add the following to the Gemfile and run bundle afterwards.**
413
413
414
414
### Swagger
415
+
*Add this line to Gemfile*
416
+
```
415
417
gem 'swagger-docs'
416
-
$ bundle
418
+
```
419
+
*then run command*
420
+
```
421
+
bundle
422
+
```
417
423
**2 - Say you decide to structure your REST path in the following format: /api/v1/{method}. Edit app/controllers/api/v1/posts_controller.rb and add the following:**
0 commit comments