Files
growstuff/app/controllers/api/docs_controller.rb
T

11 lines
215 B
Ruby

# frozen_string_literal: true
module Api
# The API's own description, for Swagger UI at /api-docs.
class DocsController < ActionController::API
def show
render json: ApiDocs.openapi
end
end
end