<% except ||= [] %> <% unless except.include?(:index) && except.include?(:create) %> /scaffolding/absolutely_abstract/creative_concepts/{absolutely_abstract_creative_concept_id}/completely_concrete/tangible_things: <% unless except.include?(:index) %> get: tags: - Scaffolding::CompletelyConcrete::TangibleThing summary: <%= I18n.t("#{model_name}.api.paths.index.summary", default: "List Tangible Things") %> description: <%= I18n.t("#{model_name}.api.paths.index.description", default: "List Tangible Things") %> operationId: listScaffoldingCompletelyConcreteTangibleThings parameters: - name: absolutely_abstract_creative_concept_id in: path required: true schema: type: integer - $ref: "#/components/parameters/after" responses: "404": description: "Not Found" "200": description: "OK" headers: Pagination-Next: $ref: "#/components/headers/PaginationNext" Link: $ref: "#/components/headers/Link" content: application/json: schema: type: array items: $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes" example: 🚅 get_examples <% end %> <% unless except.include?(:create) %> post: tags: - Scaffolding::CompletelyConcrete::TangibleThing summary: <%= I18n.t("#{model_name}.api.paths.create.summary", default: "Create Tangible Thing") %> description: <%= I18n.t("#{model_name}.api.paths.create.description", default: "Create Tangible Thing") %> operationId: createScaffoldingCompletelyConcreteTangibleThings parameters: - name: absolutely_abstract_creative_concept_id in: path required: true schema: type: integer requestBody: description: "Information about a new Tangible Thing" required: true content: application/json: schema: type: object properties: scaffolding_completely_concrete_tangible_thing: type: object $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters" example: $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters/example" responses: "404": description: "Not Found" "201": description: "Created" content: application/json: schema: $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes" example: 🚅 post_example <% end %> <% end %> <% unless except.include?(:show) && except.include?(:update) && except.include?(:destroy) %> /scaffolding/completely_concrete/tangible_things/{id}: <% unless except.include?(:show) %> get: tags: - Scaffolding::CompletelyConcrete::TangibleThing summary: <%= I18n.t("#{model_name}.api.paths.show.summary", default: "Fetch Tangible Thing") %> description: <%= I18n.t("#{model_name}.api.paths.show.description", default: "Fetch Tangible Thing") %> operationId: getScaffoldingCompletelyConcreteTangibleThings parameters: - $ref: "#/components/parameters/id" responses: "404": description: "Not Found" "200": description: "OK" content: application/json: schema: $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes" example: 🚅 get_example <% end %> <% unless except.include?(:update) %> put: tags: - Scaffolding::CompletelyConcrete::TangibleThing summary: <%= I18n.t("#{model_name}.api.paths.update.summary", default: "Update Tangible Thing") %> description: <%= I18n.t("#{model_name}.api.paths.update.description", default: "Update Tangible Thing") %> operationId: updateScaffoldingCompletelyConcreteTangibleThings parameters: - $ref: "#/components/parameters/id" requestBody: description: "Information about updated fields in Tangible Thing" required: true content: application/json: schema: type: object properties: scaffolding_completely_concrete_tangible_thing: type: object $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParametersUpdate" example: $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParametersUpdate/example" responses: "404": description: "Not Found" "200": description: "OK" content: application/json: schema: $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes" example: 🚅 put_example <% end %> <% unless except.include?(:destroy) %> delete: tags: - Scaffolding::CompletelyConcrete::TangibleThing summary: <%= I18n.t("#{model_name}.api.paths.index.summary", default: "List Tangible Things") %> description: <%= I18n.t("#{model_name}.api.paths.index.description", default: "List Tangible Things") %> operationId: removeScaffoldingCompletelyConcreteTangibleThings parameters: - $ref: "#/components/parameters/id" responses: "404": description: "Not Found" "204": description: "No Content" <% end %> <% end %>