diff --git a/scripts/docs/doc-terraform-template b/scripts/docs/doc-terraform-template index 64506c740..0e26e517a 160000 --- a/scripts/docs/doc-terraform-template +++ b/scripts/docs/doc-terraform-template @@ -1 +1 @@ -Subproject commit 64506c740fc70006cbbdab11b4373f98e684836a +Subproject commit 0e26e517aef011ed2003532b02dbadf8c9a9dbf3 diff --git a/scripts/docs/requirements.txt b/scripts/docs/requirements.txt index 67b72c113..e7b0e0137 100644 --- a/scripts/docs/requirements.txt +++ b/scripts/docs/requirements.txt @@ -1,4 +1,4 @@ -prance +prance==0.22.11.4.0 pyyaml -openapi-spec-validator==0.4 +openapi-spec-validator==0.6 osc-openapi-framework \ No newline at end of file diff --git a/scripts/generate-doc.sh b/scripts/generate-doc.sh index 6ce8fc962..7d6396118 100755 --- a/scripts/generate-doc.sh +++ b/scripts/generate-doc.sh @@ -12,9 +12,9 @@ pip3 install -r "${docs_dir}/requirements.txt" 1>"${docs_dir}/generation_log.txt && python3 "${docs_dir}/generate_doc_terraform.py" \ --new_format \ --provider_directory "${project_root}/outscale/" \ - --api "${docs_dir}/doc-terraform-template/osc-api/outscale.yaml" \ + --api "${docs_dir}/doc-terraform-template/osc-api-deploy/outscale.yaml" \ --output_directory "$output_dir" \ - --template_directory "${docs_dir}/doc-terraform-template/" 1>"${docs_dir}/generation_log.txt" 2>&1 + --template_directory "${docs_dir}/doc-terraform-template/" 1>>"${docs_dir}/generation_log.txt" 2>&1 RES=$? deactivate