openapi-rails 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a159aad26d1ebebde743aa749c2e24d47d20244
4
- data.tar.gz: 9c4651933c47cfcfcc74e876fb8afa36515a0311
3
+ metadata.gz: fc53c34a1d96a10227eb1bab911e2801f27f0a7f
4
+ data.tar.gz: 68e4e46eef97cbcd75dcad25ae000c561471daed
5
5
  SHA512:
6
- metadata.gz: 5970ef069b39fb49e829b6484d5af750b1792d89c3ebf455f130698b0c2efd048055a88abb0ef80272d09b07254bffb01737b157b2cdf673c11bb01491d5fd9c
7
- data.tar.gz: 776f4ce7f899a7283683c51b80ca08d2b203de3a8434b81a7299f468fca4773cf8103e5289ed73d4d707e6d307f4787c6f00b81e9e2cffa7fa4ef1829913710e
6
+ metadata.gz: b2cf34d44f6763fa37943a4fa28c91c500df1f4717f3f817852de09b35d3f8ec8cff9e4e54ae6c9349146b4b7f89539bcbb01d7aedb3b4770dd8d34d031c7b3e
7
+ data.tar.gz: 73dc36adcf7dfdf6071a57d36d1af32b94955305e0973dae10144114c1aed0572beb7b6496710667516e3703ca883f3e04a9a01eff6d4f978e0b80c2ee33cb30
@@ -258,8 +258,8 @@ module Openapi
258
258
  if include_create
259
259
  operation :post do
260
260
  key :tags, [plural_name]
261
- key :summary, "create#{plural_name}"
262
- key :operationId, "create#{plural_name}"
261
+ key :summary, "create#{name}"
262
+ key :operationId, "create#{name}"
263
263
  key :produces, json_mime
264
264
 
265
265
  parameter do
@@ -1,3 +1,3 @@
1
1
  module Openapi
2
- VERSION = '0.3.6'.freeze
2
+ VERSION = '0.3.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kravets
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-10 00:00:00.000000000 Z
12
+ date: 2017-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: swagger-blocks