@diplodoc/cli-tests 5.17.3 → 5.18.0

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.
@@ -429,6 +429,8 @@ metadata:
429
429
  content: Diplodoc Platform vDIPLODOC-VERSION
430
430
  vcsPath: openapi/index.md
431
431
  ---
432
+ <!-- markdownlint-disable-file -->
433
+
432
434
  # OpenAPI definition
433
435
 
434
436
  ##version: v0##
@@ -442,7 +444,6 @@ vcsPath: openapi/index.md
442
444
 
443
445
  {% cut "Open API" %}
444
446
 
445
-
446
447
  \`\`\`text translate=no
447
448
  {
448
449
  "openapi": "3.0.1",
@@ -516,10 +517,7 @@ vcsPath: openapi/index.md
516
517
  }
517
518
  \`\`\`
518
519
 
519
-
520
- {% endcut %}
521
-
522
- <!-- markdownlint-disable-file -->"
520
+ {% endcut %}"
523
521
  `;
524
522
 
525
523
  exports[`Regression > internal 24`] = `
@@ -533,6 +531,8 @@ vcsPath: openapi/test-controller/getWithPayloadResponse.md
533
531
 
534
532
  # Simple get operation. тест новой верстки 3
535
533
 
534
+ <!-- markdownlint-disable-file -->
535
+
536
536
  Defines a simple get operation with no inputs and a complex
537
537
 
538
538
  ## Request
@@ -543,13 +543,11 @@ Defines a simple get operation with no inputs and a complex
543
543
 
544
544
  <div class="openapi__request">
545
545
 
546
- GET {.openapi__method}
546
+ GET {.openapi__method}
547
547
  \`\`\`text translate=no
548
548
  http://localhost:8080/test
549
549
  \`\`\`
550
550
 
551
-
552
-
553
551
  </div>
554
552
 
555
553
  Generated server url
@@ -572,38 +570,33 @@ Generated server url
572
570
 
573
571
  {% cut "application/json" %}
574
572
 
575
-
576
573
  \`\`\`json translate=no
577
574
  {
578
- "A": "string"
575
+ "A": "example"
579
576
  }
580
577
  \`\`\`
581
578
 
582
-
583
579
  {% endcut %}
584
580
 
585
-
586
- #|||
587
- **Name**
588
- |
589
- **Description**
581
+ #|
582
+ || **Name** | **Description** ||
590
583
  ||
591
584
 
585
+ _A_{.json-schema-reset .json-schema-property}
586
+ {.table-cell}|
587
+ **Type**: string
588
+
589
+ _Example:_{.json-schema-reset .json-schema-example} \`example\`
590
+ {.table-cell}
592
591
  ||
593
- A {.openapi-table-parameter-name}
594
- |
595
- **Type:** string
596
- |||#{.openapi-table}
592
+ |#{.json-schema-properties}
597
593
 
598
594
  </div>
599
595
 
600
596
  </div>
601
- <!-- markdownlint-disable-file -->
602
597
 
603
598
  </div>
604
599
 
605
-
606
-
607
600
  [*Deprecated]: No longer supported, please use an alternative and newer version."
608
601
  `;
609
602
 
@@ -616,11 +609,12 @@ vcsPath: openapi/test-controller/index.md
616
609
  ---
617
610
  # test-controller
618
611
 
612
+ <!-- markdownlint-disable-file -->
613
+
619
614
  ## Endpoints
620
615
 
621
616
  - [Simple get operation. тест новой верстки 3](getWithPayloadResponse.md)
622
-
623
- <!-- markdownlint-disable-file -->"
617
+ "
624
618
  `;
625
619
 
626
620
  exports[`Regression > internal 26`] = `
@@ -1168,7 +1162,7 @@ exports[`Regression > internal 47`] = `
1168
1162
  <meta charset="utf-8">
1169
1163
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
1170
1164
  <base href="../" />
1171
- <title>OpenAPI definition</title>
1165
+ <title></title>
1172
1166
  <meta name="generator" content="Diplodoc Platform vDIPLODOC-VERSION">
1173
1167
  <style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
1174
1168
  <link type="text/css" rel="stylesheet" href="_assets/cut-extension.css"/>
@@ -1176,7 +1170,7 @@ exports[`Regression > internal 47`] = `
1176
1170
  <body class="g-root g-root_theme_light">
1177
1171
  <div id="root"></div>
1178
1172
  <script type="application/json" id="diplodoc-state">
1179
- {"data":{"leading":false,"html":"&lt;p&gt;&lt;samp&gt;version: v0&lt;/samp&gt;&lt;/p&gt;/n&lt;h2 id=\\"sections\\"&gt;&lt;a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Sections&lt;/span&gt;&lt;/a&gt;Sections&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/index.html\\"&gt;test-controller&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n&lt;h2 id=\\"specification\\"&gt;&lt;a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Specification&lt;/span&gt;&lt;/a&gt;Specification&lt;/h2&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;Open API&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-clipboard\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;{/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 },/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 }/n }/n}/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;button class=\\"yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"21\\"&gt;/n &lt;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\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-21\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-21\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-21.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n&lt;/div&gt;&lt;/details&gt;","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":"OpenAPI definition"},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1173
+ {"data":{"leading":false,"html":"&lt;h1&gt;OpenAPI definition&lt;/h1&gt;/n&lt;p&gt;&lt;samp&gt;version: v0&lt;/samp&gt;&lt;/p&gt;/n&lt;h2 id=\\"sections\\"&gt;&lt;a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Sections&lt;/span&gt;&lt;/a&gt;Sections&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/index.html\\"&gt;test-controller&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n&lt;h2 id=\\"specification\\"&gt;&lt;a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Specification&lt;/span&gt;&lt;/a&gt;Specification&lt;/h2&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;Open API&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-clipboard\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;{/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 },/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 }/n }/n}/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;button class=\\"yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"25\\"&gt;/n &lt;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\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-25\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-25\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-25.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n&lt;/div&gt;&lt;/details&gt;","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}}
1180
1174
  </script>
1181
1175
  <script type="application/javascript">
1182
1176
  const data = document.querySelector('script#diplodoc-state');
@@ -1206,7 +1200,7 @@ exports[`Regression > internal 48`] = `
1206
1200
  <body class="g-root g-root_theme_light">
1207
1201
  <div id="root"></div>
1208
1202
  <script type="application/json" id="diplodoc-state">
1209
- {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Simple get operation. тест новой верстки 3&lt;/h1&gt;/n&lt;p&gt;Defines a simple get operation with no inputs and a complex&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Request&lt;/span&gt;&lt;/a&gt;Request&lt;/h2&gt;/n&lt;div class=\\"openapi__requests\\"&gt;/n&lt;div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\"&gt;/n&lt;div class=\\"openapi__request\\"&gt;/n&lt;p class=\\"openapi__method\\"&gt;GET&lt;/p&gt;/n/n &lt;div class=\\"yfm-clipboard\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/test/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;button class=\\"yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"16\\"&gt;/n &lt;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\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-16\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-16\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-16.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n&lt;/div&gt;/n&lt;p&gt;Generated server url&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;h2 id=\\"responses\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Responses&lt;/span&gt;&lt;/a&gt;Responses&lt;/h2&gt;/n&lt;div class=\\"openapi__response__code__200\\"&gt;/n&lt;h2 id=\\"200-ok\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;200 OK&lt;/span&gt;&lt;/a&gt;200 OK&lt;/h2&gt;/n&lt;p&gt;200!!!!&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Body&lt;/span&gt;&lt;/a&gt;Body&lt;/h3&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;application/json&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-clipboard\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"A\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"string\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;button class=\\"yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"42\\"&gt;/n &lt;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\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-42\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-42\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-42.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n&lt;/div&gt;&lt;/details&gt;&lt;table class=\\"openapi-table\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"openapi-table-parameter-name\\"&gt;/n&lt;p&gt;A&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Type:&lt;/strong&gt; string&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n/n&lt;/div&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"&gt;&lt;p&gt;No longer supported, please use an alternative and newer version.&lt;/p&gt;/n&lt;/dfn&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"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}}
1203
+ {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Simple get operation. тест новой верстки 3&lt;/h1&gt;/n/n&lt;p&gt;Defines a simple get operation with no inputs and a complex&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Request&lt;/span&gt;&lt;/a&gt;Request&lt;/h2&gt;/n&lt;div class=\\"openapi__requests\\"&gt;/n&lt;div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\"&gt;/n&lt;div class=\\"openapi__request\\"&gt;/n&lt;p class=\\"openapi__method\\"&gt;GET&lt;/p&gt;/n/n &lt;div class=\\"yfm-clipboard\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/test/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;button class=\\"yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"17\\"&gt;/n &lt;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\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-17\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-17\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-17.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n&lt;/div&gt;/n&lt;p&gt;Generated server url&lt;/p&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;h2 id=\\"responses\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Responses&lt;/span&gt;&lt;/a&gt;Responses&lt;/h2&gt;/n&lt;div class=\\"openapi__response__code__200\\"&gt;/n&lt;h2 id=\\"200-ok\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;200 OK&lt;/span&gt;&lt;/a&gt;200 OK&lt;/h2&gt;/n&lt;p&gt;200!!!!&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Body&lt;/span&gt;&lt;/a&gt;Body&lt;/h3&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;application/json&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-clipboard\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs json\\"&gt;&lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"A\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n&lt;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;button class=\\"yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"43\\"&gt;/n &lt;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\\"&gt;&lt;/path&gt;/n &lt;path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\"&gt;/n &lt;animate id=\\"visibileAnimation-43\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-43\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-43.end+1\\" fill=\\"freeze\\"&gt;&lt;/animate&gt;/n &lt;/path&gt;/n &lt;/svg&gt;/n &lt;/button&gt;/n &lt;/div&gt;/n&lt;/div&gt;&lt;/details&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&gt;/n&lt;tr&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td&gt;/n&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;A&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;strong&gt;Type&lt;/strong&gt;: string&lt;/p&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-example\\"&gt;Example:&lt;/em&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;example&lt;/code&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;/tr&gt;/n&lt;/tbody&gt;/n&lt;/table&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;/div&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"&gt;&lt;p&gt;No longer supported, please use an alternative and newer version.&lt;/p&gt;/n&lt;/dfn&gt;","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"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}}
1210
1204
  </script>
1211
1205
  <script type="application/javascript">
1212
1206
  const data = document.querySelector('script#diplodoc-state');
@@ -97,6 +97,8 @@ metadata:
97
97
  content: Diplodoc Platform vDIPLODOC-VERSION
98
98
  vcsPath: openapi/index.md
99
99
  ---
100
+ <!-- markdownlint-disable-file -->
101
+
100
102
  # OpenAPI definition
101
103
 
102
104
  ##version: v0##
@@ -110,7 +112,6 @@ vcsPath: openapi/index.md
110
112
 
111
113
  {% cut "Open API" %}
112
114
 
113
-
114
115
  \`\`\`text translate=no
115
116
  {
116
117
  "openapi": "3.0.1",
@@ -184,10 +185,7 @@ vcsPath: openapi/index.md
184
185
  }
185
186
  \`\`\`
186
187
 
187
-
188
- {% endcut %}
189
-
190
- <!-- markdownlint-disable-file -->"
188
+ {% endcut %}"
191
189
  `;
192
190
 
193
191
  exports[`Translate command > build translated md files and remove no-translate directives 4`] = `
@@ -201,6 +199,8 @@ vcsPath: openapi/test-controller/getWithPayloadResponse.md
201
199
 
202
200
  # Simple get operation. тест новой верстки 3
203
201
 
202
+ <!-- markdownlint-disable-file -->
203
+
204
204
  Defines a simple get skip this operation with no inputs and a complex
205
205
 
206
206
  ## Request
@@ -211,13 +211,11 @@ Defines a simple get skip this operation with no inputs and a complex
211
211
 
212
212
  <div class="openapi__request">
213
213
 
214
- GET {.openapi__method}
214
+ GET {.openapi__method}
215
215
  \`\`\`text translate=no
216
216
  http://localhost:8080/test
217
217
  \`\`\`
218
218
 
219
-
220
-
221
219
  </div>
222
220
 
223
221
  Generated server url
@@ -240,38 +238,33 @@ Generated server url
240
238
 
241
239
  {% cut "application/json" %}
242
240
 
243
-
244
241
  \`\`\`json translate=no
245
242
  {
246
- "A": "string"
243
+ "A": "example"
247
244
  }
248
245
  \`\`\`
249
246
 
250
-
251
247
  {% endcut %}
252
248
 
253
-
254
- #|||
255
- **Name**
256
- |
257
- **Description**
249
+ #|
250
+ || **Name** | **Description** ||
258
251
  ||
259
252
 
253
+ _A_{.json-schema-reset .json-schema-property}
254
+ {.table-cell}|
255
+ **Type**: string
256
+
257
+ _Example:_{.json-schema-reset .json-schema-example} \`example\`
258
+ {.table-cell}
260
259
  ||
261
- A {.openapi-table-parameter-name}
262
- |
263
- **Type:** string
264
- |||#{.openapi-table}
260
+ |#{.json-schema-properties}
265
261
 
266
262
  </div>
267
263
 
268
264
  </div>
269
- <!-- markdownlint-disable-file -->
270
265
 
271
266
  </div>
272
267
 
273
-
274
-
275
268
  [*Deprecated]: No longer supported, please use an alternative and newer version."
276
269
  `;
277
270
 
@@ -284,11 +277,12 @@ vcsPath: openapi/test-controller/index.md
284
277
  ---
285
278
  # test-controller
286
279
 
280
+ <!-- markdownlint-disable-file -->
281
+
287
282
  ## Endpoints
288
283
 
289
284
  - [Simple get operation. тест новой верстки 3](getWithPayloadResponse.md)
290
-
291
- <!-- markdownlint-disable-file -->"
285
+ "
292
286
  `;
293
287
 
294
288
  exports[`Translate command > build translated md files and remove no-translate directives 6`] = `
@@ -408,6 +402,8 @@ metadata:
408
402
  content: Diplodoc Platform vDIPLODOC-VERSION
409
403
  vcsPath: openapi/index.md
410
404
  ---
405
+ <!-- markdownlint-disable-file -->
406
+
411
407
  # OpenAPI definition
412
408
 
413
409
  ##version: v0##
@@ -421,7 +417,6 @@ vcsPath: openapi/index.md
421
417
 
422
418
  {% cut "Open API" %}
423
419
 
424
-
425
420
  \`\`\`text translate=no
426
421
  {
427
422
  "openapi": "3.0.1",
@@ -495,10 +490,7 @@ vcsPath: openapi/index.md
495
490
  }
496
491
  \`\`\`
497
492
 
498
-
499
- {% endcut %}
500
-
501
- <!-- markdownlint-disable-file -->"
493
+ {% endcut %}"
502
494
  `;
503
495
 
504
496
  exports[`Translate command > build translated static files and remove no-translate directives 4`] = `
@@ -512,6 +504,8 @@ vcsPath: openapi/test-controller/getWithPayloadResponse.md
512
504
 
513
505
  # Simple get operation. тест новой верстки 3
514
506
 
507
+ <!-- markdownlint-disable-file -->
508
+
515
509
  Defines a simple get skip this operation with no inputs and a complex
516
510
 
517
511
  ## Request
@@ -522,13 +516,11 @@ Defines a simple get skip this operation with no inputs and a complex
522
516
 
523
517
  <div class="openapi__request">
524
518
 
525
- GET {.openapi__method}
519
+ GET {.openapi__method}
526
520
  \`\`\`text translate=no
527
521
  http://localhost:8080/test
528
522
  \`\`\`
529
523
 
530
-
531
-
532
524
  </div>
533
525
 
534
526
  Generated server url
@@ -551,38 +543,33 @@ Generated server url
551
543
 
552
544
  {% cut "application/json" %}
553
545
 
554
-
555
546
  \`\`\`json translate=no
556
547
  {
557
- "A": "string"
548
+ "A": "example"
558
549
  }
559
550
  \`\`\`
560
551
 
561
-
562
552
  {% endcut %}
563
553
 
564
-
565
- #|||
566
- **Name**
567
- |
568
- **Description**
554
+ #|
555
+ || **Name** | **Description** ||
569
556
  ||
570
557
 
558
+ _A_{.json-schema-reset .json-schema-property}
559
+ {.table-cell}|
560
+ **Type**: string
561
+
562
+ _Example:_{.json-schema-reset .json-schema-example} \`example\`
563
+ {.table-cell}
571
564
  ||
572
- A {.openapi-table-parameter-name}
573
- |
574
- **Type:** string
575
- |||#{.openapi-table}
565
+ |#{.json-schema-properties}
576
566
 
577
567
  </div>
578
568
 
579
569
  </div>
580
- <!-- markdownlint-disable-file -->
581
570
 
582
571
  </div>
583
572
 
584
-
585
-
586
573
  [*Deprecated]: No longer supported, please use an alternative and newer version."
587
574
  `;
588
575
 
@@ -595,11 +582,12 @@ vcsPath: openapi/test-controller/index.md
595
582
  ---
596
583
  # test-controller
597
584
 
585
+ <!-- markdownlint-disable-file -->
586
+
598
587
  ## Endpoints
599
588
 
600
589
  - [Simple get operation. тест новой верстки 3](getWithPayloadResponse.md)
601
-
602
- <!-- markdownlint-disable-file -->"
590
+ "
603
591
  `;
604
592
 
605
593
  exports[`Translate command > build translated static files and remove no-translate directives 6`] = `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "5.17.3",
3
+ "version": "5.18.0",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },