@rxap/open-api 21.0.1 → 22.0.0-dev.1
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 +30 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +74 -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 +124 -35
- package/compodoc/index.html +46 -5
- 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 +154 -0
- package/compodoc/miscellaneous/functions.html +86 -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 +1247 -1038
- 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 +40 -4
- 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 +1 -1
- 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 +15 -15
- 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/Interface.OpenApiInitOptions.md +5 -5
- package/docs/wiki/Interface.OpenApiMetaData.md +11 -11
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +14 -14
- 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 +212 -162
- package/fesm2022/rxap-open-api-data-source-table.mjs.map +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs +243 -188
- package/fesm2022/rxap-open-api-data-source.mjs.map +1 -1
- package/fesm2022/rxap-open-api-http-resource.mjs +13 -38
- package/fesm2022/rxap-open-api-http-resource.mjs.map +1 -1
- package/fesm2022/rxap-open-api-remote-method.mjs +299 -263
- package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
- package/fesm2022/rxap-open-api-testing.mjs +55 -82
- package/fesm2022/rxap-open-api-testing.mjs.map +1 -1
- package/fesm2022/rxap-open-api.mjs +439 -633
- package/fesm2022/rxap-open-api.mjs.map +1 -1
- package/package.json +30 -30
- package/types/rxap-open-api-data-source-table.d.ts +47 -40
- package/types/rxap-open-api-data-source.d.ts +58 -52
- package/types/rxap-open-api-http-resource.d.ts +13 -17
- package/types/rxap-open-api-remote-method.d.ts +89 -86
- package/types/rxap-open-api-testing.d.ts +25 -28
- package/types/rxap-open-api.d.ts +153 -162
- package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +0 -1
- package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +0 -25
- package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +0 -21
|
@@ -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">
|
|
@@ -94,6 +115,10 @@
|
|
|
94
115
|
|
|
95
116
|
|
|
96
117
|
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
97
122
|
<ol class="breadcrumb">
|
|
98
123
|
<li class="breadcrumb-item">Interfaces</li>
|
|
99
124
|
<li class="breadcrumb-item"
|
|
@@ -101,6 +126,11 @@
|
|
|
101
126
|
OpenApiInitOptions</li>
|
|
102
127
|
</ol>
|
|
103
128
|
|
|
129
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
130
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
131
|
+
<code>src/lib/open-api-init.ts</code>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
104
134
|
<ul class="nav nav-tabs" role="tablist">
|
|
105
135
|
<li class="nav-item">
|
|
106
136
|
<a href="#info"
|
|
@@ -108,6 +138,12 @@
|
|
|
108
138
|
class="nav-link active"
|
|
109
139
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
110
140
|
</li>
|
|
141
|
+
<li class="nav-item">
|
|
142
|
+
<a href="#api"
|
|
143
|
+
class="nav-link"
|
|
144
|
+
|
|
145
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
146
|
+
</li>
|
|
111
147
|
<li class="nav-item">
|
|
112
148
|
<a href="#source"
|
|
113
149
|
class="nav-link"
|
|
@@ -118,144 +154,147 @@
|
|
|
118
154
|
|
|
119
155
|
<div class="tab-content">
|
|
120
156
|
<div class="tab-pane fade active in" id="info">
|
|
121
|
-
<p class="comment">
|
|
122
|
-
<h3>File</h3>
|
|
123
|
-
</p>
|
|
124
|
-
<p class="comment">
|
|
125
|
-
<code>src/lib/open-api-init.ts</code>
|
|
126
|
-
</p>
|
|
127
157
|
|
|
128
158
|
|
|
129
159
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
160
|
+
</div>
|
|
161
|
+
|
|
162
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
163
|
+
<h3 id="index">Index</h3>
|
|
164
|
+
<table class="table table-sm table-bordered index-table">
|
|
165
|
+
<tbody>
|
|
166
|
+
<tr>
|
|
167
|
+
<td class="col-md-3">
|
|
168
|
+
<h6><b>Properties</b></h6>
|
|
169
|
+
</td>
|
|
170
|
+
<td class="col-md-9">
|
|
171
|
+
<ul class="index-list">
|
|
172
|
+
<li>
|
|
173
|
+
<span class="modifier">Optional</span>
|
|
174
|
+
<a href="#load" class="reference-link ">
|
|
175
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">load</span>
|
|
176
|
+
</a>
|
|
177
|
+
</li>
|
|
178
|
+
<li>
|
|
179
|
+
<span class="modifier">Optional</span>
|
|
180
|
+
<a href="#origin" class="reference-link ">
|
|
181
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">origin</span>
|
|
182
|
+
</a>
|
|
183
|
+
</li>
|
|
184
|
+
</ul>
|
|
185
|
+
</td>
|
|
186
|
+
</tr>
|
|
187
|
+
</tbody>
|
|
188
|
+
</table>
|
|
189
|
+
</section>
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<section data-compodoc="block-properties">
|
|
194
|
+
<h3 id="inputs">Properties</h3>
|
|
195
|
+
<table class="table table-sm table-bordered">
|
|
134
196
|
<tbody>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
>
|
|
147
|
-
|
|
148
|
-
</a>
|
|
149
|
-
</li>
|
|
150
|
-
<li>
|
|
151
|
-
<span class="modifier">Optional</span>
|
|
152
|
-
<a href="#origin"
|
|
153
|
-
>
|
|
154
|
-
origin
|
|
155
|
-
</a>
|
|
156
|
-
</li>
|
|
157
|
-
</ul>
|
|
158
|
-
</td>
|
|
159
|
-
</tr>
|
|
160
|
-
</tbody>
|
|
161
|
-
</table>
|
|
162
|
-
</section>
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
<section data-compodoc="block-properties">
|
|
167
|
-
<h3 id="inputs">Properties</h3>
|
|
168
|
-
<table class="table table-sm table-bordered">
|
|
169
|
-
<tbody>
|
|
170
|
-
<tr>
|
|
171
|
-
<td class="col-md-4">
|
|
172
|
-
<a name="load"></a>
|
|
173
|
-
<span class="name "><b>load</b>
|
|
174
|
-
<a href="#load">
|
|
175
|
-
<span class="icon ion-ios-link"></span>
|
|
176
|
-
</a>
|
|
177
|
-
</span>
|
|
178
|
-
</td>
|
|
179
|
-
</tr>
|
|
180
|
-
<tr>
|
|
181
|
-
<td class="col-md-4">
|
|
182
|
-
<code>load: <code>literal type | boolean</code>
|
|
197
|
+
<tr>
|
|
198
|
+
<td class="col-md-4">
|
|
199
|
+
<a name="load"></a>
|
|
200
|
+
<span class="name "><b>load</b>
|
|
201
|
+
<a href="#load">
|
|
202
|
+
<span class="icon ion-ios-link"></span>
|
|
203
|
+
</a>
|
|
204
|
+
</span>
|
|
205
|
+
</td>
|
|
206
|
+
</tr>
|
|
207
|
+
<tr>
|
|
208
|
+
<td class="col-md-4">
|
|
209
|
+
<code>load: <code>literal type | boolean</code>
|
|
183
210
|
</code>
|
|
184
|
-
|
|
185
|
-
|
|
211
|
+
</td>
|
|
212
|
+
</tr>
|
|
186
213
|
|
|
187
214
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
215
|
+
<tr>
|
|
216
|
+
<td class="col-md-4">
|
|
217
|
+
<i>Type : </i> <code>literal type | boolean</code>
|
|
191
218
|
|
|
192
|
-
|
|
193
|
-
|
|
219
|
+
</td>
|
|
220
|
+
</tr>
|
|
194
221
|
|
|
195
|
-
<tr>
|
|
196
|
-
<td class="col-md-4">
|
|
197
|
-
<i>Optional</i>
|
|
198
|
-
</td>
|
|
199
|
-
</tr>
|
|
200
222
|
|
|
223
|
+
<tr>
|
|
224
|
+
<td class="col-md-4">
|
|
225
|
+
<i>Optional</i>
|
|
226
|
+
</td>
|
|
227
|
+
</tr>
|
|
201
228
|
|
|
202
229
|
|
|
203
230
|
|
|
204
231
|
<tr>
|
|
205
232
|
<td class="col-md-4">
|
|
206
|
-
<div class="io-
|
|
207
|
-
default url: openapi.json</p>
|
|
208
|
-
</div>
|
|
233
|
+
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/lib/open-api-init.ts:11</a></div>
|
|
209
234
|
</td>
|
|
210
235
|
</tr>
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
<
|
|
226
|
-
|
|
227
|
-
|
|
236
|
+
|
|
237
|
+
<tr>
|
|
238
|
+
<td class="col-md-4">
|
|
239
|
+
<div class="io-description"><p>true - load the open api config file from the default url
|
|
240
|
+
default url: openapi.json</p>
|
|
241
|
+
</div>
|
|
242
|
+
</td>
|
|
243
|
+
</tr>
|
|
244
|
+
</tbody>
|
|
245
|
+
</table>
|
|
246
|
+
<table class="table table-sm table-bordered">
|
|
247
|
+
<tbody>
|
|
248
|
+
<tr>
|
|
249
|
+
<td class="col-md-4">
|
|
250
|
+
<a name="origin"></a>
|
|
251
|
+
<span class="name "><b>origin</b>
|
|
252
|
+
<a href="#origin">
|
|
253
|
+
<span class="icon ion-ios-link"></span>
|
|
254
|
+
</a>
|
|
255
|
+
</span>
|
|
256
|
+
</td>
|
|
257
|
+
</tr>
|
|
258
|
+
<tr>
|
|
259
|
+
<td class="col-md-4">
|
|
260
|
+
<code>origin: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
228
261
|
</code>
|
|
229
|
-
|
|
230
|
-
|
|
262
|
+
</td>
|
|
263
|
+
</tr>
|
|
231
264
|
|
|
232
265
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
266
|
+
<tr>
|
|
267
|
+
<td class="col-md-4">
|
|
268
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
236
269
|
|
|
237
|
-
|
|
238
|
-
|
|
270
|
+
</td>
|
|
271
|
+
</tr>
|
|
239
272
|
|
|
240
|
-
<tr>
|
|
241
|
-
<td class="col-md-4">
|
|
242
|
-
<i>Optional</i>
|
|
243
|
-
</td>
|
|
244
|
-
</tr>
|
|
245
273
|
|
|
274
|
+
<tr>
|
|
275
|
+
<td class="col-md-4">
|
|
276
|
+
<i>Optional</i>
|
|
277
|
+
</td>
|
|
278
|
+
</tr>
|
|
246
279
|
|
|
247
280
|
|
|
248
281
|
|
|
249
282
|
<tr>
|
|
250
283
|
<td class="col-md-4">
|
|
251
|
-
<div class="io-
|
|
252
|
-
</div>
|
|
284
|
+
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/lib/open-api-init.ts:17</a></div>
|
|
253
285
|
</td>
|
|
254
286
|
</tr>
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
287
|
+
|
|
288
|
+
<tr>
|
|
289
|
+
<td class="col-md-4">
|
|
290
|
+
<div class="io-description"><p>The location origin prefix for the open api base urls if the base url is not absolute. defaults to location.origin</p>
|
|
291
|
+
</div>
|
|
292
|
+
</td>
|
|
293
|
+
</tr>
|
|
294
|
+
</tbody>
|
|
295
|
+
</table>
|
|
296
|
+
</section>
|
|
297
|
+
</div>
|
|
259
298
|
|
|
260
299
|
|
|
261
300
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
@@ -353,6 +392,24 @@ export function OpenApiInit(environment: Environment, options: OpenApiInitOption
|
|
|
353
392
|
|
|
354
393
|
<script>
|
|
355
394
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
395
|
+
var updateDarkModeSwitchOffset = function () {
|
|
396
|
+
var content = document.querySelector('.content');
|
|
397
|
+
var scrollbarWidth = 0;
|
|
398
|
+
|
|
399
|
+
if (content) {
|
|
400
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
document.documentElement.style.setProperty(
|
|
404
|
+
'--content-scrollbar-width',
|
|
405
|
+
scrollbarWidth + 'px'
|
|
406
|
+
);
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
updateDarkModeSwitchOffset();
|
|
410
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
411
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
412
|
+
|
|
356
413
|
checkToggle(darkModeState);
|
|
357
414
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
358
415
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -368,14 +425,12 @@ export function OpenApiInit(environment: Environment, options: OpenApiInitOption
|
|
|
368
425
|
<script src="../js/libs/lit-html.js"></script>
|
|
369
426
|
|
|
370
427
|
<script src="../js/menu-wc.js" defer></script>
|
|
371
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
372
428
|
|
|
373
429
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
374
430
|
|
|
375
431
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
376
432
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
377
433
|
<script src="../js/libs/promise.min.js"></script>
|
|
378
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
379
434
|
|
|
380
435
|
<script src="../js/compodoc.js"></script>
|
|
381
436
|
|