diff --git a/defaults/main.yml b/defaults/main.yml index 40d6c45..dfc4560 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -50,6 +50,7 @@ threescale_cicd_openapi_smoketest_operation: '{{ threescale_cicd_openapi_file_co ## ## OpenAPI Specification File parsing ## +threescale_cicd_api_basepath: '{{ threescale_cicd_openapi_file_content.basePath|default("") }}' threescale_cicd_api_base_system_name: '{{ lookup(''template'', ''openapi/generate_base_system_name.j2'') }}' threescale_cicd_api_system_name: '{{ lookup(''template'', ''openapi/generate_final_system_name.j2'') }}' threescale_cicd_private_base_url: '{{ lookup(''template'', ''openapi/private_base_url.j2'') }}' diff --git a/vars/main.yml b/vars/main.yml index b116f88..ca38c7b 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -24,7 +24,6 @@ threescale_cicd_api_default_name: '{{ threescale_cicd_openapi_file_content.info. threescale_cicd_api_name: '{{ lookup(''template'', ''openapi/service_name.j2'') }}' threescale_cicd_api_description: '{{ threescale_cicd_openapi_file_content.info.description|default("") }}' threescale_cicd_api_version: '{{ threescale_cicd_openapi_file_content.info.version|default("0.0.1") }}' -threescale_cicd_api_basepath: '{{ threescale_cicd_openapi_file_content.basePath|default("") }}' threescale_cicd_api_operations: '{{ lookup(''template'', ''openapi/openapi_operations.j2'') }}' threescale_cicd_api_version_components: '{{ threescale_cicd_api_version.split(".") }}' threescale_cicd_api_version_major: '{{ threescale_cicd_api_version_components|first }}'