mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
14 lines
276 B
Ruby
14 lines
276 B
Ruby
SwaggerRails.configure do |c|
|
|
|
|
# Define your swagger documents and provide global metadata
|
|
# Describe actual operations in your spec/test files
|
|
c.swagger_doc 'v1/swagger.json' do
|
|
{
|
|
info: {
|
|
title: 'API V1',
|
|
version: 'v1'
|
|
}
|
|
}
|
|
end
|
|
end
|