Add yaml support (#7)

This commit is contained in:
Rutger Gelling
2020-01-28 02:24:27 +01:00
committed by jdanielian
parent 79304a1bc1
commit f331e064fd
11 changed files with 126 additions and 13 deletions

View File

@@ -32,4 +32,10 @@ RSpec.configure do |config|
]
}
}
# Specify the format of the output Swagger file when running 'rswag:specs:swaggerize'.
# The swagger_docs configuration option has the filename including format in
# the key, this may want to be changed to avoid putting yaml in json files.
# Defaults to json. Accepts ':json' and ':yaml'.
config.swagger_format = :yaml
end