File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
* [ #850 ] ( https://github.com/ruby-grape/grape-swagger/pull/850 ) : Fix value of ` enum ` to be ` Array ` - [ @takahashim ] ( https://github.com/takahashim )
6
6
* [ #846 ] (https://github.com/ruby-grape/grape-swagger/pull/846 ): Fixes oapi rake tasks, allows generating sepcs for different API versions.
7
+ * [ #852 ] ( https://github.com/ruby-grape/grape-swagger/pull/852 ) : Fix example to work without error - [ @takahashim ] ( https://github.com/takahashim )
8
+ * Your contribution here.
7
9
8
10
### 1.4.2 (October 22, 2021)
9
11
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ group :test do
35
35
36
36
gem 'ruby-grape-danger' , '~> 0.2.0' , require : false
37
37
gem 'simplecov' , require : false
38
+ end
38
39
40
+ group :test , :development do
39
41
unless ENV [ 'MODEL_PARSER' ] == 'grape-swagger-entity'
40
42
gem 'grape-swagger-entity' , git : 'https://github.com/ruby-grape/grape-swagger-entity'
41
43
end
Original file line number Diff line number Diff line change 1
- require 'rack/cors'
1
+ Bundler . require ENV [ 'RACK_ENV' ]
2
+
2
3
use Rack ::Cors do
3
4
allow do
4
5
origins '*'
@@ -12,7 +13,6 @@ require './api/endpoints'
12
13
require './api/entities'
13
14
14
15
class Base < Grape ::API
15
- require 'grape-entity'
16
16
require '../lib/grape-swagger'
17
17
format :json
18
18
You can’t perform that action at this time.
0 commit comments