Skip to content
Snippets Groups Projects
Commit ca4062e2 authored by Marco Holz's avatar Marco Holz
Browse files

Configurable allowAuthentication per API

parent e31d0e0a
No related branches found
No related tags found
1 merge request!178Hide RapiDoc authentication section for Routing API
...@@ -5,4 +5,4 @@ hide_table_of_contents: true ...@@ -5,4 +5,4 @@ hide_table_of_contents: true
import ApiSpec from '@views/ApiSpec' 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"} />
...@@ -50,7 +50,7 @@ export default function ApiSpec(props) { ...@@ -50,7 +50,7 @@ export default function ApiSpec(props) {
show-header="false" show-header="false"
show-components="false" show-components="false"
allow-spec-file-load="false" allow-spec-file-load="false"
allow-authentication="false" allow-authentication={props.allowAuthentication || "true"}
info-description-headings-in-navbar="false" info-description-headings-in-navbar="false"
allow-try="false" allow-try="false"
primary-color="#11171a" primary-color="#11171a"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment