bullet_train-super_scaffolding 1.1.2 → 1.1.3

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
  SHA256:
3
- metadata.gz: ae705c580fe51003c77cefdf8a2f6e12357e873c5c5388922a417a0ccfd146eb
4
- data.tar.gz: 487c57f917e9d82b4c2f565b3d11c3843c7f503070dfc61b0aaadfd4207623dd
3
+ metadata.gz: b42368a9e53db912df4098e089a0315dcb579ca68ed88cde1cbeaaea8e34f680
4
+ data.tar.gz: b88b8ce935cee1a0df347de0d3138c9206636199a52471f873faecb280386d9b
5
5
  SHA512:
6
- metadata.gz: 2e7832d013870c2afeb5eab6da9e1dabe035b3e0f12d648e58f113e28893fdd41b3e3e0b1e10c1e5476a50dfac540952b29aab12f86386c110d21c0f29c66d39
7
- data.tar.gz: d54ee3b038292d838e153f51b89b7e0e4fca59f4d346ed154be935de373bebda96ae575ad92ddb5ede7d219b1b6a03c5be773016d7d0b0e4e668521eafde5e72
6
+ metadata.gz: ee1ac7ec5aa2a9a9c7914070b2753c54bc418caad6d858bdd994a33ff7cef1949e0366471805eddb7a0f89b5938d0a882c95171768358a3cd5b6500766499e82
7
+ data.tar.gz: 561c3c95e9447036a16b83652b06122e997af598e9c98d46d5ed7d1c2286e5d9b518462cc7b8ba76c8b3438d7ad870ee92584839fc7d6af39ecccc0900d0e5f8
@@ -0,0 +1,29 @@
1
+ openapi: 3.1.0
2
+ info:
3
+ title: Bullet Train API
4
+ description: |
5
+ The baseline API of a new Bullet Train application.
6
+ license:
7
+ name: MIT
8
+ url: https://opensource.org/licenses/MIT
9
+ version: "<%= @version.upcase %>"
10
+ servers:
11
+ - url: <%= ENV["BASE_URL"] %>/api/<%= @version %>
12
+ components:
13
+ schemas:
14
+ <%= components_for Team %>
15
+ <%= components_for User %>
16
+ <%= components_for Scaffolding::CompletelyConcrete::TangibleThing unless scaffolding_things_disabled? %>
17
+ <%# 🚅 super scaffolding will insert new components above this line. %>
18
+ parameters:
19
+ id:
20
+ name: id
21
+ in: path
22
+ required: true
23
+ schema:
24
+ type: string
25
+ paths:
26
+ <%= paths_for Team %>
27
+ <%= paths_for User %>
28
+ <%= paths_for Scaffolding::CompletelyConcrete::TangibleThing unless scaffolding_things_disabled? %>
29
+ <%# 🚅 super scaffolding will insert new paths above this line. %>
@@ -0,0 +1,32 @@
1
+ Scaffolding::CompletelyConcrete::TangibleThing::Attributes:
2
+ type: object
3
+ properties:
4
+ <%= attribute :id %>
5
+ <%= attribute :absolutely_abstract_creative_concept_id %>
6
+ <%# 🚅 skip this section when scaffolding. %>
7
+ <%= attribute :text_field_value %>
8
+ <%= attribute :button_value %>
9
+ <%= attribute :boolean_button_value %>
10
+ <%= attribute :cloudinary_image_value %>
11
+ <%= attribute :date_field_value %>
12
+ <%= attribute :email_field_value %>
13
+ <%= attribute :file_field_value %>
14
+ <%= attribute :password_field_value %>
15
+ <%= attribute :phone_field_value %>
16
+ <%= attribute :option_value %>
17
+ <%= attribute :multiple_option_values %>
18
+ <%= attribute :super_select_value %>
19
+ <%= attribute :text_area_value %>
20
+ <%= attribute :action_text_value %>
21
+ <%# 🚅 stop any skipping we're doing now. %>
22
+ <%# 🚅 super scaffolding will insert new attributes above this line. %>
23
+ <%= attribute :created_at %>
24
+ <%= attribute :updated_at %>
25
+
26
+ Scaffolding::CompletelyConcrete::TangibleThing::Parameters:
27
+ type: object
28
+ properties:
29
+ <%# 🚅 skip this section when scaffolding. %>
30
+ <%= parameter :text_field_value %>
31
+ <%# 🚅 stop any skipping we're doing now. %>
32
+ <%# 🚅 super scaffolding will insert new parameter above this line. %>
@@ -0,0 +1,55 @@
1
+ /scaffolding/completely_concrete/tangible_things:
2
+ get:
3
+ tags:
4
+ - Scaffolding Completely Concrete Tangible Things
5
+ summary: "List Tangible Things"
6
+ operationId: listScaffoldingCompletelyConcreteTangibleThings
7
+ responses:
8
+ "404":
9
+ description: "Not Found"
10
+ "200":
11
+ description: "OK"
12
+ content:
13
+ application/json:
14
+ schema:
15
+ type: object
16
+ properties:
17
+ data:
18
+ type: array
19
+ items:
20
+ $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Attributes"
21
+ has_more:
22
+ type: boolean
23
+ /scaffolding/completely_concrete/tangible_things/{id}:
24
+ get:
25
+ tags:
26
+ - Scaffolding Completely Concrete Tangible Things
27
+ summary: "Fetch Tangible Thing"
28
+ operationId: getScaffoldingCompletelyConcreteTangibleThings
29
+ parameters:
30
+ - $ref: "#/components/parameters/id"
31
+ responses:
32
+ "404":
33
+ description: "Not Found"
34
+ "200":
35
+ description: "OK"
36
+ content:
37
+ application/json:
38
+ schema:
39
+ $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Attributes"
40
+ put:
41
+ tags:
42
+ - Scaffolding Completely Concrete Tangible Things
43
+ summary: "Update Tangible Thing"
44
+ operationId: updateScaffoldingCompletelyConcreteTangibleThings
45
+ parameters:
46
+ - $ref: "#/components/parameters/id"
47
+ responses:
48
+ "404":
49
+ description: "Not Found"
50
+ "200":
51
+ description: "OK"
52
+ content:
53
+ application/json:
54
+ schema:
55
+ $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Parameters"
data/config/routes.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
  # See `config/routes.rb` for details.
3
- collection_actions = [:index, :new, :create] # standard:disable Lint/UselessAssignment
3
+ collection_actions = [:index, :new, :create]
4
4
  extending = {only: []}
5
5
 
6
6
  namespace :api do
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -128,6 +128,9 @@ files:
128
128
  - app/views/account/scaffolding/completely_concrete/tangible_things/index.html.erb
129
129
  - app/views/account/scaffolding/completely_concrete/tangible_things/new.html.erb
130
130
  - app/views/account/scaffolding/completely_concrete/tangible_things/show.html.erb
131
+ - app/views/api/v1/open_api/index.yaml.erb
132
+ - app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_components.yaml.erb
133
+ - app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_paths.yaml.erb
131
134
  - app/views/api/v1/scaffolding/completely_concrete/tangible_things/_tangible_thing.json.jbuilder
132
135
  - app/views/api/v1/scaffolding/completely_concrete/tangible_things/index.json.jbuilder
133
136
  - app/views/api/v1/scaffolding/completely_concrete/tangible_things/show.json.jbuilder