diff --git a/docs/apis/routing-api.mdx b/docs/apis/routing-api.mdx index 85f6cabd766111b54eb05ac58686daa1742c3c37..cb9d5fb7ddadd9661f7988c7b73c121991e0989f 100644 --- a/docs/apis/routing-api.mdx +++ b/docs/apis/routing-api.mdx @@ -5,4 +5,4 @@ hide_table_of_contents: true import ApiSpec from '@views/ApiSpec' -<ApiSpec gitlabProjectId={"44"} path={"routing-api"} artifact={"routing-api.yaml"} version={"*"} includePrerelease={true} /> +<ApiSpec gitlabProjectId={"44"} path={"routing-api"} artifact={"routing-api.yaml"} version={"*"} includePrerelease={true} allowAuthentication={"false"} /> diff --git a/src/views/ApiSpec.js b/src/views/ApiSpec.js index 1a41aa6dfe05fc7fbe3eae60cb3504b8e9ec9339..ca33ae2d8f00974cae68a23ee25b1684b1aaca15 100644 --- a/src/views/ApiSpec.js +++ b/src/views/ApiSpec.js @@ -50,7 +50,7 @@ export default function ApiSpec(props) { show-header="false" show-components="false" allow-spec-file-load="false" - allow-authentication="false" + allow-authentication={props.allowAuthentication || "true"} info-description-headings-in-navbar="false" allow-try="false" primary-color="#11171a"