mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-24 23:06:41 +00:00
13 lines
241 B
Ruby
13 lines
241 B
Ruby
SwaggerRails.configure do |c|
|
|
|
|
# Define the swagger documents you'd like to expose and provide global metadata
|
|
c.swagger_doc 'v1/swagger.json' do
|
|
{
|
|
info: {
|
|
title: 'API V1',
|
|
version: 'v1'
|
|
}
|
|
}
|
|
end
|
|
end
|