From c2c07d8e90c7070353b5c0819e8bb19bc9b34517 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Sun, 28 May 2017 17:43:47 +0200 Subject: [PATCH] Fix according to feedback --- .../2.13/etc/packages/nelmio_api_doc.yaml | 50 +++++++++++++++++++ .../etc/packages/nelmio_api_doc_routing.yaml | 1 - ...i_doc_routing.yaml => nelmio_api_doc.yaml} | 0 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc.yaml delete mode 100644 nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc_routing.yaml rename nelmio/api-doc-bundle/2.13/etc/routing/{nelmio_api_doc_routing.yaml => nelmio_api_doc.yaml} (100%) diff --git a/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc.yaml b/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc.yaml new file mode 100644 index 00000000..38d88590 --- /dev/null +++ b/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc.yaml @@ -0,0 +1,50 @@ +nelmio_api_doc: ~ +# name: 'API documentation' +# exclude_sections: [] +# default_sections_opened: true +# motd: +# template: 'NelmioApiDocBundle::Components/motd.html.twig' +# request_listener: +# enabled: true +# parameter: _doc +# sandbox: +# enabled: true +# endpoint: null +# accept_type: null +# body_format: +# formats: +# +# # Defaults: +# - form +# - json +# default_format: ~ # One of "form"; "json" +# request_format: +# formats: +# +# # Defaults: +# json: application/json +# xml: application/xml +# method: ~ # One of "format_param"; "accept_header" +# default_format: json +# authentication: +# delivery: ~ # Required +# name: ~ # Required +# +# # Required if http delivery is selected. +# type: ~ # One of "basic"; "bearer" +# custom_endpoint: false +# entity_to_choice: true +# swagger: +# api_base_path: /api +# swagger_version: '1.2' +# api_version: '0.1' +# info: +# title: Symfony2 +# description: 'My awesome Symfony2 app!' +# TermsOfServiceUrl: null +# contact: null +# license: null +# licenseUrl: null +# cache: +# enabled: false +# file: '%kernel.cache_dir%/api-doc.cache' diff --git a/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc_routing.yaml b/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc_routing.yaml deleted file mode 100644 index 0747d37a..00000000 --- a/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc_routing.yaml +++ /dev/null @@ -1 +0,0 @@ -nelmio_api_doc: ~ diff --git a/nelmio/api-doc-bundle/2.13/etc/routing/nelmio_api_doc_routing.yaml b/nelmio/api-doc-bundle/2.13/etc/routing/nelmio_api_doc.yaml similarity index 100% rename from nelmio/api-doc-bundle/2.13/etc/routing/nelmio_api_doc_routing.yaml rename to nelmio/api-doc-bundle/2.13/etc/routing/nelmio_api_doc.yaml