bullet_train-api 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 025106c2fcb07750bfc155c42ee8afd86b47c9af4e8c53fb0712ecb8863e7962
4
- data.tar.gz: 3a1143eb0701e39bd35882fb3ced4cf4790fa9856d053a83f63a9b097eb2d828
3
+ metadata.gz: 40bc7b779d26dad0888ccb49f7f28a07a0ea038b3f1b22225029a032563af937
4
+ data.tar.gz: 402a6f89d5537cd1815fd0e22fed93e0dda462c97be190f4fcdc7df529eafb58
5
5
  SHA512:
6
- metadata.gz: '03408df50352ba3073d8d59753bade0890b3a4bf05671a19d9a8e6d6fcaf289d28b302c40dfb066c39121501b9c61dd70d68e7063a290f7743987d85ebe95330'
7
- data.tar.gz: 8e8c25227791d7587855cc4892af15fa8df165362624238685c907cb85aeb7d7512923dcfbb544b0b743a4b92b0578131ed23f98df7445f23b482572b9f0a3bb
6
+ metadata.gz: f1f25622d149fb10bcb5a5ffdb8e36ec868a9f43884708de02508db66e265c4961d62a0c28a7308ffb4087eaae99c0f308c91a98a0511f7297d3ea206142d224
7
+ data.tar.gz: ca923f4efc9d4b475f2b20e64f00448c4b91d38709073b71fda5cd33de9dbb6565d01cf6a6ddab4a4e4317bfef8135f31f230d9dbc079f8e2dee2cef0c7ffa49
@@ -60,8 +60,8 @@ module OpenApiHelper
60
60
  parameters_output["properties"].select! { |key, value| strong_parameter_keys.include?(key.to_sym) }
61
61
 
62
62
  (
63
- indent(attributes_output.to_yaml.gsub("---", "#{model.name}::Attributes:"), 3) +
64
- indent(" " + parameters_output.to_yaml.gsub("---", "#{model.name}::Parameters:"), 3)
63
+ indent(attributes_output.to_yaml.gsub("---", "#{model.name.gsub("::", "")}Attributes:"), 3) +
64
+ indent(" " + parameters_output.to_yaml.gsub("---", "#{model.name.gsub("::", "")}Parameters:"), 3)
65
65
  ).html_safe
66
66
  end
67
67
 
@@ -26,7 +26,7 @@
26
26
  data:
27
27
  type: array
28
28
  items:
29
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Attributes"
29
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
30
30
  has_more:
31
31
  type: boolean
32
32
  <% end %>
@@ -50,7 +50,7 @@
50
50
  content:
51
51
  application/json:
52
52
  schema:
53
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Parameters"
53
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
54
54
  <% end %>
55
55
  <% end %>
56
56
  <% unless except.include?(:show) && except.include?(:update) && except.include?(:destroy) %>
@@ -71,7 +71,7 @@
71
71
  content:
72
72
  application/json:
73
73
  schema:
74
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Attributes"
74
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
75
75
  <% end %>
76
76
  <% unless except.include?(:update) %>
77
77
  put:
@@ -89,7 +89,7 @@
89
89
  content:
90
90
  application/json:
91
91
  schema:
92
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Parameters"
92
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
93
93
  <% end %>
94
94
  <% unless except.include?(:destroy) %>
95
95
  delete:
@@ -16,8 +16,8 @@
16
16
  properties:
17
17
  data:
18
18
  type: array
19
- items:
20
- $ref: "#/components/schemas/Team::Attributes"
19
+ items:
20
+ $ref: "#/components/schemas/TeamAttributes"
21
21
  has_more:
22
22
  type: boolean
23
23
  /teams/{id}:
@@ -36,7 +36,7 @@
36
36
  content:
37
37
  application/json:
38
38
  schema:
39
- $ref: "#/components/schemas/Team::Attributes"
39
+ $ref: "#/components/schemas/TeamAttributes"
40
40
  put:
41
41
  tags:
42
42
  - Teams
@@ -52,4 +52,4 @@
52
52
  content:
53
53
  application/json:
54
54
  schema:
55
- $ref: "#/components/schemas/Team::Parameters"
55
+ $ref: "#/components/schemas/TeamParameters"
@@ -17,7 +17,7 @@
17
17
  data:
18
18
  type: array
19
19
  items:
20
- $ref: "#/components/schemas/User::Attributes"
20
+ $ref: "#/components/schemas/UserAttributes"
21
21
  has_more:
22
22
  type: boolean
23
23
  /users/{id}:
@@ -36,7 +36,7 @@
36
36
  content:
37
37
  application/json:
38
38
  schema:
39
- $ref: "#/components/schemas/User::Attributes"
39
+ $ref: "#/components/schemas/UserAttributes"
40
40
  put:
41
41
  tags:
42
42
  - Users
@@ -52,4 +52,4 @@
52
52
  content:
53
53
  application/json:
54
54
  schema:
55
- $ref: "#/components/schemas/User::Parameters"
55
+ $ref: "#/components/schemas/UserParameters"
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Api
3
- VERSION = "1.1.9"
3
+ VERSION = "1.1.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver