diff --git a/docs/examples/auth.html b/docs/examples/auth.html index 0a812c04..b4faf0c3 100644 --- a/docs/examples/auth.html +++ b/docs/examples/auth.html @@ -6,16 +6,13 @@ @@ -27,7 +24,19 @@ allow-server-selection = "true" allow-authentication = "true" render-style="read" + allow-try="false" > + +
+
+
Allow TRY
+
+ + +
+
+
+

Programmatically Applying Security and Setting a API Server

@@ -39,9 +48,7 @@

Programmatically Applying Security and Setting a API Server

RapiDoc provides you with two helper methods which you can use to supply security keys programatically. You can use one of these method based on the security scheme type
- +
SCHEME-TYPEMETHOD USED TO UPDATE
SCHEME-TYPEMETHOD USED TO UPDATE
basicsetHttpUserNameAndPassword('http-basic', 'newUserName', 'newPassword')
other than basicsetApiKey('api_key1', 'newApiToken')
@@ -92,7 +99,8 @@

Programmatically Applying Security and Setting a API Server

- + +
diff --git a/docs/index.css b/docs/index.css index 236abf8d..2ba9c5cb 100644 --- a/docs/index.css +++ b/docs/index.css @@ -60,7 +60,7 @@ h1,h2,h3 { margin-left:12px; } .hide-in-mobile { display:none; } -.topbar{ +.topbar { padding: 6px 24px; } @@ -111,7 +111,7 @@ h1,h2,h3 { } } -.section-text{ +.section-text { background: url('./images/bg-shape1.svg') right top no-repeat;; } /*Shrinking for mobile*/ @@ -128,7 +128,7 @@ h1,h2,h3 { } } -.banner-content{ +.banner-content { font-weight: 300; } .banner-title { @@ -142,7 +142,7 @@ h1,h2,h3 { justify-content: center; } -.logo{display:none} +.logo { display:none } .code-block{ font-size:12px; width:320px; @@ -167,36 +167,36 @@ h1,h2,h3 { line-height: 40px; color: #fff; } -.row{ +.row { display:flex; flex-direction: row; width:100%; justify-content: space-evenly; } -.col{ +.col { display:flex; flex-direction: column; align-items: center; flex:1; } -.footer{ +.footer { display:flex; flex-direction: row; background-color: #444; color:#ccc; } -.footer-item{ +.footer-item { padding: 5px 16px; } -.footer-item a{ +.footer-item a { color:#ccc; } -.feature-list{ +.feature-list { text-align: left; } -.container{ +.container { padding: 40px 64px; } @@ -209,7 +209,7 @@ h1,h2,h3 { min-height:150px; } -.feature{ +.feature { display:flex; flex:1; max-width:320px; @@ -217,12 +217,12 @@ h1,h2,h3 { margin:0 8px 24px 8px; } -.feature-icon{ +.feature-icon { min-width:64px; min-height:64px; } -.feature-info{ +.feature-info { display:flex; flex-direction: column; margin-left:12px; @@ -230,8 +230,8 @@ h1,h2,h3 { font-size:16px; } -.feature-info .feature-title{ font-size:18px;} -.feature-info .feature-descr{ font-size:14px;} +.feature-info .feature-title{ font-size:18px; } +.feature-info .feature-descr{ font-size:14px; } .shadow1 { box-shadow: 0 2px 2px rgba(0,0,0,0.25); @@ -249,7 +249,7 @@ h1,h2,h3 { width: 90px; height: 32px; padding: 2px; - font-size: 13px; + font-size: 12px; background-color: #008CBA; color: #fff; border: none;