From b18c2b121509cc27d02b3c0d101123994f12f803 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Wed, 17 May 2017 14:45:00 +0200 Subject: [PATCH 1/7] Add NelmioApiDocBundle recipe --- .../2.13/etc/packages/nelmio_api_doc_routing.yaml | 1 + .../2.13/etc/routing/nelmio_api_doc_routing.yaml | 3 +++ nelmio/api-doc-bundle/2.13/manifest.json | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 100644 nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc_routing.yaml create mode 100644 nelmio/api-doc-bundle/2.13/etc/routing/nelmio_api_doc_routing.yaml create mode 100644 nelmio/api-doc-bundle/2.13/manifest.json 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 new file mode 100644 index 00000000..0747d37a --- /dev/null +++ b/nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc_routing.yaml @@ -0,0 +1 @@ +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_routing.yaml new file mode 100644 index 00000000..58ebd413 --- /dev/null +++ b/nelmio/api-doc-bundle/2.13/etc/routing/nelmio_api_doc_routing.yaml @@ -0,0 +1,3 @@ +NelmioApiDocBundle: + resource: "@NelmioApiDocBundle/Resources/config/routing.yml" + prefix: /api/doc diff --git a/nelmio/api-doc-bundle/2.13/manifest.json b/nelmio/api-doc-bundle/2.13/manifest.json new file mode 100644 index 00000000..5bb38c3e --- /dev/null +++ b/nelmio/api-doc-bundle/2.13/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } +} From 8fc152882dcf12e9b766c462a15d17d69e7db121 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Wed, 17 May 2017 14:56:59 +0200 Subject: [PATCH 2/7] Fix indendation manifest --- nelmio/api-doc-bundle/2.13/manifest.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nelmio/api-doc-bundle/2.13/manifest.json b/nelmio/api-doc-bundle/2.13/manifest.json index 5bb38c3e..592eae4e 100644 --- a/nelmio/api-doc-bundle/2.13/manifest.json +++ b/nelmio/api-doc-bundle/2.13/manifest.json @@ -1,8 +1,8 @@ { - "bundles": { - "Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"] - }, - "copy-from-recipe": { - "etc/": "%ETC_DIR%/" - } + "bundles": { + "Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"] + }, + "copy-from-recipe": { + "etc/": "%ETC_DIR%/" + } } From c662564dd6073e91c2cfa88f0f50478c119841e6 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Wed, 17 May 2017 14:58:17 +0200 Subject: [PATCH 3/7] Fix indendation manifest bis --- nelmio/api-doc-bundle/2.13/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nelmio/api-doc-bundle/2.13/manifest.json b/nelmio/api-doc-bundle/2.13/manifest.json index 592eae4e..e2b2bf37 100644 --- a/nelmio/api-doc-bundle/2.13/manifest.json +++ b/nelmio/api-doc-bundle/2.13/manifest.json @@ -1,8 +1,8 @@ { "bundles": { - "Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"] + "Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"] }, "copy-from-recipe": { - "etc/": "%ETC_DIR%/" + "etc/": "%ETC_DIR%/" } } From 853054988bd6de2a13835898a0de38019c4ab028 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Wed, 17 May 2017 14:59:23 +0200 Subject: [PATCH 4/7] Fix indendation manifest --- nelmio/api-doc-bundle/2.13/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nelmio/api-doc-bundle/2.13/manifest.json b/nelmio/api-doc-bundle/2.13/manifest.json index e2b2bf37..7ac3390f 100644 --- a/nelmio/api-doc-bundle/2.13/manifest.json +++ b/nelmio/api-doc-bundle/2.13/manifest.json @@ -3,6 +3,6 @@ "Nelmio\\ApiDocBundle\\NelmioApiDocBundle": ["all"] }, "copy-from-recipe": { - "etc/": "%ETC_DIR%/" + "etc/": "%ETC_DIR%/" } } From c2c07d8e90c7070353b5c0819e8bb19bc9b34517 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Sun, 28 May 2017 17:43:47 +0200 Subject: [PATCH 5/7] 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 From a7f6fd9fbd4e95f831cf263570fd892369c0eda5 Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Sun, 25 Jun 2017 16:43:28 +0200 Subject: [PATCH 6/7] Fixed according to feedback --- .../2.13/etc/packages/nelmio_api_doc.yaml | 28 ------------------- 1 file changed, 28 deletions(-) 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 index 38d88590..7c64d537 100644 --- 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 @@ -1,5 +1,4 @@ nelmio_api_doc: ~ -# name: 'API documentation' # exclude_sections: [] # default_sections_opened: true # motd: @@ -7,33 +6,6 @@ nelmio_api_doc: ~ # 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' From 29094b47afb135b7604713fa608beab15b0891cb Mon Sep 17 00:00:00 2001 From: Michael COULLERET Date: Sun, 25 Jun 2017 17:47:16 +0200 Subject: [PATCH 7/7] Fixed according to feedback --- nelmio/api-doc-bundle/2.13/etc/packages/nelmio_api_doc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 7c64d537..4ee4142d 100644 --- 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 @@ -1,4 +1,4 @@ -nelmio_api_doc: ~ +#nelmio_api_doc: # exclude_sections: [] # default_sections_opened: true # motd: