Skip to content

Commit b1f6545

Browse files
committed
Fix: made the array actual Ruby, missing commas. [ci skip]
1 parent 0d8734e commit b1f6545

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,8 @@ See the official Swagger-UI documentation about [SwaggerUi Parameters](https://g
7575
GrapeSwaggerRails.options.doc_expansion = 'list'
7676
```
7777

78-
You can set supportedSubmitMethods with an array of the supported HTTP methods, default is:
79-
```ruby
80-
["get" "post" "put" "delete" "patch"]
81-
```
78+
You can set supportedSubmitMethods with an array of the supported HTTP methods, default is `%w{ get post put delete patch }`.
79+
8280
See the official Swagger-UI documentation about [SwaggerUi Parameters](https://github.com/swagger-api/swagger-ui#parameters).
8381

8482
```ruby

0 commit comments

Comments
 (0)