@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
|
-
|
|
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
|
-
|
|
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
|
|
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":"<p><samp>version: v0</samp></p>/n<h2 id=\\"sections\\"><a href=\\"openapi/index.html#sections\\" class=\\"yfm-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\\" 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-clipboard\\">/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 },/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</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"
|
|
1173
|
+
{"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\\" 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\\" 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-clipboard\\">/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 },/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</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"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></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}}
|
|
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":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/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\\" 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-clipboard\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"
|
|
1203
|
+
{"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\\" 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-clipboard\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"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<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-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\\" 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\\" 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-clipboard\\">/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 <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"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></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<dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"><p>No longer supported, please use an alternative and newer version.</p>/n</dfn>","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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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`] = `
|