diff --git a/src/components/JsonViewer/JsonViewer.tsx b/src/components/JsonViewer/JsonViewer.tsx index 7e0238f7af..2f7bcf8daa 100644 --- a/src/components/JsonViewer/JsonViewer.tsx +++ b/src/components/JsonViewer/JsonViewer.tsx @@ -157,6 +157,9 @@ class Json extends React.PureComponent { } render() { + const { data } = this.props; + const showFoldingButtons = + data && Object.values(data).some(value => typeof value === 'object' && value !== null); return ( {({ renderCopyButton }) => ( @@ -164,8 +167,12 @@ class Json extends React.PureComponent { {!this.props.hideButtons && !this.props.error && ( {renderCopyButton()} - {} - {} + {showFoldingButtons && ( + <> + + + + )} )} <> diff --git a/src/components/SchemaDefinition/SchemaDefinition.tsx b/src/components/SchemaDefinition/SchemaDefinition.tsx index 3a44717bf5..9c2365d841 100644 --- a/src/components/SchemaDefinition/SchemaDefinition.tsx +++ b/src/components/SchemaDefinition/SchemaDefinition.tsx @@ -1,7 +1,8 @@ import * as React from 'react'; import { RightPanel, MiddlePanel, MimeLabel, Row, Section } from '../../common-elements'; -import { MediaTypeModel, OpenAPIParser, RedocNormalizedOptions } from '../../services'; +import { OpenAPIParser, RedocNormalizedOptions } from '../../services'; +import { MediaTypeModel } from '../../services/models'; import styled from '../../styled-components'; import { OpenAPIMediaType } from '../../types'; import { DropdownOrLabel } from '../DropdownOrLabel/DropdownOrLabel'; diff --git a/src/components/__tests__/Schema.test.tsx b/src/components/__tests__/Schema.test.tsx index 919e416fa4..67ee504cdd 100644 --- a/src/components/__tests__/Schema.test.tsx +++ b/src/components/__tests__/Schema.test.tsx @@ -4,7 +4,8 @@ import { shallow } from 'enzyme'; import * as React from 'react'; import { Schema } from '../'; -import { OpenAPIParser, SchemaModel } from '../../services'; +import { OpenAPIParser } from '../../services'; +import { SchemaModel } from '../../services/models'; import { RedocNormalizedOptions } from '../../services/RedocNormalizedOptions'; import { withTheme } from '../testProviders'; diff --git a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap index b9c2ecfc6a..ad2c0dda8e 100644 --- a/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/DiscriminatorDropdown.test.tsx.snap @@ -77,6 +77,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -205,6 +206,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -233,11 +243,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -277,6 +289,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -341,6 +355,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -469,6 +484,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -497,11 +521,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -541,6 +567,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -592,6 +620,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -720,6 +749,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -748,11 +786,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -792,6 +832,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -905,6 +947,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -1033,6 +1076,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -1061,11 +1113,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -1105,6 +1159,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -1181,6 +1237,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -1309,6 +1366,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -1337,11 +1403,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -1381,6 +1449,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -1428,6 +1498,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -1556,6 +1627,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -1584,11 +1664,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -1628,6 +1710,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -1700,6 +1784,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -1828,6 +1913,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -1856,11 +1950,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -1900,6 +1996,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -2002,6 +2100,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -2130,6 +2229,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -2158,11 +2266,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -2202,6 +2312,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -2266,6 +2378,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -2394,6 +2507,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -2422,11 +2544,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -2466,6 +2590,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, @@ -2517,6 +2643,7 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "options": RedocNormalizedOptions { "allowedMdComponents": Object {}, "disableSearch": false, + "disableUnsafeCalls": false, "downloadDefinitionUrl": undefined, "downloadFileName": undefined, "enumSkipQuotes": false, @@ -2645,6 +2772,15 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "rightPanel": Object { "backgroundColor": "#FFFFFF", "border": "#FFFFFF", + "servers": Object { + "overlay": Object { + "backgroundColor": "#fafafa", + "textColor": "#263238", + }, + "url": Object { + "backgroundColor": "#fff", + }, + }, "textColor": "#373838", "width": "43.75%", }, @@ -2673,11 +2809,13 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "backgroundColor": "#f7f7f7", "fontWeight": "600", "groupItems": Object { - "activeBackgroundColor": "#e1e1e1", - "activeTextColor": "#32329f", + "activeBackgroundColor": "#dedede", + "activeTextColor": "#4e4e4e", "textTransform": "uppercase", }, "level1Items": Object { + "activeBackgroundColor": "#eaeaea", + "activeTextColor": "#4e4e4e", "fontWeight": "900", "textTransform": "none", }, @@ -2717,6 +2855,8 @@ exports[`Components SchemaView discriminator should correctly render SchemaView "links": Object { "color": "#373838", "hover": "#6a6b6b", + "hoverTextDecoration": "auto", + "textDecoration": "auto", "visited": "#373838", }, "optimizeSpeed": true, diff --git a/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap b/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap index f98b667a4f..8c3957d7ac 100644 --- a/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap @@ -4,24 +4,24 @@ exports[`FieldDetailsComponent renders correctly 1`] = `
test type prefix array (test title) @@ -29,13 +29,13 @@ exports[`FieldDetailsComponent renders correctly 1`] = `
Default: [] @@ -43,20 +43,20 @@ exports[`FieldDetailsComponent renders correctly 1`] = `
Example: "example"

test description @@ -72,22 +72,22 @@ exports[`FieldDetailsComponent renders correctly when default value is object in

object (test title) @@ -95,13 +95,13 @@ exports[`FieldDetailsComponent renders correctly when default value is object in
Default: {"properties":{}} @@ -109,20 +109,20 @@ exports[`FieldDetailsComponent renders correctly when default value is object in
Example: "example"

test description @@ -138,32 +138,32 @@ exports[`FieldDetailsComponent renders correctly when field items have string ty

Array of strings (test title) [ ^see regex[0-9]$ @@ -173,20 +173,20 @@ exports[`FieldDetailsComponent renders correctly when field items have string ty
Example: "example"

test description diff --git a/src/components/__tests__/__snapshots__/OneOfSchema.test.tsx.snap b/src/components/__tests__/__snapshots__/OneOfSchema.test.tsx.snap index 3347a046af..058ef693d9 100644 --- a/src/components/__tests__/__snapshots__/OneOfSchema.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/OneOfSchema.test.tsx.snap @@ -3,27 +3,27 @@ exports[`Components SchemaView OneOf deprecated should match snapshot 1`] = `

One of
Deprecated @@ -33,10 +33,10 @@ exports[`Components SchemaView OneOf deprecated should match snapshot 1`] = `
string @@ -44,7 +44,7 @@ exports[`Components SchemaView OneOf deprecated should match snapshot 1`] = `
diff --git a/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap b/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap index 1c3d7efc81..3b7eb7b7d5 100644 --- a/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap @@ -1,23 +1,23 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`SecurityRequirement should render SecurityDefs 1`] = ` -"

petstore_auth

Get access to data while protecting your account credentials. +"

petstore_auth

Get access to data while protecting your account credentials. OAuth2 is also a safer and more secure way to give you access.

-
Security Scheme Type: OAuth2
Flow type: implicit
Scopes:
  • write:pets -

    modify pets in your account

    -
  • read:pets -

    read your pets

    -

GitLab_PersonalAccessToken

GitLab Personal Access Token description

-
Security Scheme Type: API Key
Header parameter name: PRIVATE-TOKEN

GitLab_OpenIdConnect

GitLab OpenIdConnect description

-
Security Scheme Type: OpenID Connect

basicAuth

Security Scheme Type: HTTP
HTTP Authorization Scheme: basic
" +
Security Scheme Type: OAuth2
Flow type: implicit
Scopes:
  • write:pets -

    modify pets in your account

    +
  • read:pets -

    read your pets

    +

GitLab_PersonalAccessToken

GitLab Personal Access Token description

+
Security Scheme Type: API Key
Header parameter name: PRIVATE-TOKEN

GitLab_OpenIdConnect

GitLab OpenIdConnect description

+
Security Scheme Type: OpenID Connect

basicAuth

Security Scheme Type: HTTP
HTTP Authorization Scheme: basic
" `; -exports[`SecurityRequirement should render authDefinition 1`] = `"
Authorizations:
(API Key: GitLab_PersonalAccessTokenOpenID Connect: GitLab_OpenIdConnectHTTP: basicAuth) OAuth2: petstore_auth
,"`; +exports[`SecurityRequirement should render authDefinition 1`] = `"
Authorizations:
(API Key: GitLab_PersonalAccessTokenOpenID Connect: GitLab_OpenIdConnectHTTP: basicAuth) OAuth2: petstore_auth
,"`; exports[`SecurityRequirement should render authDefinition 2`] = ` -"
Authorizations:
(API Key: GitLab_PersonalAccessTokenOpenID Connect: GitLab_OpenIdConnectHTTP: basicAuth) OAuth2: petstore_auth (write:petsread:pets)
OAuth2: petstore_auth

Get access to data while protecting your account credentials. +"

Authorizations:
(API Key: GitLab_PersonalAccessTokenOpenID Connect: GitLab_OpenIdConnectHTTP: basicAuth) OAuth2: petstore_auth (write:petsread:pets)
OAuth2: petstore_auth

Get access to data while protecting your account credentials. OAuth2 is also a safer and more secure way to give you access.

-
Flow type: implicit
Required scopes: write:pets read:pets
Scopes:
  • write:pets -

    modify pets in your account

    -
  • read:pets -

    read your pets

    -
API Key: GitLab_PersonalAccessToken

GitLab Personal Access Token description

-
Header parameter name: PRIVATE-TOKEN
OpenID Connect: GitLab_OpenIdConnect

GitLab OpenIdConnect description

-
HTTP: basicAuth
HTTP Authorization Scheme: basic
," +
Flow type: implicit
Required scopes: write:pets read:pets
Scopes:
  • write:pets -

    modify pets in your account

    +
  • read:pets -

    read your pets

    +
API Key: GitLab_PersonalAccessToken

GitLab Personal Access Token description

+
Header parameter name: PRIVATE-TOKEN
OpenID Connect: GitLab_OpenIdConnect

GitLab OpenIdConnect description

+
HTTP: basicAuth
HTTP Authorization Scheme: basic
," `;