swagger api docs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user