Aigeruth/docker-private-registry

View on GitHub
api/doc.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'grape-swagger'

module DockerRegistry
  DEFAULT_SWAGGER_OPTIONS = {
    mount_path: 'doc',
    format: :json,
    markdown: GrapeSwagger::Markdown::RedcarpetAdapter.new(render_options: { highlighter: :rouge }),
    hide_format: true,
    hide_documentation_path: true
  }
end