Skip to content

Commit 00be77d

Browse files
committed
update readme
1 parent 2060a43 commit 00be77d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,14 @@ Let's assume the following:
412412
**1 - Add the following to the Gemfile and run bundle afterwards.**
413413

414414
### Swagger
415+
*Add this line to Gemfile*
416+
```
415417
gem 'swagger-docs'
416-
$ bundle
418+
```
419+
*then run command*
420+
```
421+
bundle
422+
```
417423
**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:**
418424
```ruby
419425
# app/controllers/api/v1/posts_controller.rb

0 commit comments

Comments
 (0)