swagger api docs

This commit is contained in:
2026-07-28 13:10:13 +02:00
parent ae9f376b9c
commit 397f828315
9 changed files with 153 additions and 7 deletions
+2
View File
@@ -11,4 +11,6 @@ Apipie.configure do |config|
config.translate = false
config.default_version = "1.0"
config.app_info = "Teletype Games retro game library API"
config.swagger_content_type_input = :json
config.swagger_json_input_uses_refs = true
end
+1
View File
@@ -4,6 +4,7 @@ Rails.application.routes.draw do
ActiveAdmin.routes(self)
namespace :api do
get "swagger", to: "swagger#index"
get "software", to: "software#index"
get "software/highlighted", to: "software_highlighted#index"
get "events", to: "events#index"