@rxap/open-api 22.0.0-dev.0 → 22.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/README.md +5 -3
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +90 -5
- package/compodoc/classes/OpenApiHttpResponseError.html +110 -39
- package/compodoc/classes/RxapOpenApiError.html +77 -10
- package/compodoc/classes/SchemaValidationMixin.html +100 -29
- package/compodoc/dependencies.html +128 -35
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/OpenApiConfigService.html +112 -38
- package/compodoc/interfaces/OpenApiInitOptions.html +166 -111
- package/compodoc/interfaces/OpenApiMetaData.html +259 -175
- package/compodoc/interfaces/OperationObjectWithMetadata.html +165 -91
- package/compodoc/interfaces/SchemaValidationResponse.html +247 -182
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +27 -14
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +156 -0
- package/compodoc/miscellaneous/functions.html +167 -19
- package/compodoc/miscellaneous/typealiases.html +46 -4
- package/compodoc/miscellaneous/variables.html +123 -16
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1287 -1054
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/OpenApiConfigService.html +216 -14
- package/docs/html/classes/OpenApiHttpResponseError.html +215 -26
- package/docs/html/classes/RxapOpenApiError.html +242 -23
- package/docs/html/classes/SchemaValidationMixin.html +245 -16
- package/docs/html/functions/AssertOpenApiV3.html +42 -1
- package/docs/html/functions/IsOpenApiV3.html +42 -1
- package/docs/html/functions/IsReferenceObject.html +42 -1
- package/docs/html/functions/NotContainsReferenceObjects.html +46 -1
- package/docs/html/functions/OpenApiInit.html +43 -1
- package/docs/html/functions/getJsonContentSchema.html +42 -1
- package/docs/html/functions/getJsonSchema.html +42 -1
- package/docs/html/functions/hasJsonContentSchema.html +46 -1
- package/docs/html/functions/hasJsonSchema.html +42 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +44 -7
- package/docs/html/interfaces/OpenApiInitOptions.html +65 -5
- package/docs/html/interfaces/OpenApiMetaData.html +98 -9
- package/docs/html/interfaces/OperationObjectWithMetadata.html +151 -15
- package/docs/html/interfaces/SchemaValidationResponse.html +77 -5
- package/docs/html/modules.html +52 -1
- package/docs/html/types/OperationMap.html +33 -1
- package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +33 -1
- package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +33 -1
- package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +33 -1
- package/docs/html/variables/DISABLE_VALIDATION.html +33 -1
- package/docs/html/variables/OPEN_API_OPERATION.html +33 -1
- package/docs/html/variables/OPEN_API_OPERATION_ID.html +33 -1
- package/docs/html/variables/OPEN_API_SERVER_ID.html +33 -1
- package/docs/html/variables/OPEN_API_SERVER_INDEX.html +33 -1
- package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +33 -1
- package/docs/html/variables/injectOpenApiBaseUrlHttpInterceptorFn.html +33 -0
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/OpenApiConfigService.md +27 -27
- package/docs/markdown/classes/OpenApiHttpResponseError.md +26 -26
- package/docs/markdown/classes/RxapOpenApiError.md +25 -25
- package/docs/markdown/classes/SchemaValidationMixin.md +36 -30
- package/docs/markdown/functions/AssertOpenApiV3.md +3 -3
- package/docs/markdown/functions/IsOpenApiV3.md +3 -3
- package/docs/markdown/functions/IsReferenceObject.md +3 -3
- package/docs/markdown/functions/NotContainsReferenceObjects.md +7 -5
- package/docs/markdown/functions/OpenApiInit.md +5 -5
- package/docs/markdown/functions/getJsonContentSchema.md +5 -5
- package/docs/markdown/functions/getJsonSchema.md +5 -5
- package/docs/markdown/functions/hasJsonContentSchema.md +8 -6
- package/docs/markdown/functions/hasJsonSchema.md +3 -3
- package/docs/markdown/globals.md +3 -3
- package/docs/markdown/interfaces/OpenApiInitOptions.md +6 -6
- package/docs/markdown/interfaces/OpenApiMetaData.md +12 -12
- package/docs/markdown/interfaces/OperationObjectWithMetadata.md +27 -27
- package/docs/markdown/interfaces/SchemaValidationResponse.md +11 -9
- package/docs/markdown/type-aliases/OperationMap.md +3 -3
- package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
- package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
- package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +2 -2
- package/docs/markdown/variables/OPEN_API_SERVER_ID.md +3 -3
- package/docs/markdown/variables/OPEN_API_SERVER_INDEX.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +2 -2
- package/docs/markdown/variables/injectOpenApiBaseUrlHttpInterceptorFn.md +11 -0
- package/docs/wiki/Class.OpenApiConfigService.md +26 -26
- package/docs/wiki/Class.OpenApiHttpResponseError.md +25 -25
- package/docs/wiki/Class.RxapOpenApiError.md +24 -24
- package/docs/wiki/Class.SchemaValidationMixin.md +35 -29
- package/docs/wiki/Function.AssertOpenApiV3.md +2 -2
- package/docs/wiki/Function.IsOpenApiV3.md +2 -2
- package/docs/wiki/Function.IsReferenceObject.md +2 -2
- package/docs/wiki/Function.NotContainsReferenceObjects.md +6 -4
- package/docs/wiki/Function.OpenApiInit.md +4 -4
- package/docs/wiki/Function.getJsonContentSchema.md +4 -4
- package/docs/wiki/Function.getJsonSchema.md +4 -4
- package/docs/wiki/Function.hasJsonContentSchema.md +7 -5
- package/docs/wiki/Function.hasJsonSchema.md +2 -2
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.OpenApiInitOptions.md +5 -5
- package/docs/wiki/Interface.OpenApiMetaData.md +11 -11
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +26 -26
- package/docs/wiki/Interface.SchemaValidationResponse.md +10 -8
- package/docs/wiki/TypeAlias.OperationMap.md +2 -2
- package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
- package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
- package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +1 -1
- package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +2 -2
- package/docs/wiki/Variable.OPEN_API_SERVER_INDEX.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +1 -1
- package/docs/wiki/Variable.injectOpenApiBaseUrlHttpInterceptorFn.md +7 -0
- package/docs/wiki/_Sidebar.md +1 -1
- package/docs/wiki/globals.md +2 -2
- package/fesm2022/rxap-open-api-data-source-table.mjs +1 -1
- package/fesm2022/rxap-open-api-data-source-table.mjs.map +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs.map +1 -1
- package/fesm2022/rxap-open-api-remote-method.mjs +6 -2
- package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
- package/generators.json +16 -0
- package/package.json +28 -29
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +0 -1
- package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +0 -25
- package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +0 -21
- package/theme.css +0 -1
package/compodoc/index.html
CHANGED
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -79,9 +100,10 @@
|
|
|
79
100
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
101
|
</div>
|
|
81
102
|
<!-- START CONTENT -->
|
|
82
|
-
<div class="content
|
|
103
|
+
<div class="content readme">
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
106
|
+
|
|
85
107
|
<p>This package provides tools for working with OpenAPI specifications in Angular applications. It includes services for configuring and loading OpenAPI definitions, validating requests and responses against schemas, and handling errors. It also offers utilities for building HTTP requests based on OpenAPI definitions.</p>
|
|
86
108
|
<p><a href="https://www.npmjs.com/package/@rxap/open-api"><img src="https://img.shields.io/npm/v/@rxap/open-api?style=flat-square" alt="npm version" class="img-responsive"></a>
|
|
87
109
|
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly" class="img-responsive"></a>
|
|
@@ -98,9 +120,10 @@
|
|
|
98
120
|
</ul>
|
|
99
121
|
<h1>Installation</h1>
|
|
100
122
|
<p><strong>Add the package to your workspace:</strong></p>
|
|
101
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">
|
|
102
|
-
<
|
|
103
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">
|
|
123
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">npm install @rxap/open-api</code></pre></div><p>With pnpm or yarn use <code>pnpm add</code> or <code>yarn add</code> instead of <code>npm install</code>.</p>
|
|
124
|
+
<p><strong>Install peer dependencies:</strong></p>
|
|
125
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">npm install @angular/common @angular/core @rxap/config @rxap/data-source @rxap/environment @rxap/mixin @rxap/pattern @rxap/remote-method @rxap/rxjs @rxap/utilities ajv openapi-types rxjs </code></pre></div><p><strong>Execute the init generator:</strong></p>
|
|
126
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">nx g @rxap/open-api:init</code></pre></div><h1>Generators</h1>
|
|
104
127
|
<h2>init</h2>
|
|
105
128
|
<blockquote>
|
|
106
129
|
<p>Initialize the package in the workspace</p>
|
|
@@ -123,6 +146,9 @@
|
|
|
123
146
|
|
|
124
147
|
|
|
125
148
|
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
126
152
|
|
|
127
153
|
|
|
128
154
|
|
|
@@ -151,13 +177,31 @@
|
|
|
151
177
|
|
|
152
178
|
<script>
|
|
153
179
|
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
154
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = '
|
|
180
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'readme';
|
|
155
181
|
var COMPODOC_CURRENT_PAGE_URL = 'index.html';
|
|
156
182
|
var MAX_SEARCH_RESULTS = 15;
|
|
157
183
|
</script>
|
|
158
184
|
|
|
159
185
|
<script>
|
|
160
186
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
187
|
+
var updateDarkModeSwitchOffset = function () {
|
|
188
|
+
var content = document.querySelector('.content');
|
|
189
|
+
var scrollbarWidth = 0;
|
|
190
|
+
|
|
191
|
+
if (content) {
|
|
192
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
document.documentElement.style.setProperty(
|
|
196
|
+
'--content-scrollbar-width',
|
|
197
|
+
scrollbarWidth + 'px'
|
|
198
|
+
);
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
updateDarkModeSwitchOffset();
|
|
202
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
203
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
204
|
+
|
|
161
205
|
checkToggle(darkModeState);
|
|
162
206
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
163
207
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -173,14 +217,12 @@
|
|
|
173
217
|
<script src="./js/libs/lit-html.js"></script>
|
|
174
218
|
|
|
175
219
|
<script src="./js/menu-wc.js" defer></script>
|
|
176
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
177
220
|
|
|
178
221
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
179
222
|
|
|
180
223
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
181
224
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
182
225
|
<script src="./js/libs/promise.min.js"></script>
|
|
183
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
184
226
|
|
|
185
227
|
<script src="./js/compodoc.js"></script>
|
|
186
228
|
|
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >OpenApiConfigService</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/open-api-config.service.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,74 +147,91 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/open-api-config.service.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
153
|
+
<section data-compodoc="block-metadata">
|
|
154
|
+
<h3>Metadata</h3>
|
|
155
|
+
<table class="table table-sm table-hover metadata">
|
|
156
|
+
<tbody>
|
|
157
|
+
<tr>
|
|
158
|
+
<td class="col-md-3">providedIn</td>
|
|
159
|
+
<td class="col-md-9"><code>root</code></td>
|
|
160
|
+
</tr>
|
|
161
|
+
</tbody>
|
|
162
|
+
</table>
|
|
163
|
+
</section>
|
|
164
|
+
|
|
123
165
|
|
|
166
|
+
</div>
|
|
124
167
|
|
|
168
|
+
<div class="tab-pane fade " id="api">
|
|
125
169
|
<section data-compodoc="block-index">
|
|
126
170
|
<h3 id="index">Index</h3>
|
|
127
|
-
|
|
128
|
-
|
|
171
|
+
<table class="table table-sm table-bordered index-table">
|
|
172
|
+
<tbody>
|
|
129
173
|
<tr>
|
|
130
|
-
<td class="col-md-
|
|
174
|
+
<td class="col-md-3">
|
|
131
175
|
<h6><b>Properties</b></h6>
|
|
132
176
|
</td>
|
|
133
|
-
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
177
|
+
<td class="col-md-9">
|
|
136
178
|
<ul class="index-list">
|
|
137
179
|
<li>
|
|
180
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
138
181
|
<span class="modifier">Static</span>
|
|
139
182
|
<a href="#Config" >Config</a>
|
|
140
183
|
</li>
|
|
141
184
|
<li>
|
|
185
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
142
186
|
<span class="modifier">Public</span>
|
|
143
187
|
<a href="#defaultServerIndex" >defaultServerIndex</a>
|
|
144
188
|
</li>
|
|
145
189
|
<li>
|
|
190
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
146
191
|
<span class="modifier">Static</span>
|
|
147
192
|
<a href="#DefaultServerIndex" >DefaultServerIndex</a>
|
|
148
193
|
</li>
|
|
149
194
|
</ul>
|
|
150
195
|
</td>
|
|
151
196
|
</tr>
|
|
197
|
+
</tbody>
|
|
198
|
+
</table>
|
|
152
199
|
|
|
200
|
+
<table class="table table-sm table-bordered index-table">
|
|
201
|
+
<tbody>
|
|
153
202
|
<tr>
|
|
154
|
-
<td class="col-md-
|
|
203
|
+
<td class="col-md-3">
|
|
155
204
|
<h6><b>Methods</b></h6>
|
|
156
205
|
</td>
|
|
157
|
-
|
|
158
|
-
<tr>
|
|
159
|
-
<td class="col-md-4">
|
|
206
|
+
<td class="col-md-9">
|
|
160
207
|
<ul class="index-list">
|
|
161
208
|
<li>
|
|
209
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
162
210
|
<span class="modifier">Public</span>
|
|
163
211
|
<a href="#getBaseUrl" >getBaseUrl</a>
|
|
164
212
|
</li>
|
|
165
213
|
<li>
|
|
214
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
166
215
|
<span class="modifier">Public</span>
|
|
167
216
|
<a href="#getOperation" >getOperation</a>
|
|
168
217
|
</li>
|
|
169
218
|
<li>
|
|
219
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
170
220
|
<span class="modifier">Static</span>
|
|
171
221
|
<a href="#GetOperation" >GetOperation</a>
|
|
172
222
|
</li>
|
|
173
223
|
<li>
|
|
224
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
174
225
|
<span class="modifier">Public</span>
|
|
175
226
|
<a href="#insertServer" >insertServer</a>
|
|
176
227
|
</li>
|
|
177
228
|
<li>
|
|
229
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
178
230
|
<span class="modifier">Static</span>
|
|
179
231
|
<a href="#InsertServer" >InsertServer</a>
|
|
180
232
|
</li>
|
|
181
233
|
<li>
|
|
234
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
182
235
|
<span class="modifier">Static</span>
|
|
183
236
|
<span class="modifier">Async</span>
|
|
184
237
|
<a href="#Load" >Load</a>
|
|
@@ -186,30 +239,34 @@
|
|
|
186
239
|
</ul>
|
|
187
240
|
</td>
|
|
188
241
|
</tr>
|
|
242
|
+
</tbody>
|
|
243
|
+
</table>
|
|
189
244
|
|
|
190
245
|
|
|
191
246
|
|
|
192
247
|
|
|
193
248
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
</
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
</
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
249
|
+
<table class="table table-sm table-bordered index-table">
|
|
250
|
+
<tbody>
|
|
251
|
+
<tr>
|
|
252
|
+
<td class="col-md-3">
|
|
253
|
+
<h6><b>Accessors</b></h6>
|
|
254
|
+
</td>
|
|
255
|
+
<td class="col-md-9">
|
|
256
|
+
<ul class="index-list">
|
|
257
|
+
<li>
|
|
258
|
+
<span class="reference-badge reference-badge--accessor" aria-hidden="true">A</span>
|
|
259
|
+
<a href="#serverIds" >serverIds</a>
|
|
260
|
+
</li>
|
|
261
|
+
<li>
|
|
262
|
+
<span class="reference-badge reference-badge--accessor" aria-hidden="true">A</span>
|
|
263
|
+
<a href="#config" >config</a>
|
|
264
|
+
</li>
|
|
265
|
+
</ul>
|
|
266
|
+
</td>
|
|
267
|
+
</tr>
|
|
268
|
+
</tbody>
|
|
269
|
+
</table>
|
|
213
270
|
</section>
|
|
214
271
|
|
|
215
272
|
<section data-compodoc="block-constructor">
|
|
@@ -787,6 +844,7 @@
|
|
|
787
844
|
</tbody>
|
|
788
845
|
</table>
|
|
789
846
|
</section>
|
|
847
|
+
|
|
790
848
|
<section data-compodoc="block-properties">
|
|
791
849
|
|
|
792
850
|
<h3 id="inputs">
|
|
@@ -1242,6 +1300,24 @@ export class OpenApiConfigService {
|
|
|
1242
1300
|
|
|
1243
1301
|
<script>
|
|
1244
1302
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1303
|
+
var updateDarkModeSwitchOffset = function () {
|
|
1304
|
+
var content = document.querySelector('.content');
|
|
1305
|
+
var scrollbarWidth = 0;
|
|
1306
|
+
|
|
1307
|
+
if (content) {
|
|
1308
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
document.documentElement.style.setProperty(
|
|
1312
|
+
'--content-scrollbar-width',
|
|
1313
|
+
scrollbarWidth + 'px'
|
|
1314
|
+
);
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
updateDarkModeSwitchOffset();
|
|
1318
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
1319
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
1320
|
+
|
|
1245
1321
|
checkToggle(darkModeState);
|
|
1246
1322
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
1247
1323
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -1257,14 +1333,12 @@ export class OpenApiConfigService {
|
|
|
1257
1333
|
<script src="../js/libs/lit-html.js"></script>
|
|
1258
1334
|
|
|
1259
1335
|
<script src="../js/menu-wc.js" defer></script>
|
|
1260
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
1261
1336
|
|
|
1262
1337
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
1263
1338
|
|
|
1264
1339
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
1265
1340
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
1266
1341
|
<script src="../js/libs/promise.min.js"></script>
|
|
1267
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
1268
1342
|
|
|
1269
1343
|
<script src="../js/compodoc.js"></script>
|
|
1270
1344
|
|