From 37745d9604e6b878a6e4d08ed5ce4b148bfe8368 Mon Sep 17 00:00:00 2001 From: Dawid Spiechowicz Date: Thu, 16 Nov 2017 19:04:53 +0100 Subject: [PATCH 1/2] add spiechu bundle with default disabled configuration --- .../packages/spiechu_symfony_commons.yaml | 24 +++++++++++++++++++ .../symfony-commons-bundle/0.1/manifest.json | 8 +++++++ 2 files changed, 32 insertions(+) create mode 100644 spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml create mode 100644 spiechu/symfony-commons-bundle/0.1/manifest.json diff --git a/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml b/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml new file mode 100644 index 00000000..c8aabc5d --- /dev/null +++ b/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml @@ -0,0 +1,24 @@ +spiechu_symfony_commons: + get_method_override: + enabled: false + #listener_service_id: spiechu_symfony_commons.event_listener.get_method_override_listener + #query_param_name: _method + #allow_methods_override: + # Defaults: + #- DELETE + #- POST + #- PUT + response_schema_validation: + enabled: false + #throw_exception_when_format_not_found: true + #failed_schema_check_listener_service_id: spiechu_symfony_commons.event_listener.failed_schema_check_listener + #disable_json_check_schema_subscriber: false + #disable_xml_check_schema_subscriber: false + api_versioning: + enabled: false + #versioned_view_listener: false + #features: + # Prototype + #name: # non empty string + # since: null # null or numeric for eg. 1.0 + # until: null # null or numeric for eg. 1.1 diff --git a/spiechu/symfony-commons-bundle/0.1/manifest.json b/spiechu/symfony-commons-bundle/0.1/manifest.json new file mode 100644 index 00000000..b990816e --- /dev/null +++ b/spiechu/symfony-commons-bundle/0.1/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Spiechu\\SymfonyCommonsBundle\\SpiechuSymfonyCommonsBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%" + } +} From f27d732dfc93d8e420a051485ffd6c7ed15a4680 Mon Sep 17 00:00:00 2001 From: Dawid Spiechowicz Date: Sat, 18 Nov 2017 11:32:30 +0100 Subject: [PATCH 2/2] remove commented out configuration --- .../packages/spiechu_symfony_commons.yaml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml b/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml index c8aabc5d..efd67ac7 100644 --- a/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml +++ b/spiechu/symfony-commons-bundle/0.1/config/packages/spiechu_symfony_commons.yaml @@ -1,24 +1,9 @@ spiechu_symfony_commons: + # bundle configuration available at + # https://github.com/spiechu/symfony-commons-bundle/blob/master/README.md get_method_override: enabled: false - #listener_service_id: spiechu_symfony_commons.event_listener.get_method_override_listener - #query_param_name: _method - #allow_methods_override: - # Defaults: - #- DELETE - #- POST - #- PUT response_schema_validation: enabled: false - #throw_exception_when_format_not_found: true - #failed_schema_check_listener_service_id: spiechu_symfony_commons.event_listener.failed_schema_check_listener - #disable_json_check_schema_subscriber: false - #disable_xml_check_schema_subscriber: false api_versioning: enabled: false - #versioned_view_listener: false - #features: - # Prototype - #name: # non empty string - # since: null # null or numeric for eg. 1.0 - # until: null # null or numeric for eg. 1.1