diff --git a/docs/apis/routing-api.mdx b/docs/apis/routing-api.mdx index cb9d5fb7ddadd9661f7988c7b73c121991e0989f..5537aad0c3d0566854148ab972eac4cf3c2fe782 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} allowAuthentication={"false"} /> +<ApiSpec gitlabProjectId={"44"} path={"routing-api"} artifact={"routing-api.yaml"} version={"*"} includePrerelease={true} allowAuthentication={"false"} allowTry={true} /> diff --git a/src/views/ApiSpec.js b/src/views/ApiSpec.js index 35759dc71736a930058bd0d66860de4026376b47..cb3acbff39e750f3a40436fddf24bced0eba5ed8 100644 --- a/src/views/ApiSpec.js +++ b/src/views/ApiSpec.js @@ -52,7 +52,7 @@ export default function ApiSpec(props) { allow-spec-file-load="false" allow-authentication={props.allowAuthentication || "true"} info-description-headings-in-navbar="false" - allow-try="false" + allow-try={props.allowTry || "false"} primary-color="#11171a" allow-server-selection="false" server-url=""