mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-11-01 10:49:12 -05:00
11 lines
215 B
Ruby
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
|