mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-31 10:29:47 +03:00
DOP-3625: Resource Version pill (#35)
This commit is contained in:
parent
b38ccda31c
commit
a15a16cc00
|
@ -13,11 +13,13 @@ import {
|
|||
InfoSpan,
|
||||
InfoSpanBox,
|
||||
InfoSpanBoxWrap,
|
||||
ResourceVersionPill,
|
||||
} from './styled.elements';
|
||||
import { l } from '../../services/Labels';
|
||||
|
||||
export interface ApiInfoProps {
|
||||
store: AppStore;
|
||||
resourceVersion?: string;
|
||||
}
|
||||
|
||||
@observer
|
||||
|
@ -29,7 +31,7 @@ export class ApiInfo extends React.Component<ApiInfoProps> {
|
|||
};
|
||||
|
||||
render() {
|
||||
const { store } = this.props;
|
||||
const { store, resourceVersion } = this.props;
|
||||
const { info, externalDocs } = store.spec;
|
||||
const hideDownloadButton = store.options.hideDownloadButton;
|
||||
|
||||
|
@ -83,6 +85,9 @@ export class ApiInfo extends React.Component<ApiInfoProps> {
|
|||
<ApiHeader>
|
||||
{info.title} {version}
|
||||
</ApiHeader>
|
||||
{resourceVersion && (
|
||||
<ResourceVersionPill>Resource Version {resourceVersion}</ResourceVersionPill>
|
||||
)}
|
||||
{!hideDownloadButton && (
|
||||
<p>
|
||||
{l('downloadSpecification')}:
|
||||
|
|
|
@ -18,6 +18,13 @@ export const ApiHeader = styled(H1)`
|
|||
${extensionsHook('ApiHeader')};
|
||||
`;
|
||||
|
||||
export const ResourceVersionPill = styled.p`
|
||||
width: fit-content;
|
||||
padding: 1px 10px;
|
||||
background-color: ${palette.gray.light2};
|
||||
border-radius: 0.5rem;
|
||||
`;
|
||||
|
||||
export const DownloadButton = styled.a`
|
||||
border: 1px solid ${props => props.theme.colors.primary.main};
|
||||
color: ${props => props.theme.colors.primary.main};
|
||||
|
|
|
@ -77,7 +77,10 @@ export class Redoc extends React.Component<RedocProps> {
|
|||
<SideMenu menu={menu} />
|
||||
</StickyResponsiveSidebar>
|
||||
<ApiContentWrap className="api-content">
|
||||
<ApiInfo store={store} />
|
||||
<ApiInfo
|
||||
store={store}
|
||||
resourceVersion={options.versionData?.active?.resourceVersion}
|
||||
/>
|
||||
<ContentItems items={menu.items as any} />
|
||||
</ApiContentWrap>
|
||||
<BackgroundStub />
|
||||
|
|
|
@ -3,21 +3,21 @@
|
|||
exports[`SecurityRequirement should render SecurityDefs 1`] = `
|
||||
"<div id=\\"section/Authentication/petstore_auth\\" data-section-id=\\"section/Authentication/petstore_auth\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">petstore_auth</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>Get access to data while protecting your account credentials.
|
||||
OAuth2 is also a safer and more secure way to give you access.</p>
|
||||
</div><div class=\\"sc-fmdNqN cnyDuQ\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Security Scheme Type: </b><span>OAuth2</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Flow type: </b><code>implicit </code></div><div class=\\"sc-eEVmNe bxoLPE\\"><strong> Authorization URL: </strong><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"http://petstore.swagger.io/api/oauth/dialog\\">http://petstore.swagger.io/api/oauth/dialog</a></code></div><div class=\\"sc-eEVmNe bxoLPE\\"><b> Scopes: </b></div><div class=\\"sc-ljsmAU bJFLur container\\" style=\\"height: 4em;\\"><ul><li><code>write:pets</code> - <span class=\\"sc-carFqZ ksYCgr redoc-markdown\\"><p>modify pets in your account</p>
|
||||
</div><div class=\\"sc-ljsmAU kCMzRS\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Security Scheme Type: </b><span>OAuth2</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Flow type: </b><code>implicit </code></div><div class=\\"sc-fmdNqN cNzYCC\\"><strong> Authorization URL: </strong><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"http://petstore.swagger.io/api/oauth/dialog\\">http://petstore.swagger.io/api/oauth/dialog</a></code></div><div class=\\"sc-fmdNqN cNzYCC\\"><b> Scopes: </b></div><div class=\\"sc-jlZJtj iQWSJz container\\" style=\\"height: 4em;\\"><ul><li><code>write:pets</code> - <span class=\\"sc-carFqZ ksYCgr redoc-markdown\\"><p>modify pets in your account</p>
|
||||
</span></li><li><code>read:pets</code> - <span class=\\"sc-carFqZ ksYCgr redoc-markdown\\"><p>read your pets</p>
|
||||
</span></li></ul></div><div class=\\"sc-jlZJtj iMVTUT\\"></div></div></div></div></div></div><div id=\\"section/Authentication/GitLab_PersonalAccessToken\\" data-section-id=\\"section/Authentication/GitLab_PersonalAccessToken\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">GitLab_PersonalAccessToken</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab Personal Access Token description</p>
|
||||
</div><div class=\\"sc-fmdNqN cnyDuQ\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Security Scheme Type: </b><span>API Key</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Header parameter name: </b><code>PRIVATE-TOKEN</code></div></div></div></div></div></div><div id=\\"section/Authentication/GitLab_OpenIdConnect\\" data-section-id=\\"section/Authentication/GitLab_OpenIdConnect\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">GitLab_OpenIdConnect</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab OpenIdConnect description</p>
|
||||
</div><div class=\\"sc-fmdNqN cnyDuQ\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Security Scheme Type: </b><span>OpenID Connect</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Connect URL: </b><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"https://gitlab.com/.well-known/openid-configuration\\">https://gitlab.com/.well-known/openid-configuration</a></code></div></div></div></div></div></div><div id=\\"section/Authentication/basicAuth\\" data-section-id=\\"section/Authentication/basicAuth\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">basicAuth</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"></div><div class=\\"sc-fmdNqN cnyDuQ\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Security Scheme Type: </b><span>HTTP</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>HTTP Authorization Scheme: </b><code>basic</code></div><div class=\\"sc-eEVmNe bxoLPE\\"></div></div></div></div></div></div>"
|
||||
</span></li></ul></div><div class=\\"sc-dTSzeu fvFWSe\\"></div></div></div></div></div></div><div id=\\"section/Authentication/GitLab_PersonalAccessToken\\" data-section-id=\\"section/Authentication/GitLab_PersonalAccessToken\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">GitLab_PersonalAccessToken</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab Personal Access Token description</p>
|
||||
</div><div class=\\"sc-ljsmAU kCMzRS\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Security Scheme Type: </b><span>API Key</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Header parameter name: </b><code>PRIVATE-TOKEN</code></div></div></div></div></div></div><div id=\\"section/Authentication/GitLab_OpenIdConnect\\" data-section-id=\\"section/Authentication/GitLab_OpenIdConnect\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">GitLab_OpenIdConnect</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab OpenIdConnect description</p>
|
||||
</div><div class=\\"sc-ljsmAU kCMzRS\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Security Scheme Type: </b><span>OpenID Connect</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Connect URL: </b><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"https://gitlab.com/.well-known/openid-configuration\\">https://gitlab.com/.well-known/openid-configuration</a></code></div></div></div></div></div></div><div id=\\"section/Authentication/basicAuth\\" data-section-id=\\"section/Authentication/basicAuth\\" class=\\"sc-eCApnc gxBYnR\\"><div class=\\"sc-iCoGMd dglGZe\\"><div class=\\"sc-hKFxyN gXsFjB\\"><h2 class=\\"sc-pNWdM fyozOE\\">basicAuth</h2><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"></div><div class=\\"sc-ljsmAU kCMzRS\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Security Scheme Type: </b><span>HTTP</span></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>HTTP Authorization Scheme: </b><code>basic</code></div><div class=\\"sc-fmdNqN cNzYCC\\"></div></div></div></div></div></div>"
|
||||
`;
|
||||
|
||||
exports[`SecurityRequirement should render authDefinition 1`] = `"<div class=\\"sc-jXcxbT eIQnPl\\"><div class=\\"sc-bQCEYZ fJdnTx\\"><h5 class=\\"sc-iqAclL sc-EZqKI eONCmm hkfVgz\\">Authorizations:</h5><svg class=\\"sc-dIsUp iPqByX\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\" x=\\"0\\" xmlns=\\"http://www.w3.org/2000/svg\\" y=\\"0\\" aria-hidden=\\"true\\"><polygon points=\\"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 \\"></polygon></svg></div><div class=\\"sc-fXgAZx kYGOWw\\"><span class=\\"sc-jHcXXw dEdCGo\\">(<span class=\\"sc-dWBRfb gpnmXq\\">API Key: <i>GitLab_PersonalAccessToken</i></span><span class=\\"sc-dWBRfb gpnmXq\\">OpenID Connect: <i>GitLab_OpenIdConnect</i></span><span class=\\"sc-dWBRfb gpnmXq\\">HTTP: <i>basicAuth</i></span>) </span><span class=\\"sc-jHcXXw dEdCGo\\"><span class=\\"sc-dWBRfb gpnmXq\\">OAuth2: <i>petstore_auth</i></span></span></div></div>,"`;
|
||||
exports[`SecurityRequirement should render authDefinition 1`] = `"<div class=\\"sc-eEVmNe dwiaqG\\"><div class=\\"sc-fXgAZx RBhKN\\"><h5 class=\\"sc-iqAclL sc-jXcxbT eONCmm hAWJpw\\">Authorizations:</h5><svg class=\\"sc-dIsUp iPqByX\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\" x=\\"0\\" xmlns=\\"http://www.w3.org/2000/svg\\" y=\\"0\\" aria-hidden=\\"true\\"><polygon points=\\"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 \\"></polygon></svg></div><div class=\\"sc-EZqKI bMfBGW\\"><span class=\\"sc-bQCEYZ ghkDNY\\">(<span class=\\"sc-jHcXXw ikUcrb\\">API Key: <i>GitLab_PersonalAccessToken</i></span><span class=\\"sc-jHcXXw ikUcrb\\">OpenID Connect: <i>GitLab_OpenIdConnect</i></span><span class=\\"sc-jHcXXw ikUcrb\\">HTTP: <i>basicAuth</i></span>) </span><span class=\\"sc-bQCEYZ ghkDNY\\"><span class=\\"sc-jHcXXw ikUcrb\\">OAuth2: <i>petstore_auth</i></span></span></div></div>,"`;
|
||||
|
||||
exports[`SecurityRequirement should render authDefinition 2`] = `
|
||||
"<div class=\\"sc-jXcxbT bRpa-dx\\"><div class=\\"sc-bQCEYZ fJdnTx\\"><h5 class=\\"sc-iqAclL sc-EZqKI eONCmm hkfVgz\\">Authorizations:</h5><svg class=\\"sc-dIsUp fVWtGJ\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\" x=\\"0\\" xmlns=\\"http://www.w3.org/2000/svg\\" y=\\"0\\" aria-hidden=\\"true\\"><polygon points=\\"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 \\"></polygon></svg></div><div class=\\"sc-fXgAZx pXbyg\\"><span class=\\"sc-jHcXXw eUnbjy\\">(<span class=\\"sc-dWBRfb gpnmXq\\">API Key: <i>GitLab_PersonalAccessToken</i></span><span class=\\"sc-dWBRfb gpnmXq\\">OpenID Connect: <i>GitLab_OpenIdConnect</i></span><span class=\\"sc-dWBRfb gpnmXq\\">HTTP: <i>basicAuth</i></span>) </span><span class=\\"sc-jHcXXw eUnbjy\\"><span class=\\"sc-dWBRfb gpnmXq\\">OAuth2: <i>petstore_auth</i> (<code class=\\"sc-xGAEC jskJqr\\">write:pets</code><code class=\\"sc-xGAEC jskJqr\\">read:pets</code>) </span></span></div></div><div class=\\"sc-fmdNqN cnyDuQ\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> OAuth2: petstore_auth</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>Get access to data while protecting your account credentials.
|
||||
"<div class=\\"sc-eEVmNe figsdG\\"><div class=\\"sc-fXgAZx RBhKN\\"><h5 class=\\"sc-iqAclL sc-jXcxbT eONCmm hAWJpw\\">Authorizations:</h5><svg class=\\"sc-dIsUp fVWtGJ\\" version=\\"1.1\\" viewBox=\\"0 0 24 24\\" x=\\"0\\" xmlns=\\"http://www.w3.org/2000/svg\\" y=\\"0\\" aria-hidden=\\"true\\"><polygon points=\\"17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 \\"></polygon></svg></div><div class=\\"sc-EZqKI cytxLm\\"><span class=\\"sc-bQCEYZ gwnaLy\\">(<span class=\\"sc-jHcXXw ikUcrb\\">API Key: <i>GitLab_PersonalAccessToken</i></span><span class=\\"sc-jHcXXw ikUcrb\\">OpenID Connect: <i>GitLab_OpenIdConnect</i></span><span class=\\"sc-jHcXXw ikUcrb\\">HTTP: <i>basicAuth</i></span>) </span><span class=\\"sc-bQCEYZ gwnaLy\\"><span class=\\"sc-jHcXXw ikUcrb\\">OAuth2: <i>petstore_auth</i> (<code class=\\"sc-dWBRfb emFNyU\\">write:pets</code><code class=\\"sc-dWBRfb emFNyU\\">read:pets</code>) </span></span></div></div><div class=\\"sc-ljsmAU kCMzRS\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> OAuth2: petstore_auth</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>Get access to data while protecting your account credentials.
|
||||
OAuth2 is also a safer and more secure way to give you access.</p>
|
||||
</div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Flow type: </b><code>implicit </code></div><div class=\\"sc-eEVmNe bxoLPE\\"><strong> Authorization URL: </strong><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"http://petstore.swagger.io/api/oauth/dialog\\">http://petstore.swagger.io/api/oauth/dialog</a></code></div><div><b>Required scopes: </b><code>write:pets</code> <code>read:pets</code> </div><div class=\\"sc-eEVmNe bxoLPE\\"><b> Scopes: </b></div><div class=\\"sc-ljsmAU bJFLur container\\" style=\\"height: 4em;\\"><ul><li><code>write:pets</code> - <span class=\\"sc-carFqZ ksYCgr redoc-markdown\\"><p>modify pets in your account</p>
|
||||
</div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Flow type: </b><code>implicit </code></div><div class=\\"sc-fmdNqN cNzYCC\\"><strong> Authorization URL: </strong><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"http://petstore.swagger.io/api/oauth/dialog\\">http://petstore.swagger.io/api/oauth/dialog</a></code></div><div><b>Required scopes: </b><code>write:pets</code> <code>read:pets</code> </div><div class=\\"sc-fmdNqN cNzYCC\\"><b> Scopes: </b></div><div class=\\"sc-jlZJtj iQWSJz container\\" style=\\"height: 4em;\\"><ul><li><code>write:pets</code> - <span class=\\"sc-carFqZ ksYCgr redoc-markdown\\"><p>modify pets in your account</p>
|
||||
</span></li><li><code>read:pets</code> - <span class=\\"sc-carFqZ ksYCgr redoc-markdown\\"><p>read your pets</p>
|
||||
</span></li></ul></div><div class=\\"sc-jlZJtj iMVTUT\\"></div></div></div><div class=\\"sc-fmdNqN cnyDuQ\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> API Key: GitLab_PersonalAccessToken</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab Personal Access Token description</p>
|
||||
</div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Header parameter name: </b><code>PRIVATE-TOKEN</code></div></div></div><div class=\\"sc-fmdNqN cnyDuQ\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> OpenID Connect: GitLab_OpenIdConnect</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab OpenIdConnect description</p>
|
||||
</div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>Connect URL: </b><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"https://gitlab.com/.well-known/openid-configuration\\">https://gitlab.com/.well-known/openid-configuration</a></code></div></div></div><div class=\\"sc-fmdNqN cnyDuQ\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> HTTP: basicAuth</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-eEVmNe bxoLPE\\"><b>HTTP Authorization Scheme: </b><code>basic</code></div><div class=\\"sc-eEVmNe bxoLPE\\"></div></div></div>,"
|
||||
</span></li></ul></div><div class=\\"sc-dTSzeu fvFWSe\\"></div></div></div><div class=\\"sc-ljsmAU kCMzRS\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> API Key: GitLab_PersonalAccessToken</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab Personal Access Token description</p>
|
||||
</div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Header parameter name: </b><code>PRIVATE-TOKEN</code></div></div></div><div class=\\"sc-ljsmAU kCMzRS\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> OpenID Connect: GitLab_OpenIdConnect</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><p>GitLab OpenIdConnect description</p>
|
||||
</div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>Connect URL: </b><code><a target=\\"_blank\\" rel=\\"noopener noreferrer\\" href=\\"https://gitlab.com/.well-known/openid-configuration\\">https://gitlab.com/.well-known/openid-configuration</a></code></div></div></div><div class=\\"sc-ljsmAU kCMzRS\\"><h5><svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" width=\\"11\\" height=\\"11\\"><path fill=\\"currentColor\\" d=\\"M18 10V6A6 6 0 0 0 6 6v4H3v14h18V10h-3zM8 6c0-2.206 1.794-4 4-4s4 1.794 4 4v4H8V6zm11 16H5V12h14v10z\\"></path></svg> HTTP: basicAuth</h5><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"></div><div class=\\"sc-iJCRrE sc-ciSkZP dTVIxT iiThKm\\"><div class=\\"sc-fmdNqN cNzYCC\\"><b>HTTP Authorization Scheme: </b><code>basic</code></div><div class=\\"sc-fmdNqN cNzYCC\\"></div></div></div>,"
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user