From 41821db04480c690699e4c9434db22d5a869614b Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 14 Aug 2026 07:29:32 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...1443b77b76ff0a9e72d6f4050c364041d317e.json | 68 +++++++++++++++++++ index.json | 3 +- otezvikentiy.json-rpc-api.5.0.json | 68 +++++++++++++++++++ 4 files changed, 139 insertions(+), 2 deletions(-) create mode 100644 archived/otezvikentiy.json-rpc-api/7991443b77b76ff0a9e72d6f4050c364041d317e.json create mode 100644 otezvikentiy.json-rpc-api.5.0.json diff --git a/RECIPES.md b/RECIPES.md index d87a6508..b76ecdc8 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -502,7 +502,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [oskarstark/no-floc-listener](https://packagist.org/packages/oskarstark/no-floc-listener) | [0.1](../../../tree/main/oskarstark/no-floc-listener/0.1) | | [oskarstark/readable-filesize-extension](https://packagist.org/packages/oskarstark/readable-filesize-extension) | [0.1](../../../tree/main/oskarstark/readable-filesize-extension/0.1) | | [oskarstark/symfony-http-responder](https://packagist.org/packages/oskarstark/symfony-http-responder) | [0.1](../../../tree/main/oskarstark/symfony-http-responder/0.1) | -| [otezvikentiy/json-rpc-api](https://packagist.org/packages/otezvikentiy/json-rpc-api) | [1.7](../../../tree/main/otezvikentiy/json-rpc-api/1.7) | +| [otezvikentiy/json-rpc-api](https://packagist.org/packages/otezvikentiy/json-rpc-api) | [5.0](../../../tree/main/otezvikentiy/json-rpc-api/5.0) | | [otobul/epaybg-bundle](https://packagist.org/packages/otobul/epaybg-bundle) | [1.0](../../../tree/main/otobul/epaybg-bundle/1.0) | | [outcomer/symfony-json-schema-validation](https://packagist.org/packages/outcomer/symfony-json-schema-validation) | [1.0](../../../tree/main/outcomer/symfony-json-schema-validation/1.0) | | [overblog/graphiql-bundle](https://packagist.org/packages/overblog/graphiql-bundle) | [0.1](../../../tree/main/overblog/graphiql-bundle/0.1) | diff --git a/archived/otezvikentiy.json-rpc-api/7991443b77b76ff0a9e72d6f4050c364041d317e.json b/archived/otezvikentiy.json-rpc-api/7991443b77b76ff0a9e72d6f4050c364041d317e.json new file mode 100644 index 00000000..d421fc8c --- /dev/null +++ b/archived/otezvikentiy.json-rpc-api/7991443b77b76ff0a9e72d6f4050c364041d317e.json @@ -0,0 +1,68 @@ +{ + "manifests": { + "otezvikentiy/json-rpc-api": { + "manifest": { + "bundles": { + "OV\\JsonRPCAPIBundle\\OVJsonRPCAPIBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "composer-scripts": { + "cache:clear": "symfony-cmd" + }, + "env": { + "OV_JSON_RPC_API_SWAGGER_PATH": "%PUBLIC_DIR%/openapi/", + "OV_JSON_RPC_API_BASE_URL": "http://localhost", + "OV_JSON_RPC_API_TEST_URL": "http://localhost", + "OV_JSON_RPC_API_AUTH_TOKEN": "" + } + }, + "files": { + "config/packages/ov_json_rpc_api.yaml": { + "contents": [ + "ov_json_rpc_api:", + " # CORS whitelist. Empty by default: cross-origin browser requests receive", + " # no Access-Control-Allow-Origin header until you list your origins here.", + " # Use ['*'] only if the API is deliberately public.", + " # access_control_allow_origin_list:", + " # - 'https://app.example.com'", + "", + " swagger:", + " api_v1:", + " api_version: '1'", + " base_path: '%env(string:OV_JSON_RPC_API_BASE_URL)%'", + " base_path_description: 'Production server'", + " test_path: '%env(string:OV_JSON_RPC_API_TEST_URL)%'", + " test_path_description: 'Sandbox server'", + " auth_token_name: 'X-AUTH-TOKEN'", + " auth_token_test_value: '%env(string:OV_JSON_RPC_API_AUTH_TOKEN)%' # set blank for prod environment", + " info:", + " title: 'My API'", + " description: 'JSON-RPC 2.0 API'", + " terms_of_service_url: 'https://example.com/tos'", + " contact:", + " name: 'Support'", + " url: 'https://example.com'", + " email: 'support@example.com'", + " license: 'MIT'", + " licenseUrl: 'https://opensource.org/licenses/MIT'", + "" + ], + "executable": false + }, + "config/routes/ov_json_rpc_api.yaml": { + "contents": [ + "ov_json_rpc_api:", + " resource: '@OVJsonRPCAPIBundle/config/routes/routes.yaml'", + "" + ], + "executable": false + } + }, + "ref": "7991443b77b76ff0a9e72d6f4050c364041d317e" + } + } +} diff --git a/index.json b/index.json index ad7625fa..5c424b64 100644 --- a/index.json +++ b/index.json @@ -1599,7 +1599,8 @@ "0.1" ], "otezvikentiy/json-rpc-api": [ - "1.7" + "1.7", + "5.0" ], "otobul/epaybg-bundle": [ "1.0" diff --git a/otezvikentiy.json-rpc-api.5.0.json b/otezvikentiy.json-rpc-api.5.0.json new file mode 100644 index 00000000..d421fc8c --- /dev/null +++ b/otezvikentiy.json-rpc-api.5.0.json @@ -0,0 +1,68 @@ +{ + "manifests": { + "otezvikentiy/json-rpc-api": { + "manifest": { + "bundles": { + "OV\\JsonRPCAPIBundle\\OVJsonRPCAPIBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "composer-scripts": { + "cache:clear": "symfony-cmd" + }, + "env": { + "OV_JSON_RPC_API_SWAGGER_PATH": "%PUBLIC_DIR%/openapi/", + "OV_JSON_RPC_API_BASE_URL": "http://localhost", + "OV_JSON_RPC_API_TEST_URL": "http://localhost", + "OV_JSON_RPC_API_AUTH_TOKEN": "" + } + }, + "files": { + "config/packages/ov_json_rpc_api.yaml": { + "contents": [ + "ov_json_rpc_api:", + " # CORS whitelist. Empty by default: cross-origin browser requests receive", + " # no Access-Control-Allow-Origin header until you list your origins here.", + " # Use ['*'] only if the API is deliberately public.", + " # access_control_allow_origin_list:", + " # - 'https://app.example.com'", + "", + " swagger:", + " api_v1:", + " api_version: '1'", + " base_path: '%env(string:OV_JSON_RPC_API_BASE_URL)%'", + " base_path_description: 'Production server'", + " test_path: '%env(string:OV_JSON_RPC_API_TEST_URL)%'", + " test_path_description: 'Sandbox server'", + " auth_token_name: 'X-AUTH-TOKEN'", + " auth_token_test_value: '%env(string:OV_JSON_RPC_API_AUTH_TOKEN)%' # set blank for prod environment", + " info:", + " title: 'My API'", + " description: 'JSON-RPC 2.0 API'", + " terms_of_service_url: 'https://example.com/tos'", + " contact:", + " name: 'Support'", + " url: 'https://example.com'", + " email: 'support@example.com'", + " license: 'MIT'", + " licenseUrl: 'https://opensource.org/licenses/MIT'", + "" + ], + "executable": false + }, + "config/routes/ov_json_rpc_api.yaml": { + "contents": [ + "ov_json_rpc_api:", + " resource: '@OVJsonRPCAPIBundle/config/routes/routes.yaml'", + "" + ], + "executable": false + } + }, + "ref": "7991443b77b76ff0a9e72d6f4050c364041d317e" + } + } +}