bullet_train-api 1.6.25 → 1.6.26
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 +4 -4
- data/app/helpers/api/open_api_helper.rb +1 -1
- data/app/views/api/v1/open_api/invitations/_paths.yaml.erb +1 -0
- data/app/views/api/v1/open_api/shared/_paths.yaml.erb +10 -5
- data/app/views/api/v1/open_api/teams/_paths.yaml.erb +3 -0
- data/app/views/api/v1/open_api/users/_paths.yaml.erb +3 -0
- data/lib/bullet_train/api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 80f53bd14ce32fe54b5dde95fa14aa33fadbc9849f786a72b4ab714ad06a4c59
|
|
4
|
+
data.tar.gz: 40c98339cd1c7823b81d730101cc136e4cc2886857671ce3754732bb376bc566
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d7aa0e7721fabfcd492edcbaf4ea00455038ddd55d2bb4117404e90129a447c2f14cc137760d11d7bfb78103bc242bed5d2ac161babc8a94772a9e3045e7c62
|
|
7
|
+
data.tar.gz: a3c4a43aff5bdaf0b6d07f7c7575394b47113dbe14dac87564d47da0f2cda2d16a07b0a13369820d618005f649d048c76420f988734351d14523ea81c1104327
|
|
@@ -24,7 +24,7 @@ module Api
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def automatic_paths_for(model, parent, except: [])
|
|
27
|
-
output = render("api/#{@version}/open_api/shared/paths", except: except)
|
|
27
|
+
output = render("api/#{@version}/open_api/shared/paths", model_name: model.model_name.collection, except: except)
|
|
28
28
|
output = Scaffolding::Transformer.new(model.name, [parent&.name]).transform_string(output).html_safe
|
|
29
29
|
|
|
30
30
|
custom_actions_file_path = "api/#{@version}/open_api/#{model.model_name.collection}/paths"
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
get:
|
|
6
6
|
tags:
|
|
7
7
|
- Scaffolding::CompletelyConcrete::TangibleThing
|
|
8
|
-
summary: "List Tangible Things"
|
|
8
|
+
summary: <%= I18n.t("#{model_name}.api.paths.index.summary", default: "List Tangible Things") %>
|
|
9
|
+
description: <%= I18n.t("#{model_name}.api.paths.index.description", default: "List Tangible Things") %>
|
|
9
10
|
operationId: listScaffoldingCompletelyConcreteTangibleThings
|
|
10
11
|
parameters:
|
|
11
12
|
- name: absolutely_abstract_creative_concept_id
|
|
@@ -37,7 +38,8 @@
|
|
|
37
38
|
post:
|
|
38
39
|
tags:
|
|
39
40
|
- Scaffolding::CompletelyConcrete::TangibleThing
|
|
40
|
-
summary: "Create Tangible Thing"
|
|
41
|
+
summary: <%= I18n.t("#{model_name}.api.paths.create.summary", default: "Create Tangible Thing") %>
|
|
42
|
+
description: <%= I18n.t("#{model_name}.api.paths.create.description", default: "Create Tangible Thing") %>
|
|
41
43
|
operationId: createScaffoldingCompletelyConcreteTangibleThings
|
|
42
44
|
parameters:
|
|
43
45
|
- name: absolutely_abstract_creative_concept_id
|
|
@@ -77,7 +79,8 @@
|
|
|
77
79
|
get:
|
|
78
80
|
tags:
|
|
79
81
|
- Scaffolding::CompletelyConcrete::TangibleThing
|
|
80
|
-
summary: "Fetch Tangible Thing"
|
|
82
|
+
summary: <%= I18n.t("#{model_name}.api.paths.show.summary", default: "Fetch Tangible Thing") %>
|
|
83
|
+
description: <%= I18n.t("#{model_name}.api.paths.show.description", default: "Fetch Tangible Thing") %>
|
|
81
84
|
operationId: getScaffoldingCompletelyConcreteTangibleThings
|
|
82
85
|
parameters:
|
|
83
86
|
- $ref: "#/components/parameters/id"
|
|
@@ -97,7 +100,8 @@
|
|
|
97
100
|
put:
|
|
98
101
|
tags:
|
|
99
102
|
- Scaffolding::CompletelyConcrete::TangibleThing
|
|
100
|
-
summary: "Update Tangible Thing"
|
|
103
|
+
summary: <%= I18n.t("#{model_name}.api.paths.update.summary", default: "Update Tangible Thing") %>
|
|
104
|
+
description: <%= I18n.t("#{model_name}.api.paths.update.description", default: "Update Tangible Thing") %>
|
|
101
105
|
operationId: updateScaffoldingCompletelyConcreteTangibleThings
|
|
102
106
|
parameters:
|
|
103
107
|
- $ref: "#/components/parameters/id"
|
|
@@ -130,7 +134,8 @@
|
|
|
130
134
|
delete:
|
|
131
135
|
tags:
|
|
132
136
|
- Scaffolding::CompletelyConcrete::TangibleThing
|
|
133
|
-
summary: "
|
|
137
|
+
summary: <%= I18n.t("#{model_name}.api.paths.index.summary", default: "List Tangible Things") %>
|
|
138
|
+
description: <%= I18n.t("#{model_name}.api.paths.index.description", default: "List Tangible Things") %>
|
|
134
139
|
operationId: removeScaffoldingCompletelyConcreteTangibleThings
|
|
135
140
|
parameters:
|
|
136
141
|
- $ref: "#/components/parameters/id"
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
tags:
|
|
4
4
|
- Team
|
|
5
5
|
summary: "List Teams"
|
|
6
|
+
description: "List all Teams"
|
|
6
7
|
operationId: listTeams
|
|
7
8
|
parameters:
|
|
8
9
|
- $ref: "#/components/parameters/after"
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
tags:
|
|
31
32
|
- Team
|
|
32
33
|
summary: "Fetch Team"
|
|
34
|
+
description: "Fetch a single Team"
|
|
33
35
|
operationId: fetchTeam
|
|
34
36
|
parameters:
|
|
35
37
|
- $ref: "#/components/parameters/id"
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
tags:
|
|
49
51
|
- Team
|
|
50
52
|
summary: "Update Team"
|
|
53
|
+
description: "Update a single Team"
|
|
51
54
|
operationId: updateTeam
|
|
52
55
|
parameters:
|
|
53
56
|
- $ref: "#/components/parameters/id"
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
tags:
|
|
4
4
|
- User
|
|
5
5
|
summary: "List Users"
|
|
6
|
+
description: "List all Users"
|
|
6
7
|
operationId: listUsers
|
|
7
8
|
parameters:
|
|
8
9
|
- $ref: "#/components/parameters/after"
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
tags:
|
|
30
31
|
- User
|
|
31
32
|
summary: "Fetch User"
|
|
33
|
+
description: "Fetch a single User"
|
|
32
34
|
operationId: fetchUser
|
|
33
35
|
parameters:
|
|
34
36
|
- $ref: "#/components/parameters/id"
|
|
@@ -47,6 +49,7 @@
|
|
|
47
49
|
tags:
|
|
48
50
|
- User
|
|
49
51
|
summary: "Update User"
|
|
52
|
+
description: "Update a single User"
|
|
50
53
|
operationId: updateUser
|
|
51
54
|
parameters:
|
|
52
55
|
- $ref: "#/components/parameters/id"
|