@diplodoc/cli-tests 5.35.3 → 5.36.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/e2e/__snapshots__/bundles.spec.ts.snap +26 -26
- package/e2e/__snapshots__/files.spec.ts.snap +1 -2
- package/e2e/__snapshots__/merge-includes.spec.ts.snap +241 -30
- package/e2e/__snapshots__/pdf-page.spec.ts.snap +157 -6
- package/e2e/__snapshots__/preprocess.test.ts.snap +78 -78
- package/e2e/__snapshots__/regression.test.ts.snap +216 -55
- package/e2e/merge-includes.spec.ts +45 -1
- package/e2e/pdf-page.spec.ts +27 -0
- package/e2e/preprocess.test.ts +2 -2
- package/e2e/regression.test.ts +3 -3
- package/fixtures/utils/test.ts +112 -22
- package/mocks/merge-includes/hash-section-html/input/_includes/mixed.md +11 -0
- package/mocks/merge-includes/hash-section-html/input/index.md +3 -0
- package/mocks/merge-includes/hash-section-html/input/main.md +13 -0
- package/mocks/merge-includes/hash-section-html/input/toc.yaml +5 -0
- package/mocks/merge-includes/html-in-list/input/_includes/styles.md +7 -0
- package/mocks/merge-includes/html-in-list/input/index.md +3 -0
- package/mocks/merge-includes/html-in-list/input/main.md +11 -0
- package/mocks/merge-includes/html-in-list/input/toc.yaml +5 -0
- package/mocks/merge-includes/term-extract/input/_includes/chapter.md +7 -0
- package/mocks/merge-includes/term-extract/input/index.md +3 -0
- package/mocks/merge-includes/term-extract/input/main.md +7 -0
- package/mocks/merge-includes/term-extract/input/toc.yaml +5 -0
- package/mocks/merge-includes/yfm-table/input/_includes/cell-content.md +1 -0
- package/mocks/merge-includes/yfm-table/input/index.md +3 -0
- package/mocks/merge-includes/yfm-table/input/main.md +12 -0
- package/mocks/merge-includes/yfm-table/input/toc.yaml +5 -0
- package/mocks/pdf-page/custom-pdf-icon/input/.yfm +6 -0
- package/mocks/pdf-page/custom-pdf-icon/input/_assets/custom-pdf-icon.svg +1 -0
- package/mocks/pdf-page/custom-pdf-icon/input/index.md +1 -0
- package/mocks/pdf-page/custom-pdf-icon/input/pdf/output.pdf +0 -0
- package/mocks/pdf-page/custom-pdf-icon/input/toc.yaml +2 -0
- package/mocks/regression/input/autotitle.md +33 -1
- package/mocks/regression/input/includes/fragments.md +24 -0
- package/mocks/regression/input/includes/styles.md +8 -0
- package/mocks/regression/input/includes.md +6 -0
- package/mocks/regression/input/toc.yaml +2 -0
- package/package.json +1 -1
|
@@ -23,6 +23,8 @@ exports[`Regression > internal > filelist 1`] = `
|
|
|
23
23
|
"includes.md",
|
|
24
24
|
"includes/deep-hash.md",
|
|
25
25
|
"includes/fragments-hash.md",
|
|
26
|
+
"includes/fragments.md",
|
|
27
|
+
"includes/styles-hash.md",
|
|
26
28
|
"includes/test-hash.md",
|
|
27
29
|
"includes/tools-hash.md",
|
|
28
30
|
"includes/user-hash.md",
|
|
@@ -63,6 +65,7 @@ exports[`Regression > internal > filelist 2`] = `
|
|
|
63
65
|
"included-item.html",
|
|
64
66
|
"includer-of-entry.html",
|
|
65
67
|
"includes.html",
|
|
68
|
+
"includes/fragments.html",
|
|
66
69
|
"index.html",
|
|
67
70
|
"latex.html",
|
|
68
71
|
"merge/merge.html",
|
|
@@ -157,10 +160,41 @@ Special local title
|
|
|
157
160
|
Circular title
|
|
158
161
|
[Header](./autotitle.md#header)
|
|
159
162
|
|
|
163
|
+
Autotitle from include
|
|
164
|
+
<!-- [{#T}](includes/fragments.md#f3) -->
|
|
165
|
+
|
|
166
|
+
Include with autotitle
|
|
167
|
+
<!-- {% include [test](includes/fragments.md#f4) %} -->
|
|
168
|
+
|
|
169
|
+
link with [some local term1](*term1-1)
|
|
170
|
+
|
|
171
|
+
{% list tabs %}
|
|
172
|
+
|
|
173
|
+
- Название таба 1
|
|
174
|
+
|
|
175
|
+
Текст таба 1.
|
|
176
|
+
|
|
177
|
+
* Можно использовать списки.
|
|
178
|
+
* И **другую** разметку.
|
|
179
|
+
|
|
180
|
+
- Название таба 2
|
|
181
|
+
|
|
182
|
+
Текст таба 2.
|
|
183
|
+
|
|
184
|
+
{% endlist %}
|
|
185
|
+
|
|
186
|
+
All fragments
|
|
187
|
+
|
|
188
|
+
{% include [test](includes/fragments-hash.md) %}
|
|
189
|
+
|
|
190
|
+
|
|
160
191
|
## Header {#header}
|
|
161
192
|
|
|
162
|
-
|
|
163
|
-
|
|
193
|
+
Content2
|
|
194
|
+
|
|
195
|
+
{% include [test](includes/styles-hash.md) %}
|
|
196
|
+
|
|
197
|
+
[*term1-1]: {% include [test](includes/fragments-hash.md#f3) %}"
|
|
164
198
|
`;
|
|
165
199
|
|
|
166
200
|
exports[`Regression > internal 4`] = `
|
|
@@ -358,13 +392,19 @@ Text
|
|
|
358
392
|
|
|
359
393
|
[[?](*term)](http://ya.ru)
|
|
360
394
|
|
|
395
|
+
[Term 1](*term1) [Term 2](*term2)
|
|
361
396
|
|
|
362
397
|
Link after include
|
|
363
398
|
[Subtitle](./1.md#subtitle)
|
|
364
399
|
|
|
400
|
+
Autotitle include
|
|
401
|
+
<!-- [{#T}](includes/fragments.md#f3) -->
|
|
402
|
+
|
|
365
403
|
Link after include
|
|
366
404
|
|
|
367
405
|
[*term]: Test terms
|
|
406
|
+
[*term1]: {% include [test](includes/fragments-hash.md#f3) %}
|
|
407
|
+
[*term2]: {% include [test](includes/fragments-hash.md#f3) %}
|
|
368
408
|
"
|
|
369
409
|
`;
|
|
370
410
|
|
|
@@ -380,8 +420,12 @@ __system:
|
|
|
380
420
|
|
|
381
421
|
exports[`Regression > internal 16`] = `
|
|
382
422
|
"---
|
|
423
|
+
metadata:
|
|
424
|
+
- name: generator
|
|
425
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
383
426
|
__system:
|
|
384
427
|
testVar: test-value
|
|
428
|
+
vcsPath: includes/fragments.md
|
|
385
429
|
---
|
|
386
430
|
### F1 {#f1}
|
|
387
431
|
Content F1
|
|
@@ -400,15 +444,83 @@ Some paragraph with anchor {#p1}
|
|
|
400
444
|
Some paragraph without anchor
|
|
401
445
|
|
|
402
446
|
Some paragraph with anchor {#p2}
|
|
447
|
+
|
|
448
|
+
## F4 {#f4}
|
|
449
|
+
Content F4
|
|
450
|
+
[Header](../autotitle.md#header)
|
|
451
|
+
|
|
452
|
+
### F4.1 {#f4.1}
|
|
453
|
+
link with [some term1](*term1)
|
|
454
|
+
|
|
455
|
+
{% list tabs %}
|
|
456
|
+
|
|
457
|
+
- Название таба 1
|
|
458
|
+
|
|
459
|
+
Текст таба 1.
|
|
460
|
+
|
|
461
|
+
* Можно использовать списки.
|
|
462
|
+
* И **другую** разметку.
|
|
463
|
+
|
|
464
|
+
- Название таба 2
|
|
465
|
+
|
|
466
|
+
Текст таба 2.
|
|
467
|
+
|
|
468
|
+
{% endlist %}
|
|
469
|
+
|
|
470
|
+
[*term1]: Some description
|
|
403
471
|
"
|
|
404
472
|
`;
|
|
405
473
|
|
|
406
474
|
exports[`Regression > internal 17`] = `
|
|
407
475
|
"---
|
|
476
|
+
metadata:
|
|
477
|
+
- name: generator
|
|
478
|
+
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
408
479
|
__system:
|
|
409
480
|
testVar: test-value
|
|
481
|
+
vcsPath: includes/fragments.md
|
|
410
482
|
---
|
|
411
|
-
|
|
483
|
+
### F1 {#f1}
|
|
484
|
+
Content F1
|
|
485
|
+
|
|
486
|
+
## F2 {#f2}
|
|
487
|
+
Content F2
|
|
488
|
+
|
|
489
|
+
### F2.1 {#f2.1}
|
|
490
|
+
Content F2.1
|
|
491
|
+
|
|
492
|
+
## F3 {#f3}
|
|
493
|
+
Content F3
|
|
494
|
+
|
|
495
|
+
Some paragraph with anchor {#p1}
|
|
496
|
+
|
|
497
|
+
Some paragraph without anchor
|
|
498
|
+
|
|
499
|
+
Some paragraph with anchor {#p2}
|
|
500
|
+
|
|
501
|
+
## F4 {#f4}
|
|
502
|
+
Content F4
|
|
503
|
+
[Header](../autotitle.md#header)
|
|
504
|
+
|
|
505
|
+
### F4.1 {#f4.1}
|
|
506
|
+
link with [some term1](*term1)
|
|
507
|
+
|
|
508
|
+
{% list tabs %}
|
|
509
|
+
|
|
510
|
+
- Название таба 1
|
|
511
|
+
|
|
512
|
+
Текст таба 1.
|
|
513
|
+
|
|
514
|
+
* Можно использовать списки.
|
|
515
|
+
* И **другую** разметку.
|
|
516
|
+
|
|
517
|
+
- Название таба 2
|
|
518
|
+
|
|
519
|
+
Текст таба 2.
|
|
520
|
+
|
|
521
|
+
{% endlist %}
|
|
522
|
+
|
|
523
|
+
[*term1]: Some description
|
|
412
524
|
"
|
|
413
525
|
`;
|
|
414
526
|
|
|
@@ -417,7 +529,14 @@ exports[`Regression > internal 18`] = `
|
|
|
417
529
|
__system:
|
|
418
530
|
testVar: test-value
|
|
419
531
|
---
|
|
420
|
-
|
|
532
|
+
<style>
|
|
533
|
+
|
|
534
|
+
.yfm .border-yes {
|
|
535
|
+
border: 1px solid #ccc;
|
|
536
|
+
border-radius: 10px;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
</style>
|
|
421
540
|
"
|
|
422
541
|
`;
|
|
423
542
|
|
|
@@ -426,11 +545,29 @@ exports[`Regression > internal 19`] = `
|
|
|
426
545
|
__system:
|
|
427
546
|
testVar: test-value
|
|
428
547
|
---
|
|
429
|
-
|
|
548
|
+
Test
|
|
430
549
|
"
|
|
431
550
|
`;
|
|
432
551
|
|
|
433
552
|
exports[`Regression > internal 20`] = `
|
|
553
|
+
"---
|
|
554
|
+
__system:
|
|
555
|
+
testVar: test-value
|
|
556
|
+
---
|
|
557
|
+
Tool: Hammer and Laser
|
|
558
|
+
"
|
|
559
|
+
`;
|
|
560
|
+
|
|
561
|
+
exports[`Regression > internal 21`] = `
|
|
562
|
+
"---
|
|
563
|
+
__system:
|
|
564
|
+
testVar: test-value
|
|
565
|
+
---
|
|
566
|
+
Bob
|
|
567
|
+
"
|
|
568
|
+
`;
|
|
569
|
+
|
|
570
|
+
exports[`Regression > internal 22`] = `
|
|
434
571
|
"description:
|
|
435
572
|
- Some text
|
|
436
573
|
links:
|
|
@@ -448,7 +585,7 @@ meta:
|
|
|
448
585
|
"
|
|
449
586
|
`;
|
|
450
587
|
|
|
451
|
-
exports[`Regression > internal
|
|
588
|
+
exports[`Regression > internal 23`] = `
|
|
452
589
|
"---
|
|
453
590
|
metadata:
|
|
454
591
|
- name: generator
|
|
@@ -463,7 +600,7 @@ $/sqrt{3x-1}+(1+x)^2$
|
|
|
463
600
|
"
|
|
464
601
|
`;
|
|
465
602
|
|
|
466
|
-
exports[`Regression > internal
|
|
603
|
+
exports[`Regression > internal 24`] = `
|
|
467
604
|
"---
|
|
468
605
|
metadata:
|
|
469
606
|
- name: generator
|
|
@@ -480,7 +617,7 @@ vcsPath: merge/merge.md
|
|
|
480
617
|
"
|
|
481
618
|
`;
|
|
482
619
|
|
|
483
|
-
exports[`Regression > internal
|
|
620
|
+
exports[`Regression > internal 25`] = `
|
|
484
621
|
"---
|
|
485
622
|
metadata:
|
|
486
623
|
- name: generator
|
|
@@ -496,7 +633,7 @@ Should be linked in toc.yaml
|
|
|
496
633
|
"
|
|
497
634
|
`;
|
|
498
635
|
|
|
499
|
-
exports[`Regression > internal
|
|
636
|
+
exports[`Regression > internal 26`] = `
|
|
500
637
|
"items:
|
|
501
638
|
- name: Use merged
|
|
502
639
|
href: merge.md
|
|
@@ -508,7 +645,7 @@ path: merge/toc.yaml
|
|
|
508
645
|
"
|
|
509
646
|
`;
|
|
510
647
|
|
|
511
|
-
exports[`Regression > internal
|
|
648
|
+
exports[`Regression > internal 27`] = `
|
|
512
649
|
"---
|
|
513
650
|
metadata:
|
|
514
651
|
- name: generator
|
|
@@ -533,7 +670,7 @@ Some mermaid info
|
|
|
533
670
|
"
|
|
534
671
|
`;
|
|
535
672
|
|
|
536
|
-
exports[`Regression > internal
|
|
673
|
+
exports[`Regression > internal 28`] = `
|
|
537
674
|
"---
|
|
538
675
|
metadata:
|
|
539
676
|
- name: generator
|
|
@@ -827,7 +964,7 @@ vcsPath: openapi/index.md
|
|
|
827
964
|
{% endcut %}"
|
|
828
965
|
`;
|
|
829
966
|
|
|
830
|
-
exports[`Regression > internal
|
|
967
|
+
exports[`Regression > internal 29`] = `
|
|
831
968
|
"---
|
|
832
969
|
metadata:
|
|
833
970
|
- name: generator
|
|
@@ -1025,7 +1162,7 @@ _Example:_{.json-schema-reset .json-schema-example} \`example\`
|
|
|
1025
1162
|
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
1026
1163
|
`;
|
|
1027
1164
|
|
|
1028
|
-
exports[`Regression > internal
|
|
1165
|
+
exports[`Regression > internal 30`] = `
|
|
1029
1166
|
"---
|
|
1030
1167
|
metadata:
|
|
1031
1168
|
- name: generator
|
|
@@ -1107,7 +1244,7 @@ _Example:_{.json-schema-reset .json-schema-example} \`example\`
|
|
|
1107
1244
|
[*Deprecated]: No longer supported, please use an alternative and newer version."
|
|
1108
1245
|
`;
|
|
1109
1246
|
|
|
1110
|
-
exports[`Regression > internal
|
|
1247
|
+
exports[`Regression > internal 31`] = `
|
|
1111
1248
|
"---
|
|
1112
1249
|
metadata:
|
|
1113
1250
|
- name: generator
|
|
@@ -1127,7 +1264,7 @@ vcsPath: openapi/test-controller/index.md
|
|
|
1127
1264
|
"
|
|
1128
1265
|
`;
|
|
1129
1266
|
|
|
1130
|
-
exports[`Regression > internal
|
|
1267
|
+
exports[`Regression > internal 32`] = `
|
|
1131
1268
|
"files:
|
|
1132
1269
|
- from: c.md
|
|
1133
1270
|
to: d.md
|
|
@@ -1137,7 +1274,7 @@ common:
|
|
|
1137
1274
|
"
|
|
1138
1275
|
`;
|
|
1139
1276
|
|
|
1140
|
-
exports[`Regression > internal
|
|
1277
|
+
exports[`Regression > internal 33`] = `
|
|
1141
1278
|
"---
|
|
1142
1279
|
metadata:
|
|
1143
1280
|
- name: generator
|
|
@@ -1154,7 +1291,7 @@ Item 1 text
|
|
|
1154
1291
|
"
|
|
1155
1292
|
`;
|
|
1156
1293
|
|
|
1157
|
-
exports[`Regression > internal
|
|
1294
|
+
exports[`Regression > internal 34`] = `
|
|
1158
1295
|
"items:
|
|
1159
1296
|
- name: Verbose root (index.yaml) will be transformed to index.html
|
|
1160
1297
|
href: index.yaml
|
|
@@ -1167,6 +1304,8 @@ exports[`Regression > internal 32`] = `
|
|
|
1167
1304
|
- name: Item with empty href
|
|
1168
1305
|
- name: Multitoc item
|
|
1169
1306
|
href: merge/merged.md
|
|
1307
|
+
- name: Fragments
|
|
1308
|
+
href: includes/fragments.md
|
|
1170
1309
|
- name: Included Item
|
|
1171
1310
|
href: included-item.md
|
|
1172
1311
|
- name: Named include (items is Object here - this is not an error)
|
|
@@ -1217,13 +1356,13 @@ path: toc.yaml
|
|
|
1217
1356
|
"
|
|
1218
1357
|
`;
|
|
1219
1358
|
|
|
1220
|
-
exports[`Regression > internal
|
|
1359
|
+
exports[`Regression > internal 35`] = `
|
|
1221
1360
|
"preprocess:
|
|
1222
1361
|
mergeAutotitles: true
|
|
1223
1362
|
"
|
|
1224
1363
|
`;
|
|
1225
1364
|
|
|
1226
|
-
exports[`Regression > internal
|
|
1365
|
+
exports[`Regression > internal 36`] = `
|
|
1227
1366
|
"<!DOCTYPE html>
|
|
1228
1367
|
<html lang="ru" dir="ltr">
|
|
1229
1368
|
<head>
|
|
@@ -1237,7 +1376,7 @@ exports[`Regression > internal 34`] = `
|
|
|
1237
1376
|
<body class="g-root g-root_theme_light">
|
|
1238
1377
|
<div id="root"></div>
|
|
1239
1378
|
<script type="application/json" id="diplodoc-state">
|
|
1240
|
-
{"data":{"leading":false,"html":"<p>Text {{not-var}} {{skip()}} default-var-value</p>/n<p>Text <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id
|
|
1379
|
+
{"data":{"leading":false,"html":"<p>Text {{not-var}} {{skip()}} default-var-value</p>/n<p>Text <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-1\\">{{not-var}}</code> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-2\\">{{skip()}}</code> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-3\\">default-var-value</code></p>/n<p>Text</p>/n/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs\\">{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"9\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n<p><code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-4\\">[not a link](./path/to/relative/file.md)</code></p>/n<h2 id=\\"subtitle\\"><a href=\\"1.html#subtitle\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subtitle</span></a>Subtitle</h2>/n<p><a href=\\"mermaid.html\\">Mermaid usage</a></p>/n<p><a href=\\"mermaid.html#info\\">Mermaid info</a></p>/n<p><a href=\\"latex.html\\">Latex usage</a></p>/n<p><a href=\\"includes\\">noext-link</a></p>/n<p>Bob</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"1.md"},"headings":[{"title":"Subtitle","href":"1.html#subtitle","level":2}],"title":"Title"},"router":{"pathname":"1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1241
1380
|
</script>
|
|
1242
1381
|
<script type="application/javascript">
|
|
1243
1382
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1251,7 +1390,7 @@ exports[`Regression > internal 34`] = `
|
|
|
1251
1390
|
</html>"
|
|
1252
1391
|
`;
|
|
1253
1392
|
|
|
1254
|
-
exports[`Regression > internal
|
|
1393
|
+
exports[`Regression > internal 37`] = `
|
|
1255
1394
|
"<!DOCTYPE html>
|
|
1256
1395
|
<html lang="ru" dir="ltr">
|
|
1257
1396
|
<head>
|
|
@@ -1265,7 +1404,7 @@ exports[`Regression > internal 35`] = `
|
|
|
1265
1404
|
<body class="g-root g-root_theme_light">
|
|
1266
1405
|
<div id="root"></div>
|
|
1267
1406
|
<script type="application/json" id="diplodoc-state">
|
|
1268
|
-
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Circular title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"autotitle.md"},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1407
|
+
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Circular title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Autotitle from include</p>/n/n<p>Include with autotitle</p>/n/n<p>link with <i class=\\"yfm yfm-term_title\\" term-key=\\":term1-1\\" role=\\"button\\" aria-controls=\\":term1-1_element\\" tabindex=\\"0\\" id=\\"term1-1-1\\">some local term1</i></p>/n<div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-2\\" data-diplodoc-variant=\\"regular\\">/n<div class=\\"yfm-tab-list\\" role=\\"tablist\\">/n<div data-diplodoc-id=\\"название-таба-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-3\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\">Название таба 1</div>/n<div data-diplodoc-id=\\"название-таба-2\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-4\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\">Название таба 2</div>/n</div>/n<div id=\\"regular-3\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\">/n<p>Текст таба 1.</p>/n<ul>/n<li>Можно использовать списки.</li>/n<li>И <strong>другую</strong> разметку.</li>/n</ul>/n</div>/n<div id=\\"regular-4\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\">/n<p>Текст таба 2.</p>/n</div>/n</div>/n<p>All fragments</p>/n<h3 id=\\"f1\\"><a href=\\"autotitle.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F1</span></a>F1</h3>/n<p>Content F1</p>/n<h2 id=\\"f2\\"><a href=\\"autotitle.html#f2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F2</span></a>F2</h2>/n<p>Content F2</p>/n<h3 id=\\"f2.1\\"><a href=\\"autotitle.html#f2.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F2.1</span></a>F2.1</h3>/n<p>Content F2.1</p>/n<h2 id=\\"f3\\"><a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a><a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a>F3</h2>/n<p>Content F3</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n<h2 id=\\"f4\\"><a href=\\"autotitle.html#f4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F4</span></a>F4</h2>/n<p>Content F4<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h3 id=\\"f4.1\\"><a href=\\"autotitle.html#f4.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F4.1</span></a>F4.1</h3>/n<p>link with <i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-1\\">some term1</i></p>/n<div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-1\\" data-diplodoc-variant=\\"regular\\">/n<div class=\\"yfm-tab-list\\" role=\\"tablist\\">/n<div data-diplodoc-id=\\"название-таба-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-1\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\">Название таба 1</div>/n<div data-diplodoc-id=\\"название-таба-2\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-2\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\">Название таба 2</div>/n</div>/n<div id=\\"regular-1\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\">/n<p>Текст таба 1.</p>/n<ul>/n<li>Можно использовать списки.</li>/n<li>И <strong>другую</strong> разметку.</li>/n</ul>/n</div>/n<div id=\\"regular-2\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\">/n<p>Текст таба 2.</p>/n</div>/n</div>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"><p>Some description</p>/n</dfn><h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content2</p>/n<style>.yfm .border-yes {/n border: 1px solid #ccc;/n border-radius: 10px;/n}</style>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1-1_element\\" role=\\"dialog\\"><h2 id=\\"f31\\"><a href=\\"autotitle.html#f31\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a><a href=\\"autotitle.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a>F3</h2>/n<p>Content F3</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"autotitle.md"},"headings":[{"title":"F2","href":"autotitle.html#f2","level":2,"items":[{"title":"F2.1","href":"autotitle.html#f2.1","level":3}]},{"title":"F3","href":"autotitle.html#f3","level":2},{"title":"F4","href":"autotitle.html#f4","level":2,"items":[{"title":"F4.1","href":"autotitle.html#f4.1","level":3}]},{"title":"Header","href":"autotitle.html#header","level":2},{"title":"F3","href":"autotitle.html#f31","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1269
1408
|
</script>
|
|
1270
1409
|
<script type="application/javascript">
|
|
1271
1410
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1279,7 +1418,7 @@ exports[`Regression > internal 35`] = `
|
|
|
1279
1418
|
</html>"
|
|
1280
1419
|
`;
|
|
1281
1420
|
|
|
1282
|
-
exports[`Regression > internal
|
|
1421
|
+
exports[`Regression > internal 38`] = `
|
|
1283
1422
|
"<!DOCTYPE html>
|
|
1284
1423
|
<html lang="ru" dir="ltr">
|
|
1285
1424
|
<head>
|
|
@@ -1307,7 +1446,7 @@ exports[`Regression > internal 36`] = `
|
|
|
1307
1446
|
</html>"
|
|
1308
1447
|
`;
|
|
1309
1448
|
|
|
1310
|
-
exports[`Regression > internal
|
|
1449
|
+
exports[`Regression > internal 39`] = `
|
|
1311
1450
|
"<!DOCTYPE html>
|
|
1312
1451
|
<html lang="ru" dir="ltr">
|
|
1313
1452
|
<head>
|
|
@@ -1335,7 +1474,7 @@ exports[`Regression > internal 37`] = `
|
|
|
1335
1474
|
</html>"
|
|
1336
1475
|
`;
|
|
1337
1476
|
|
|
1338
|
-
exports[`Regression > internal
|
|
1477
|
+
exports[`Regression > internal 40`] = `
|
|
1339
1478
|
"<!DOCTYPE html>
|
|
1340
1479
|
<html lang="ru" dir="ltr">
|
|
1341
1480
|
<head>
|
|
@@ -1363,7 +1502,7 @@ exports[`Regression > internal 38`] = `
|
|
|
1363
1502
|
</html>"
|
|
1364
1503
|
`;
|
|
1365
1504
|
|
|
1366
|
-
exports[`Regression > internal
|
|
1505
|
+
exports[`Regression > internal 41`] = `
|
|
1367
1506
|
"<!DOCTYPE html>
|
|
1368
1507
|
<html lang="ru" dir="ltr">
|
|
1369
1508
|
<head>
|
|
@@ -1391,7 +1530,7 @@ exports[`Regression > internal 39`] = `
|
|
|
1391
1530
|
</html>"
|
|
1392
1531
|
`;
|
|
1393
1532
|
|
|
1394
|
-
exports[`Regression > internal
|
|
1533
|
+
exports[`Regression > internal 42`] = `
|
|
1395
1534
|
"<!DOCTYPE html>
|
|
1396
1535
|
<html lang="ru" dir="ltr">
|
|
1397
1536
|
<head>
|
|
@@ -1419,7 +1558,7 @@ exports[`Regression > internal 40`] = `
|
|
|
1419
1558
|
</html>"
|
|
1420
1559
|
`;
|
|
1421
1560
|
|
|
1422
|
-
exports[`Regression > internal
|
|
1561
|
+
exports[`Regression > internal 43`] = `
|
|
1423
1562
|
"<!DOCTYPE html>
|
|
1424
1563
|
<html lang="ru" dir="ltr">
|
|
1425
1564
|
<head>
|
|
@@ -1447,7 +1586,7 @@ exports[`Regression > internal 41`] = `
|
|
|
1447
1586
|
</html>"
|
|
1448
1587
|
`;
|
|
1449
1588
|
|
|
1450
|
-
exports[`Regression > internal
|
|
1589
|
+
exports[`Regression > internal 44`] = `
|
|
1451
1590
|
"<!DOCTYPE html>
|
|
1452
1591
|
<html lang="ru" dir="ltr">
|
|
1453
1592
|
<head>
|
|
@@ -1475,7 +1614,7 @@ exports[`Regression > internal 42`] = `
|
|
|
1475
1614
|
</html>"
|
|
1476
1615
|
`;
|
|
1477
1616
|
|
|
1478
|
-
exports[`Regression > internal
|
|
1617
|
+
exports[`Regression > internal 45`] = `
|
|
1479
1618
|
"<!DOCTYPE html>
|
|
1480
1619
|
<html lang="ru" dir="ltr">
|
|
1481
1620
|
<head>
|
|
@@ -1503,7 +1642,7 @@ exports[`Regression > internal 43`] = `
|
|
|
1503
1642
|
</html>"
|
|
1504
1643
|
`;
|
|
1505
1644
|
|
|
1506
|
-
exports[`Regression > internal
|
|
1645
|
+
exports[`Regression > internal 46`] = `
|
|
1507
1646
|
"<!DOCTYPE html>
|
|
1508
1647
|
<html lang="ru" dir="ltr">
|
|
1509
1648
|
<head>
|
|
@@ -1531,7 +1670,7 @@ exports[`Regression > internal 44`] = `
|
|
|
1531
1670
|
</html>"
|
|
1532
1671
|
`;
|
|
1533
1672
|
|
|
1534
|
-
exports[`Regression > internal
|
|
1673
|
+
exports[`Regression > internal 47`] = `
|
|
1535
1674
|
"<!DOCTYPE html>
|
|
1536
1675
|
<html lang="ru" dir="ltr">
|
|
1537
1676
|
<head>
|
|
@@ -1559,7 +1698,7 @@ exports[`Regression > internal 45`] = `
|
|
|
1559
1698
|
</html>"
|
|
1560
1699
|
`;
|
|
1561
1700
|
|
|
1562
|
-
exports[`Regression > internal
|
|
1701
|
+
exports[`Regression > internal 48`] = `
|
|
1563
1702
|
"<!DOCTYPE html>
|
|
1564
1703
|
<html lang="ru" dir="ltr">
|
|
1565
1704
|
<head>
|
|
@@ -1573,7 +1712,7 @@ exports[`Regression > internal 46`] = `
|
|
|
1573
1712
|
<body class="g-root g-root_theme_light">
|
|
1574
1713
|
<div id="root"></div>
|
|
1575
1714
|
<script type="application/json" id="diplodoc-state">
|
|
1576
|
-
{"data":{"leading":false,"html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/n<h3 id=\\"f1\\"><a href=\\"includes.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F1</span></a>F1</h3>/n<p>Content F1</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n/n<p>Bob</p>/n<p><a href=\\"latex.html\\"><img src=\\"_assets/3.png\\" alt=\\"img 3\\" /></a></p>/n<p><sup><i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID\\">?</i></sup></p>/n<p>[<i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID\\">?</i>](http://ya.ru)</p>/n<p>Link after include<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Link after include</p>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":term_element\\" role=\\"dialog\\"><p>Test terms</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includes.md"},"headings":[],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1715
|
+
{"data":{"leading":false,"html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/n<h3 id=\\"f1\\"><a href=\\"includes.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F1</span></a>F1</h3>/n<p>Content F1</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n/n<p>Bob</p>/n<p><a href=\\"latex.html\\"><img src=\\"_assets/3.png\\" alt=\\"img 3\\" /></a></p>/n<p><sup><i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID-2\\">?</i></sup></p>/n<p>[<i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID-1\\">?</i>](http://ya.ru)</p>/n<p><i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-2\\">Term 1</i> <i class=\\"yfm yfm-term_title\\" term-key=\\":term2\\" role=\\"button\\" aria-controls=\\":term2_element\\" tabindex=\\"0\\" id=\\"term2-1\\">Term 2</i></p>/n<p>Link after include<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Autotitle include</p>/n/n<p>Link after include</p>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":term_element\\" role=\\"dialog\\"><p>Test terms</p>/n</dfn><dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"><h2 id=\\"f3\\"><a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a><a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a>F3</h2>/n<p>Content F3</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n</dfn><dfn class=\\"yfm yfm-term_dfn\\" id=\\":term2_element\\" role=\\"dialog\\"><h2 id=\\"f31\\"><a href=\\"includes.html#f31\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a><a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a><a href=\\"includes.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a>F3</h2>/n<p>Content F3</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includes.md"},"headings":[{"title":"F3","href":"includes.html#f3","level":2},{"title":"F3","href":"includes.html#f31","level":2}],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1577
1716
|
</script>
|
|
1578
1717
|
<script type="application/javascript">
|
|
1579
1718
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1587,7 +1726,35 @@ exports[`Regression > internal 46`] = `
|
|
|
1587
1726
|
</html>"
|
|
1588
1727
|
`;
|
|
1589
1728
|
|
|
1590
|
-
exports[`Regression > internal
|
|
1729
|
+
exports[`Regression > internal 49`] = `
|
|
1730
|
+
"<!DOCTYPE html>
|
|
1731
|
+
<html lang="ru" dir="ltr">
|
|
1732
|
+
<head>
|
|
1733
|
+
<meta charset="utf-8">
|
|
1734
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1735
|
+
<base href="../" />
|
|
1736
|
+
<title></title>
|
|
1737
|
+
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1738
|
+
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1739
|
+
</head>
|
|
1740
|
+
<body class="g-root g-root_theme_light">
|
|
1741
|
+
<div id="root"></div>
|
|
1742
|
+
<script type="application/json" id="diplodoc-state">
|
|
1743
|
+
{"data":{"leading":false,"html":"<h3 id=\\"f1\\"><a href=\\"includes/fragments.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F1</span></a>F1</h3>/n<p>Content F1</p>/n<h2 id=\\"f2\\"><a href=\\"includes/fragments.html#f2\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F2</span></a>F2</h2>/n<p>Content F2</p>/n<h3 id=\\"f2.1\\"><a href=\\"includes/fragments.html#f2.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F2.1</span></a>F2.1</h3>/n<p>Content F2.1</p>/n<h2 id=\\"f3\\"><a href=\\"includes/fragments.html#f3\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F3</span></a>F3</h2>/n<p>Content F3</p>/n<p id=\\"p1\\">Some paragraph with anchor</p>/n<p>Some paragraph without anchor</p>/n<p id=\\"p2\\">Some paragraph with anchor</p>/n<h2 id=\\"f4\\"><a href=\\"includes/fragments.html#f4\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F4</span></a>F4</h2>/n<p>Content F4<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h3 id=\\"f4.1\\"><a href=\\"includes/fragments.html#f4.1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">F4.1</span></a>F4.1</h3>/n<p>link with <i class=\\"yfm yfm-term_title\\" term-key=\\":term1\\" role=\\"button\\" aria-controls=\\":term1_element\\" tabindex=\\"0\\" id=\\"term1-1\\">some term1</i></p>/n<div class=\\"yfm-tabs\\" data-diplodoc-group=\\"defaultTabsGroup-1\\" data-diplodoc-variant=\\"regular\\">/n<div class=\\"yfm-tab-list\\" role=\\"tablist\\">/n<div data-diplodoc-id=\\"название-таба-1\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%201\\" class=\\"yfm-tab yfm-tab-group active\\" role=\\"tab\\" aria-controls=\\"regular-1\\" tabindex=\\"0\\" data-diplodoc-is-active=\\"true\\">Название таба 1</div>/n<div data-diplodoc-id=\\"название-таба-2\\" data-diplodoc-key=\\"%d0%9d%d0%b0%d0%b7%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%20%d1%82%d0%b0%d0%b1%d0%b0%202\\" class=\\"yfm-tab yfm-tab-group\\" role=\\"tab\\" aria-controls=\\"regular-2\\" tabindex=\\"-1\\" data-diplodoc-is-active=\\"false\\">Название таба 2</div>/n</div>/n<div id=\\"regular-1\\" class=\\"yfm-tab-panel active\\" role=\\"tabpanel\\" data-title=\\"Название таба 1\\">/n<p>Текст таба 1.</p>/n<ul>/n<li>Можно использовать списки.</li>/n<li>И <strong>другую</strong> разметку.</li>/n</ul>/n</div>/n<div id=\\"regular-2\\" class=\\"yfm-tab-panel\\" role=\\"tabpanel\\" data-title=\\"Название таба 2\\">/n<p>Текст таба 2.</p>/n</div>/n</div>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":term1_element\\" role=\\"dialog\\"><p>Some description</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"includes/fragments.md"},"headings":[{"title":"F2","href":"includes/fragments.html#f2","level":2,"items":[{"title":"F2.1","href":"includes/fragments.html#f2.1","level":3}]},{"title":"F3","href":"includes/fragments.html#f3","level":2},{"title":"F4","href":"includes/fragments.html#f4","level":2,"items":[{"title":"F4.1","href":"includes/fragments.html#f4.1","level":3}]}],"title":""},"router":{"pathname":"includes/fragments","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1744
|
+
</script>
|
|
1745
|
+
<script type="application/javascript">
|
|
1746
|
+
const data = document.querySelector('script#diplodoc-state');
|
|
1747
|
+
window.__DATA__ = JSON.parse((function unescape(string) {
|
|
1748
|
+
return string.replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&");
|
|
1749
|
+
})(data.innerText));
|
|
1750
|
+
window.STATIC_CONTENT = false;
|
|
1751
|
+
</script>
|
|
1752
|
+
<script type="application/javascript" defer src="toc.js"></script>
|
|
1753
|
+
</body>
|
|
1754
|
+
</html>"
|
|
1755
|
+
`;
|
|
1756
|
+
|
|
1757
|
+
exports[`Regression > internal 50`] = `
|
|
1591
1758
|
"<!DOCTYPE html>
|
|
1592
1759
|
<html lang="ru" dir="ltr">
|
|
1593
1760
|
<head>
|
|
@@ -1615,7 +1782,7 @@ exports[`Regression > internal 47`] = `
|
|
|
1615
1782
|
</html>"
|
|
1616
1783
|
`;
|
|
1617
1784
|
|
|
1618
|
-
exports[`Regression > internal
|
|
1785
|
+
exports[`Regression > internal 51`] = `
|
|
1619
1786
|
"<!DOCTYPE html>
|
|
1620
1787
|
<html lang="ru" dir="ltr">
|
|
1621
1788
|
<head>
|
|
@@ -1643,7 +1810,7 @@ exports[`Regression > internal 48`] = `
|
|
|
1643
1810
|
</html>"
|
|
1644
1811
|
`;
|
|
1645
1812
|
|
|
1646
|
-
exports[`Regression > internal
|
|
1813
|
+
exports[`Regression > internal 52`] = `
|
|
1647
1814
|
"<!DOCTYPE html>
|
|
1648
1815
|
<html lang="ru" dir="ltr">
|
|
1649
1816
|
<head>
|
|
@@ -1671,7 +1838,7 @@ exports[`Regression > internal 49`] = `
|
|
|
1671
1838
|
</html>"
|
|
1672
1839
|
`;
|
|
1673
1840
|
|
|
1674
|
-
exports[`Regression > internal
|
|
1841
|
+
exports[`Regression > internal 53`] = `
|
|
1675
1842
|
"<!DOCTYPE html>
|
|
1676
1843
|
<html lang="ru" dir="ltr">
|
|
1677
1844
|
<head>
|
|
@@ -1699,9 +1866,9 @@ exports[`Regression > internal 50`] = `
|
|
|
1699
1866
|
</html>"
|
|
1700
1867
|
`;
|
|
1701
1868
|
|
|
1702
|
-
exports[`Regression > internal
|
|
1869
|
+
exports[`Regression > internal 54`] = `"window.__DATA__.data.toc = {"items":[{"name":"Use merged","href":"merge/merge.html","id":"UUID"},{"name":"Multitoc item","href":"1.html","id":"UUID"},{"name":"Merged item","href":"merge/merged.html","id":"UUID"}],"path":"merge/toc.yaml","id":"UUID"};"`;
|
|
1703
1870
|
|
|
1704
|
-
exports[`Regression > internal
|
|
1871
|
+
exports[`Regression > internal 55`] = `
|
|
1705
1872
|
"<!DOCTYPE html>
|
|
1706
1873
|
<html lang="ru" dir="ltr">
|
|
1707
1874
|
<head>
|
|
@@ -1729,7 +1896,7 @@ exports[`Regression > internal 52`] = `
|
|
|
1729
1896
|
</html>"
|
|
1730
1897
|
`;
|
|
1731
1898
|
|
|
1732
|
-
exports[`Regression > internal
|
|
1899
|
+
exports[`Regression > internal 56`] = `
|
|
1733
1900
|
"<!DOCTYPE html>
|
|
1734
1901
|
<html lang="ru" dir="ltr">
|
|
1735
1902
|
<head>
|
|
@@ -1739,12 +1906,11 @@ exports[`Regression > internal 53`] = `
|
|
|
1739
1906
|
<title></title>
|
|
1740
1907
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1741
1908
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1742
|
-
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1743
1909
|
</head>
|
|
1744
1910
|
<body class="g-root g-root_theme_light">
|
|
1745
1911
|
<div id="root"></div>
|
|
1746
1912
|
<script type="application/json" id="diplodoc-state">
|
|
1747
|
-
{"data":{"leading":false,"html":"<h1>OpenAPI definition</h1>/n<p><samp>version: v0</samp></p>/n<h2 id=\\"sections\\"><a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Sections</span></a>Sections</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/index.html\\">test-controller</a></li>/n</ul>/n<h2 id=\\"specification\\"><a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Specification</span></a>Specification</h2>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">Open API</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs text\\">{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"/hidden-test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Test x-hidden attribute\\",/n \\"description\\": \\"Test various x-hidden scenarios\\",/n \\"operationId\\": \\"getHiddenTest\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"Response with hidden fields\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n },/n \\"HiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"HiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"HiddenTestResponse\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n}/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"25\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-25\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-25\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-25.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/index.md"},"headings":[{"title":"Sections","href":"openapi/index.html#sections","level":2},{"title":"Specification","href":"openapi/index.html#specification","level":2}],"title":""},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1913
|
+
{"data":{"leading":false,"html":"<h1>OpenAPI definition</h1>/n<p><samp>version: v0</samp></p>/n<h2 id=\\"sections\\"><a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Sections</span></a>Sections</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/index.html\\">test-controller</a></li>/n</ul>/n<h2 id=\\"specification\\"><a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Specification</span></a>Specification</h2>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">Open API</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs text\\">{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"/hidden-test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Test x-hidden attribute\\",/n \\"description\\": \\"Test various x-hidden scenarios\\",/n \\"operationId\\": \\"getHiddenTest\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"Response with hidden fields\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n },/n \\"HiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"HiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"HiddenTestResponse\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Response object with various hidden field scenarios\\",/n \\"properties\\": {/n \\"visibleField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be visible\\"/n },/n \\"directlyHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden (direct x-hidden)\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenField\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"This entire object should be hidden\\",/n \\"x-hidden\\": true,/n \\"properties\\": {/n \\"secret\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"nestedObject\\": {/n \\"type\\": \\"object\\",/n \\"description\\": \\"Object with hidden properties\\",/n \\"properties\\": {/n \\"visibleNested\\": {/n \\"type\\": \\"string\\"/n },/n \\"hiddenNested\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"refToHiddenInNested\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n }/n },/n \\"arrayWithHiddenItems\\": {/n \\"type\\": \\"array\\",/n \\"description\\": \\"Array with hidden item schema\\",/n \\"items\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n }/n },/n \\"mixedVisibility\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"field1\\": {/n \\"type\\": \\"string\\"/n },/n \\"field2\\": {/n \\"type\\": \\"string\\",/n \\"description\\": \\"This field should be hidden\\",/n \\"x-hidden\\": true/n },/n \\"field3\\": {/n \\"type\\": \\"string\\"/n },/n \\"field4\\": {/n \\"type\\": \\"string\\",/n \\"x-hidden\\": true/n },/n \\"field5\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n}/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"25\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-25\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-25\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-25.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"openapi/index.md"},"headings":[{"title":"Sections","href":"openapi/index.html#sections","level":2},{"title":"Specification","href":"openapi/index.html#specification","level":2}],"title":""},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1748
1914
|
</script>
|
|
1749
1915
|
<script type="application/javascript">
|
|
1750
1916
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1754,12 +1920,11 @@ exports[`Regression > internal 53`] = `
|
|
|
1754
1920
|
window.STATIC_CONTENT = false;
|
|
1755
1921
|
</script>
|
|
1756
1922
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
1757
|
-
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1758
1923
|
</body>
|
|
1759
1924
|
</html>"
|
|
1760
1925
|
`;
|
|
1761
1926
|
|
|
1762
|
-
exports[`Regression > internal
|
|
1927
|
+
exports[`Regression > internal 57`] = `
|
|
1763
1928
|
"<!DOCTYPE html>
|
|
1764
1929
|
<html lang="ru" dir="ltr">
|
|
1765
1930
|
<head>
|
|
@@ -1769,12 +1934,11 @@ exports[`Regression > internal 54`] = `
|
|
|
1769
1934
|
<title></title>
|
|
1770
1935
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1771
1936
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1772
|
-
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1773
1937
|
</head>
|
|
1774
1938
|
<body class="g-root g-root_theme_light">
|
|
1775
1939
|
<div id="root"></div>
|
|
1776
1940
|
<script type="application/json" id="diplodoc-state">
|
|
1777
|
-
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Test x-hidden attribute</h1>/n/n<p>Test various x-hidden scenarios</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getHiddenTest.html#request\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/hidden-test/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"17\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getHiddenTest.html#responses\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getHiddenTest.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>Response with hidden fields</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getHiddenTest.html#body\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"visibleField\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"nestedObject\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"visibleNested\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n <span class=\\"hljs-punctuation\\">}</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"arrayWithHiddenItems\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-punctuation\\">[</span>/n <span class=\\"hljs-string\\">\\"example\\"</span>/n <span class=\\"hljs-punctuation\\">]</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"mixedVisibility\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"field1\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field3\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field5\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n <span class=\\"hljs-punctuation\\">}</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"43\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">arrayWithHiddenItems</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: <a href=\\"openapi/test-controller/getHiddenTest.html#entity-HiddenField\\">HiddenField</a>[]</p>/n<p>Array with hidden item schema</p>/n<details class=\\"yfm-cut json-schema-example\\"><summary class=\\"yfm-cut-title\\"><strong>Example</strong></summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">[</span>/n <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">]</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"78\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-78\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-78\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-78.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details></td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">mixedVisibility</em></p>/n</td>/n<td class=\\"table-cell\\">/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\"><strong>Type</strong>: object</summary><div class=\\"yfm-cut-content\\"><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">field1</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1">example</code></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">field3</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2">example</code></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">field5</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div></details><details class=\\"yfm-cut json-schema-example\\"><summary class=\\"yfm-cut-title\\"><strong>Example</strong></summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"field1\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field3\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field5\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"151\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-151\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-151\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-151.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details></td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">nestedObject</em></p>/n</td>/n<td class=\\"table-cell\\">/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\"><strong>Type</strong>: object</summary><div class=\\"yfm-cut-content\\"><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">visibleNested</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div></details><p>Object with hidden properties</p>/n<details class=\\"yfm-cut json-schema-example\\"><summary class=\\"yfm-cut-title\\"><strong>Example</strong></summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"visibleNested\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"197\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-197\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-197\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-197.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details></td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">visibleField</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p>This field should be visible</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-5">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n</div>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getHiddenTest.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getHiddenTest.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getHiddenTest.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getHiddenTest.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getHiddenTest.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getHiddenTest","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1941
|
+
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Test x-hidden attribute</h1>/n/n<p>Test various x-hidden scenarios</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getHiddenTest.html#request\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/hidden-test/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"17\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getHiddenTest.html#responses\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getHiddenTest.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>Response with hidden fields</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getHiddenTest.html#body\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"visibleField\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"nestedObject\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"visibleNested\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n <span class=\\"hljs-punctuation\\">}</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"arrayWithHiddenItems\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-punctuation\\">[</span>/n <span class=\\"hljs-string\\">\\"example\\"</span>/n <span class=\\"hljs-punctuation\\">]</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"mixedVisibility\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"field1\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field3\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field5\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n <span class=\\"hljs-punctuation\\">}</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"43\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">arrayWithHiddenItems</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: <a href=\\"openapi/test-controller/getHiddenTest.html#entity-HiddenField\\">HiddenField</a>[]</p>/n<p>Array with hidden item schema</p>/n<details class=\\"yfm-cut json-schema-example\\"><summary class=\\"yfm-cut-title\\"><strong>Example</strong></summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">[</span>/n <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">]</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"78\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-78\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-78\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-78.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details></td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">mixedVisibility</em></p>/n</td>/n<td class=\\"table-cell\\">/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\"><strong>Type</strong>: object</summary><div class=\\"yfm-cut-content\\"><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">field1</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-1\\">example</code></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">field3</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-2\\">example</code></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">field5</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-3\\">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div></details><details class=\\"yfm-cut json-schema-example\\"><summary class=\\"yfm-cut-title\\"><strong>Example</strong></summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"field1\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field3\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span><span class=\\"hljs-punctuation\\">,</span>/n <span class=\\"hljs-attr\\">\\"field5\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"151\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-151\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-151\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-151.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details></td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">nestedObject</em></p>/n</td>/n<td class=\\"table-cell\\">/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\"><strong>Type</strong>: object</summary><div class=\\"yfm-cut-content\\"><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">visibleNested</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-4\\">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div></details><p>Object with hidden properties</p>/n<details class=\\"yfm-cut json-schema-example\\"><summary class=\\"yfm-cut-title\\"><strong>Example</strong></summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"visibleNested\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"197\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-197\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-197\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-197.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details></td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">visibleField</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p>This field should be visible</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-5\\">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n</div>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"openapi/test-controller/getHiddenTest.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getHiddenTest.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getHiddenTest.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getHiddenTest.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getHiddenTest.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getHiddenTest","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1778
1942
|
</script>
|
|
1779
1943
|
<script type="application/javascript">
|
|
1780
1944
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1784,12 +1948,11 @@ exports[`Regression > internal 54`] = `
|
|
|
1784
1948
|
window.STATIC_CONTENT = false;
|
|
1785
1949
|
</script>
|
|
1786
1950
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
1787
|
-
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1788
1951
|
</body>
|
|
1789
1952
|
</html>"
|
|
1790
1953
|
`;
|
|
1791
1954
|
|
|
1792
|
-
exports[`Regression > internal
|
|
1955
|
+
exports[`Regression > internal 58`] = `
|
|
1793
1956
|
"<!DOCTYPE html>
|
|
1794
1957
|
<html lang="ru" dir="ltr">
|
|
1795
1958
|
<head>
|
|
@@ -1799,12 +1962,11 @@ exports[`Regression > internal 55`] = `
|
|
|
1799
1962
|
<title></title>
|
|
1800
1963
|
<meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
|
|
1801
1964
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
1802
|
-
<link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
|
|
1803
1965
|
</head>
|
|
1804
1966
|
<body class="g-root g-root_theme_light">
|
|
1805
1967
|
<div id="root"></div>
|
|
1806
1968
|
<script type="application/json" id="diplodoc-state">
|
|
1807
|
-
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/n/n<p>Defines a simple get operation with no inputs and a complex</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"17\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>200!!!!</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"A\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"43\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">A</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id
|
|
1969
|
+
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/n/n<p>Defines a simple get operation with no inputs and a complex</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"17\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>200!!!!</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-code-floating-container\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"A\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"example\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <div class=\\"yfm-code-floating\\">/n /n <button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"43\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n </div>/n</div></details><table class=\\"json-schema-properties\\">/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"table-cell\\">/n<p><em class=\\"json-schema-reset json-schema-property\\">A</em></p>/n</td>/n<td class=\\"table-cell\\">/n<p><strong>Type</strong>: string</p>/n<p><em class=\\"json-schema-reset json-schema-example\\">Example:</em> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id=\\"inline-code-id-1\\">example</code></p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n</div>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":[],"script":[],"vcsPath":"openapi/test-controller/getWithPayloadResponse.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getWithPayloadResponse.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getWithPayloadResponse.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getWithPayloadResponse.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getWithPayloadResponse.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getWithPayloadResponse","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1808
1970
|
</script>
|
|
1809
1971
|
<script type="application/javascript">
|
|
1810
1972
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1814,12 +1976,11 @@ exports[`Regression > internal 55`] = `
|
|
|
1814
1976
|
window.STATIC_CONTENT = false;
|
|
1815
1977
|
</script>
|
|
1816
1978
|
<script type="application/javascript" defer src="toc.js"></script>
|
|
1817
|
-
<script type="application/javascript" defer src="_assets/cut-extension.js"></script>
|
|
1818
1979
|
</body>
|
|
1819
1980
|
</html>"
|
|
1820
1981
|
`;
|
|
1821
1982
|
|
|
1822
|
-
exports[`Regression > internal
|
|
1983
|
+
exports[`Regression > internal 59`] = `
|
|
1823
1984
|
"<!DOCTYPE html>
|
|
1824
1985
|
<html lang="ru" dir="ltr">
|
|
1825
1986
|
<head>
|
|
@@ -1847,7 +2008,7 @@ exports[`Regression > internal 56`] = `
|
|
|
1847
2008
|
</html>"
|
|
1848
2009
|
`;
|
|
1849
2010
|
|
|
1850
|
-
exports[`Regression > internal
|
|
2011
|
+
exports[`Regression > internal 60`] = `
|
|
1851
2012
|
"<!DOCTYPE html>
|
|
1852
2013
|
<html lang="ru" dir="ltr">
|
|
1853
2014
|
<head>
|
|
@@ -1875,4 +2036,4 @@ exports[`Regression > internal 57`] = `
|
|
|
1875
2036
|
</html>"
|
|
1876
2037
|
`;
|
|
1877
2038
|
|
|
1878
|
-
exports[`Regression > internal
|
|
2039
|
+
exports[`Regression > internal 61`] = `"window.__DATA__.data.toc = {"items":[{"name":"Verbose root (index.yaml) will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Root will be transformed to index.html","href":"index.html","id":"UUID"},{"name":"Md item with not_var syntax","href":"1.html","id":"UUID"},{"name":"Md item named without extension","href":"1.html","id":"UUID"},{"name":"Item with empty href","id":"UUID"},{"name":"Multitoc item","href":"merge/merged.html","id":"UUID"},{"name":"Fragments","href":"includes/fragments.html","id":"UUID"},{"name":"Included Item","href":"included-item.html","id":"UUID"},{"name":"Named include (items is Object here - this is not an error)","items":[{"name":"Item 1","href":"sub/folder/item-1.html","id":"UUID"}],"id":"UUID"},{"href":"mermaid.html","name":"Mermaid usage","id":"UUID"},{"name":"Latex usage","href":"latex.html","id":"UUID"},{"name":"Images","href":"images.html","id":"UUID"},{"name":"Autotitle","href":"autotitle.html","id":"UUID"},{"name":"includes","href":"includes.html","id":"UUID"},{"name":"Entry as include","href":"entry-as-include.html","id":"UUID"},{"name":"Includer of entry","href":"includer-of-entry.html","id":"UUID"},{"name":"generic","items":[{"name":"Note 1","href":"generic/1.html","id":"UUID"},{"name":"Note 1","href":"generic/2.html","id":"UUID"},{"name":"3","href":"generic/3.html","id":"UUID"},{"name":"Sub notes","items":[{"name":"Sub note 1","href":"generic/Sub notes/1.html","id":"UUID"},{"name":"Sub note 2","href":"generic/Sub notes/2.html","id":"UUID"}],"id":"UUID"}],"id":"UUID"},{"name":"openapi","items":[{"name":"Overview","href":"openapi/index.html","id":"UUID"},{"name":"test-controller","items":[{"name":"Overview","href":"openapi/test-controller/index.html","id":"UUID"},{"href":"openapi/test-controller/getWithPayloadResponse.html","name":"Simple get operation. тест новой верстки 3","id":"UUID"},{"href":"openapi/test-controller/getHiddenTest.html","name":"Test x-hidden attribute","id":"UUID"}],"id":"UUID"}],"id":"UUID"}],"path":"toc.yaml","id":"UUID"};"`;
|