2016-02-22 19:42:47 +01:00
|
|
|
Apipie.configure do |config|
|
2018-02-28 16:01:20 +01:00
|
|
|
config.app_name = "API demarches-simplifiees.fr"
|
2016-02-22 19:42:47 +01:00
|
|
|
config.api_base_url = "/api/v1"
|
|
|
|
config.doc_base_url = "/docs"
|
2018-03-06 13:44:29 +01:00
|
|
|
config.api_controllers_matcher = Rails.root.join("app", "controllers"," api", "v1", "**", "*.rb")
|
2016-02-22 19:42:47 +01:00
|
|
|
config.markup = Apipie::Markup::Markdown.new
|
|
|
|
config.default_version = '1.0'
|
|
|
|
config.validate = false
|
|
|
|
config.namespaced_resources = true
|
|
|
|
config.show_all_examples = true
|
|
|
|
|
2018-02-08 15:41:52 +01:00
|
|
|
config.languages = ['fr']
|
|
|
|
config.default_locale = 'fr'
|
|
|
|
|
2018-01-15 19:09:08 +01:00
|
|
|
config.app_info = <<~EOS
|
|
|
|
Description
|
2016-02-22 19:42:47 +01:00
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|