OpenApiSpex schema - are there any naming conventions on handling show and index routes? - Questions - Elixir Programming Language Forum
Hi all, I was wondering if there is any naming convention on handling show and index routes. Would they just fall under Request and Response? If i have a show route for getting a car by id would it be something like show naming: defmodule CarRequest do require OpenApiSpex alias OpenApiSpex.Schema OpenApiSpex.schema(%{ title: "CarRequest", description: "Gets a single car by id.", type: :object, required: [:id], properties: %{ id: %Schema{type: :integer, ex...