@diplodoc/cli-tests 5.27.4 → 5.29.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.
Files changed (32) hide show
  1. package/e2e/__snapshots__/bundles.spec.ts.snap +1 -1
  2. package/e2e/__snapshots__/crawler-manifest.spec.ts.snap +26 -0
  3. package/e2e/__snapshots__/files.test.ts.snap +1 -1
  4. package/e2e/__snapshots__/includes.test.ts.snap +4 -4
  5. package/e2e/__snapshots__/neuro-expert.test.ts.snap +2 -2
  6. package/e2e/__snapshots__/pdf-page.spec.ts.snap +4 -4
  7. package/e2e/__snapshots__/regression.test.ts.snap +8 -8
  8. package/e2e/__snapshots__/skip-html-extension.spec.ts.snap +3 -3
  9. package/e2e/crawler-manifest.spec.ts +58 -0
  10. package/e2e/disable-csp.spec.ts +55 -0
  11. package/e2e/openapi-include-size.spec.ts +55 -0
  12. package/mocks/crawler-manifest/config/input/.yfm +1 -0
  13. package/mocks/crawler-manifest/config/input/index.md +3 -0
  14. package/mocks/crawler-manifest/config/input/toc.yaml +4 -0
  15. package/mocks/crawler-manifest/no-links/input/index.md +5 -0
  16. package/mocks/crawler-manifest/no-links/input/toc.yaml +4 -0
  17. package/mocks/crawler-manifest/with-links/input/redirects.yaml +5 -0
  18. package/mocks/crawler-manifest/with-links/input/ru/_includes/snippet.md +1 -0
  19. package/mocks/crawler-manifest/with-links/input/ru/index.md +35 -0
  20. package/mocks/crawler-manifest/with-links/input/ru/leading.yaml +5 -0
  21. package/mocks/crawler-manifest/with-links/input/ru/no-links.md +3 -0
  22. package/mocks/crawler-manifest/with-links/input/ru/references.md +5 -0
  23. package/mocks/crawler-manifest/with-links/input/toc.yaml +12 -0
  24. package/mocks/disable-csp/input/.yfm +8 -0
  25. package/mocks/disable-csp/input/en/index.md +3 -0
  26. package/mocks/disable-csp/input/en/page.md +3 -0
  27. package/mocks/disable-csp/input/en/toc.yaml +5 -0
  28. package/mocks/openapi-include-size-exceeds/input/openapi-spec.yaml +190 -0
  29. package/mocks/openapi-include-size-exceeds/input/toc.yaml +9 -0
  30. package/mocks/openapi-include-size-within/input/openapi-spec.yaml +16 -0
  31. package/mocks/openapi-include-size-within/input/toc.yaml +9 -0
  32. package/package.json +1 -1
@@ -1237,7 +1237,7 @@ exports[`Regression > internal 34`] = `
1237
1237
  <body class="g-root g-root_theme_light">
1238
1238
  <div id="root"></div>
1239
1239
  <script type="application/json" id="diplodoc-state">
1240
- {"data":{"leading":false,"html":"&lt;p&gt;Text {{not-var}} {{skip()}} default-var-value&lt;/p&gt;/n&lt;p&gt;Text &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;{{not-var}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2"&gt;{{skip()}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3"&gt;default-var-value&lt;/code&gt;&lt;/p&gt;/n&lt;p&gt;Text&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs\\"&gt;{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"9\\"&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-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.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;&lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4"&gt;[not a link](./path/to/relative/file.md)&lt;/code&gt;&lt;/p&gt;/n&lt;h2 id=\\"subtitle\\"&gt;&lt;a href=\\"1.html#subtitle\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subtitle&lt;/span&gt;&lt;/a&gt;Subtitle&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html\\"&gt;Mermaid usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html#info\\"&gt;Mermaid info&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;Latex usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"includes\\"&gt;noext-link&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Bob&lt;/p&gt;/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}}
1240
+ {"data":{"leading":false,"html":"&lt;p&gt;Text {{not-var}} {{skip()}} default-var-value&lt;/p&gt;/n&lt;p&gt;Text &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1"&gt;{{not-var}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2"&gt;{{skip()}}&lt;/code&gt; &lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3"&gt;default-var-value&lt;/code&gt;&lt;/p&gt;/n&lt;p&gt;Text&lt;/p&gt;/n/n &lt;div class=\\"yfm-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs\\"&gt;{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"9\\"&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-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.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;&lt;code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4"&gt;[not a link](./path/to/relative/file.md)&lt;/code&gt;&lt;/p&gt;/n&lt;h2 id=\\"subtitle\\"&gt;&lt;a href=\\"1.html#subtitle\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Subtitle&lt;/span&gt;&lt;/a&gt;Subtitle&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html\\"&gt;Mermaid usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"mermaid.html#info\\"&gt;Mermaid info&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;Latex usage&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"includes\\"&gt;noext-link&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Bob&lt;/p&gt;/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
1241
  </script>
1242
1242
  <script type="application/javascript">
1243
1243
  const data = document.querySelector('script#diplodoc-state');
@@ -1265,7 +1265,7 @@ exports[`Regression > internal 35`] = `
1265
1265
  <body class="g-root g-root_theme_light">
1266
1266
  <div id="root"></div>
1267
1267
  <script type="application/json" id="diplodoc-state">
1268
- {"data":{"leading":false,"html":"&lt;p&gt;Empty title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Circular title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"header\\"&gt;&lt;a href=\\"autotitle.html#header\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Header&lt;/span&gt;&lt;/a&gt;Header&lt;/h2&gt;/n&lt;p&gt;Content&lt;/p&gt;/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}}
1268
+ {"data":{"leading":false,"html":"&lt;p&gt;Empty title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special title&lt;br /&gt;/n&lt;a href=\\"1.html\\"&gt;Title&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special subtitle&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Empty local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Special local title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Circular title&lt;br /&gt;/n&lt;a href=\\"autotitle.html#header\\"&gt;Header&lt;/a&gt;&lt;/p&gt;/n&lt;h2 id=\\"header\\"&gt;&lt;a href=\\"autotitle.html#header\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Header&lt;/span&gt;&lt;/a&gt;Header&lt;/h2&gt;/n&lt;p&gt;Content&lt;/p&gt;/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}}
1269
1269
  </script>
1270
1270
  <script type="application/javascript">
1271
1271
  const data = document.querySelector('script#diplodoc-state');
@@ -1573,7 +1573,7 @@ exports[`Regression > internal 46`] = `
1573
1573
  <body class="g-root g-root_theme_light">
1574
1574
  <div id="root"></div>
1575
1575
  <script type="application/json" id="diplodoc-state">
1576
- {"data":{"leading":false,"html":"&lt;p&gt;Text&lt;/p&gt;/n&lt;p&gt;Bob&lt;/p&gt;/n&lt;p&gt;Test&lt;/p&gt;/n&lt;h3 id=\\"f1\\"&gt;&lt;a href=\\"includes.html#f1\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F1&lt;/span&gt;&lt;/a&gt;F1&lt;/h3&gt;/n&lt;p&gt;Content F1&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n&lt;p&gt;Bob&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;&lt;img src=\\"_assets/3.png\\" alt=\\"img 3\\" /&gt;&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;sup&gt;&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID\\"&gt;?&lt;/i&gt;&lt;/sup&gt;&lt;/p&gt;/n&lt;p&gt;[&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID\\"&gt;?&lt;/i&gt;](http://ya.ru)&lt;/p&gt;/n&lt;p&gt;Link after include&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Link after include&lt;/p&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term_element\\" role=\\"dialog\\"&gt;&lt;p&gt;Test terms&lt;/p&gt;/n&lt;/dfn&gt;","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}}
1576
+ {"data":{"leading":false,"html":"&lt;p&gt;Text&lt;/p&gt;/n&lt;p&gt;Bob&lt;/p&gt;/n&lt;p&gt;Test&lt;/p&gt;/n&lt;h3 id=\\"f1\\"&gt;&lt;a href=\\"includes.html#f1\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;F1&lt;/span&gt;&lt;/a&gt;F1&lt;/h3&gt;/n&lt;p&gt;Content F1&lt;/p&gt;/n&lt;p id=\\"p1\\"&gt;Some paragraph with anchor&lt;/p&gt;/n/n&lt;p&gt;Bob&lt;/p&gt;/n&lt;p&gt;&lt;a href=\\"latex.html\\"&gt;&lt;img src=\\"_assets/3.png\\" alt=\\"img 3\\" /&gt;&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;&lt;sup&gt;&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID\\"&gt;?&lt;/i&gt;&lt;/sup&gt;&lt;/p&gt;/n&lt;p&gt;[&lt;i class=\\"yfm yfm-term_title\\" term-key=\\":term\\" role=\\"button\\" aria-controls=\\":term_element\\" tabindex=\\"0\\" id=\\"vTERM-ID\\"&gt;?&lt;/i&gt;](http://ya.ru)&lt;/p&gt;/n&lt;p&gt;Link after include&lt;br /&gt;/n&lt;a href=\\"1.html#subtitle\\"&gt;Subtitle&lt;/a&gt;&lt;/p&gt;/n&lt;p&gt;Link after include&lt;/p&gt;/n&lt;dfn class=\\"yfm yfm-term_dfn\\" id=\\":term_element\\" role=\\"dialog\\"&gt;&lt;p&gt;Test terms&lt;/p&gt;/n&lt;/dfn&gt;","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}}
1577
1577
  </script>
1578
1578
  <script type="application/javascript">
1579
1579
  const data = document.querySelector('script#diplodoc-state');
@@ -1715,7 +1715,7 @@ exports[`Regression > internal 52`] = `
1715
1715
  <body class="g-root g-root_theme_light">
1716
1716
  <div id="root"></div>
1717
1717
  <script type="application/json" id="diplodoc-state">
1718
- {"data":{"leading":false,"html":"&lt;div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"&gt;&lt;/div&gt;&lt;h2 id=\\"info\\"&gt;&lt;a href=\\"mermaid.html#info\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Mermaid info&lt;/span&gt;&lt;/a&gt;Mermaid info&lt;/h2&gt;/n&lt;p&gt;Some mermaid info&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"mermaid.md"},"headings":[{"title":"Mermaid info","href":"mermaid.html#info","level":2}],"title":"Mermaid usage"},"router":{"pathname":"mermaid","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1718
+ {"data":{"leading":false,"html":"&lt;div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"&gt;&lt;/div&gt;&lt;h2 id=\\"info\\"&gt;&lt;a href=\\"mermaid.html#info\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Mermaid info&lt;/span&gt;&lt;/a&gt;Mermaid info&lt;/h2&gt;/n&lt;p&gt;Some mermaid info&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"mermaid.md"},"headings":[{"title":"Mermaid info","href":"mermaid.html#info","level":2}],"title":"Mermaid usage"},"router":{"pathname":"mermaid","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1719
1719
  </script>
1720
1720
  <script type="application/javascript">
1721
1721
  const data = document.querySelector('script#diplodoc-state');
@@ -1744,7 +1744,7 @@ exports[`Regression > internal 53`] = `
1744
1744
  <body class="g-root g-root_theme_light">
1745
1745
  <div id="root"></div>
1746
1746
  <script type="application/json" id="diplodoc-state">
1747
- {"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-code-floating-container\\"&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 \\"/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&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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}}
1747
+ {"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 yfm-clipboard-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 yfm-clipboard-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-code-floating-container\\"&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 \\"/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&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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}}
1748
1748
  </script>
1749
1749
  <script type="application/javascript">
1750
1750
  const data = document.querySelector('script#diplodoc-state');
@@ -1774,7 +1774,7 @@ exports[`Regression > internal 54`] = `
1774
1774
  <body class="g-root g-root_theme_light">
1775
1775
  <div id="root"></div>
1776
1776
  <script type="application/json" id="diplodoc-state">
1777
- {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Test x-hidden attribute&lt;/h1&gt;/n/n&lt;p&gt;Test various x-hidden scenarios&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.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-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/hidden-test/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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/getHiddenTest.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/getHiddenTest.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;Response with hidden fields&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.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-code-floating-container\\"&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;\\"visibleField\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"nestedObject\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleNested\\"&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;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"arrayWithHiddenItems\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;[&lt;/span&gt;/n &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;]&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"mixedVisibility\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&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;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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;arrayWithHiddenItems&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;: &lt;a href=\\"openapi/test-controller/getHiddenTest.html#entity-HiddenField\\"&gt;HiddenField&lt;/a&gt;[]&lt;/p&gt;/n&lt;p&gt;Array with hidden item schema&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&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-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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"78\\"&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-78\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-78\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-78.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;/div&gt;&lt;/details&gt;&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;mixedVisibility&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&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;field1&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;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field3&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-2"&gt;example&lt;/code&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;field5&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-3"&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;&lt;/details&gt;&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&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;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"151\\"&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-151\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-151\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-151.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;/div&gt;&lt;/details&gt;&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;nestedObject&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&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;visibleNested&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-4"&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;&lt;/details&gt;&lt;p&gt;Object with hidden properties&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&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;\\"visibleNested\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"197\\"&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-197\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-197\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-197.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;/div&gt;&lt;/details&gt;&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;visibleField&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;This field should be visible&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-5"&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","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}}
1777
+ {"data":{"leading":false,"html":"&lt;div class=\\"openapi\\"&gt;/n&lt;h1&gt;Test x-hidden attribute&lt;/h1&gt;/n/n&lt;p&gt;Test various x-hidden scenarios&lt;/p&gt;/n&lt;h2 id=\\"request\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#request\\" class=\\"yfm-anchor yfm-clipboard-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-code-floating-container\\"&gt;/n &lt;pre&gt;&lt;code class=\\"hljs text\\"&gt;http://localhost:8080/hidden-test/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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/getHiddenTest.html#responses\\" class=\\"yfm-anchor yfm-clipboard-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/getHiddenTest.html#200-ok\\" class=\\"yfm-anchor yfm-clipboard-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;Response with hidden fields&lt;/p&gt;/n&lt;div class=\\"openapi-entity\\"&gt;/n&lt;h3 id=\\"body\\"&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html#body\\" class=\\"yfm-anchor yfm-clipboard-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-code-floating-container\\"&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;\\"visibleField\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"nestedObject\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"visibleNested\\"&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;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"arrayWithHiddenItems\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;[&lt;/span&gt;/n &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;/n &lt;span class=\\"hljs-punctuation\\"&gt;]&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"mixedVisibility\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-punctuation\\"&gt;{&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&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;span class=\\"hljs-punctuation\\"&gt;}&lt;/span&gt;/n&lt;/code&gt;&lt;/pre&gt;/n/n &lt;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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;arrayWithHiddenItems&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;: &lt;a href=\\"openapi/test-controller/getHiddenTest.html#entity-HiddenField\\"&gt;HiddenField&lt;/a&gt;[]&lt;/p&gt;/n&lt;p&gt;Array with hidden item schema&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&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-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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"78\\"&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-78\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-78\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-78.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;/div&gt;&lt;/details&gt;&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;mixedVisibility&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&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;field1&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;tr&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;p&gt;&lt;em class=\\"json-schema-reset json-schema-property\\"&gt;field3&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-2"&gt;example&lt;/code&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;field5&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-3"&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;&lt;/details&gt;&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&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;\\"field1\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field3\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;:&lt;/span&gt; &lt;span class=\\"hljs-string\\"&gt;\\"example\\"&lt;/span&gt;&lt;span class=\\"hljs-punctuation\\"&gt;,&lt;/span&gt;/n &lt;span class=\\"hljs-attr\\"&gt;\\"field5\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"151\\"&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-151\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-151\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-151.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;/div&gt;&lt;/details&gt;&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;nestedObject&lt;/em&gt;&lt;/p&gt;/n&lt;/td&gt;/n&lt;td class=\\"table-cell\\"&gt;/n&lt;details class=\\"yfm-cut\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Type&lt;/strong&gt;: object&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;&lt;table class=\\"json-schema-properties\\"&gt;/n&lt;tbody&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;visibleNested&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-4"&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;&lt;/details&gt;&lt;p&gt;Object with hidden properties&lt;/p&gt;/n&lt;details class=\\"yfm-cut json-schema-example\\"&gt;&lt;summary class=\\"yfm-cut-title\\"&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/summary&gt;&lt;div class=\\"yfm-cut-content\\"&gt;/n &lt;div class=\\"yfm-code-floating-container\\"&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;\\"visibleNested\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon yfm-clipboard-icon\\" data-animation=\\"197\\"&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-197\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin&gt;&lt;/animate&gt;/n &lt;animate id=\\"hideAnimation-197\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-197.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;/div&gt;&lt;/details&gt;&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;visibleField&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;This field should be visible&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-5"&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","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}}
1778
1778
  </script>
1779
1779
  <script type="application/javascript">
1780
1780
  const data = document.querySelector('script#diplodoc-state');
@@ -1804,7 +1804,7 @@ exports[`Regression > internal 55`] = `
1804
1804
  <body class="g-root g-root_theme_light">
1805
1805
  <div id="root"></div>
1806
1806
  <script type="application/json" id="diplodoc-state">
1807
- {"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-code-floating-container\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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-code-floating-container\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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","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}}
1807
+ {"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 yfm-clipboard-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-code-floating-container\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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 yfm-clipboard-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 yfm-clipboard-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 yfm-clipboard-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-code-floating-container\\"&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;div class=\\"yfm-code-floating\\"&gt;/n /n &lt;button role=\\"button\\" class=\\"yfm-code-button yfm-clipboard-button\\"&gt;/n &lt;svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-code-icon 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;/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","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}}
1808
1808
  </script>
1809
1809
  <script type="application/javascript">
1810
1810
  const data = document.querySelector('script#diplodoc-state');
@@ -1833,7 +1833,7 @@ exports[`Regression > internal 56`] = `
1833
1833
  <body class="g-root g-root_theme_light">
1834
1834
  <div id="root"></div>
1835
1835
  <script type="application/json" id="diplodoc-state">
1836
- {"data":{"leading":false,"html":"&lt;h2 id=\\"endpoints\\"&gt;&lt;a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Endpoints&lt;/span&gt;&lt;/a&gt;Endpoints&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html\\"&gt;Simple get operation. тест новой верстки 3&lt;/a&gt;&lt;/li&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html\\"&gt;Test x-hidden attribute&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"openapi/test-controller/index.md"},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller"},"router":{"pathname":"openapi/test-controller/index","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1836
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"endpoints\\"&gt;&lt;a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;Endpoints&lt;/span&gt;&lt;/a&gt;Endpoints&lt;/h2&gt;/n&lt;ul&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getWithPayloadResponse.html\\"&gt;Simple get operation. тест новой верстки 3&lt;/a&gt;&lt;/li&gt;/n&lt;li&gt;&lt;a href=\\"openapi/test-controller/getHiddenTest.html\\"&gt;Test x-hidden attribute&lt;/a&gt;&lt;/li&gt;/n&lt;/ul&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"openapi/test-controller/index.md"},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller"},"router":{"pathname":"openapi/test-controller/index","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
1837
1837
  </script>
1838
1838
  <script type="application/javascript">
1839
1839
  const data = document.querySelector('script#diplodoc-state');
@@ -143,7 +143,7 @@ exports[`Skip html extension > correctly trims .html and index.html on monolingu
143
143
  <body class="g-root g-root_theme_light">
144
144
  <div id="root"></div>
145
145
  <script type="application/json" id="diplodoc-state">
146
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
146
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"page2#hash\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"page2.md"},"headings":[{"title":"hash","href":"page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"page2","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
147
147
  </script>
148
148
  <script type="application/javascript">
149
149
  const data = document.querySelector('script#diplodoc-state');
@@ -325,7 +325,7 @@ exports[`Skip html extension > correctly trims .html and index.html on multiling
325
325
  <body class="g-root g-root_theme_light">
326
326
  <div id="root"></div>
327
327
  <script type="application/json" id="diplodoc-state">
328
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"en/page2#hash\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"en/folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"en/page2","vcsPath":"en/page2.md"},"headings":[{"title":"hash","href":"en/page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"en/page2","depth":2,"base":"../"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
328
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hash\\"&gt;&lt;a href=\\"en/page2#hash\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;hash&lt;/span&gt;&lt;/a&gt;hash&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"en/folder/\\"&gt;Link&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;External link&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"en/page2","vcsPath":"en/page2.md"},"headings":[{"title":"hash","href":"en/page2#hash","level":2}],"title":"Page 2"},"router":{"pathname":"en/page2","depth":2,"base":"../"},"lang":"en","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
329
329
  </script>
330
330
  <script type="application/javascript">
331
331
  const data = document.querySelector('script#diplodoc-state');
@@ -502,7 +502,7 @@ exports[`Skip html extension > correctly trims .html and index.html on multiling
502
502
  <body class="g-root g-root_theme_light">
503
503
  <div id="root"></div>
504
504
  <script type="application/json" id="diplodoc-state">
505
- {"data":{"leading":false,"html":"&lt;h2 id=\\"hesh\\"&gt;&lt;a href=\\"ru/page2#hesh\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;хэш&lt;/span&gt;&lt;/a&gt;хэш&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"ru/folder/\\"&gt;Ссылка&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;Внешняя ссылка&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"ru/page2","vcsPath":"ru/page2.md"},"headings":[{"title":"хэш","href":"ru/page2#hesh","level":2}],"title":"Страница 2"},"router":{"pathname":"ru/page2","depth":2,"base":"../"},"lang":"ru","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
505
+ {"data":{"leading":false,"html":"&lt;h2 id=\\"hesh\\"&gt;&lt;a href=\\"ru/page2#hesh\\" class=\\"yfm-anchor yfm-clipboard-anchor\\" aria-hidden=\\"true\\"&gt;&lt;span class=\\"visually-hidden\\" data-no-index=\\"true\\"&gt;хэш&lt;/span&gt;&lt;/a&gt;хэш&lt;/h2&gt;/n&lt;p&gt;&lt;a href=\\"ru/folder/\\"&gt;Ссылка&lt;/a&gt;&lt;br /&gt;/n&lt;a href=\\"https://example.com\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\"&gt;Внешняя ссылка&lt;/a&gt;&lt;/p&gt;/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"alternate":[{"href":"en/page2","hreflang":"en"},{"href":"ru/page2","hreflang":"ru"}],"canonical":"ru/page2","vcsPath":"ru/page2.md"},"headings":[{"title":"хэш","href":"ru/page2#hesh","level":2}],"title":"Страница 2"},"router":{"pathname":"ru/page2","depth":2,"base":"../"},"lang":"ru","langs":["en","ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
506
506
  </script>
507
507
  <script type="application/javascript">
508
508
  const data = document.querySelector('script#diplodoc-state');
@@ -0,0 +1,58 @@
1
+ import {describe, expect, test} from 'vitest';
2
+ import {join} from 'node:path';
3
+ import {access, readFile} from 'node:fs/promises';
4
+
5
+ import {TestAdapter, getTestPaths} from '../fixtures';
6
+
7
+ describe('Crawler manifest', () => {
8
+ test('generates crawler-manifest.json', async () => {
9
+ const {inputPath, outputPath} = getTestPaths('mocks/crawler-manifest/with-links');
10
+
11
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
12
+ md2md: true,
13
+ md2html: false,
14
+ args: '--crawler-manifest',
15
+ });
16
+
17
+ const manifestContent = await readFile(join(outputPath, 'crawler-manifest.json'), 'utf-8');
18
+
19
+ expect(JSON.parse(manifestContent)).toMatchSnapshot();
20
+ });
21
+
22
+ test('does not generate manifest when --crawler-manifest flag is absent', async () => {
23
+ const {inputPath, outputPath} = getTestPaths('mocks/crawler-manifest/with-links');
24
+
25
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
26
+ md2md: true,
27
+ md2html: false,
28
+ });
29
+
30
+ await expect(access(join(outputPath, 'crawler-manifest.json'))).rejects.toThrow();
31
+ });
32
+
33
+ test('does not generate manifest when there are no external links', async () => {
34
+ const {inputPath, outputPath} = getTestPaths('mocks/crawler-manifest/no-links');
35
+
36
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
37
+ md2md: true,
38
+ md2html: false,
39
+ args: '--crawler-manifest',
40
+ });
41
+
42
+ await expect(access(join(outputPath, 'crawler-manifest.json'))).rejects.toThrow();
43
+ });
44
+
45
+ test('reads crawlerManifest setting from .yfm config file', async () => {
46
+ const {inputPath, outputPath} = getTestPaths('mocks/crawler-manifest/config');
47
+
48
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
49
+ md2md: true,
50
+ md2html: false,
51
+ });
52
+
53
+ const manifestContent = await readFile(join(outputPath, 'crawler-manifest.json'), 'utf-8');
54
+ const manifest = JSON.parse(manifestContent);
55
+
56
+ expect(manifest['index.md']).toContain('https://config.example.com');
57
+ });
58
+ });
@@ -0,0 +1,55 @@
1
+ import {readFileSync, readdirSync} from 'node:fs';
2
+ import {join, sep} from 'node:path';
3
+ import {describe, expect, test} from 'vitest';
4
+
5
+ import {TestAdapter, getTestPaths} from '../fixtures';
6
+
7
+ function findHtmlFiles(dir: string): string[] {
8
+ const results: string[] = [];
9
+
10
+ try {
11
+ for (const entry of readdirSync(dir, {withFileTypes: true})) {
12
+ const full = join(dir, entry.name);
13
+
14
+ if (entry.isDirectory()) {
15
+ results.push(...findHtmlFiles(full));
16
+ } else if (entry.name.endsWith('.html')) {
17
+ results.push(full);
18
+ }
19
+ }
20
+ } catch {
21
+ // ignore
22
+ }
23
+
24
+ return results;
25
+ }
26
+
27
+ describe('disableCsp', () => {
28
+ test('should not inject CSP meta tag when disableCsp is true with neuroExpert enabled', async () => {
29
+ const {inputPath, outputPath} = getTestPaths('mocks/disable-csp');
30
+
31
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
32
+ md2md: false,
33
+ md2html: true,
34
+ args: '-j2',
35
+ });
36
+
37
+ const htmlFiles = findHtmlFiles(outputPath);
38
+ expect(htmlFiles.length).toBeGreaterThan(0);
39
+
40
+ // No HTML page should contain CSP meta tag
41
+ for (const htmlFile of htmlFiles) {
42
+ const html = readFileSync(htmlFile, 'utf8');
43
+ expect(html).not.toContain('Content-Security-Policy');
44
+ }
45
+
46
+ // Content pages (under en/) should still have the neuroExpert widget script
47
+ const contentPages = htmlFiles.filter((f) => f.includes(`${sep}en${sep}`));
48
+ expect(contentPages.length).toBeGreaterThan(0);
49
+
50
+ for (const htmlFile of contentPages) {
51
+ const html = readFileSync(htmlFile, 'utf8');
52
+ expect(html).toContain('neuroexpert-widget');
53
+ }
54
+ });
55
+ });
@@ -0,0 +1,55 @@
1
+ import {readFileSync} from 'node:fs';
2
+ import {resolve} from 'node:path';
3
+ import {glob} from 'glob';
4
+ import {describe, expect, it} from 'vitest';
5
+
6
+ import {TestAdapter, getTestPaths} from '../fixtures';
7
+
8
+ const STUB_MARKER = 'This page exceeds the maximum allowed size and cannot be displayed.';
9
+
10
+ describe('OpenAPI max include size', () => {
11
+ it('should replace oversized pages with stub when limit is exceeded', async () => {
12
+ const {inputPath, outputPath} = getTestPaths('mocks/openapi-include-size-exceeds');
13
+
14
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
15
+ md2md: true,
16
+ md2html: false,
17
+ args: '--max-openapi-include-size 1K',
18
+ });
19
+
20
+ const files = await glob('**/*.md', {cwd: outputPath, nodir: true});
21
+ expect(files.length).toBeGreaterThan(0);
22
+
23
+ const stubbed = [];
24
+ const preserved = [];
25
+ for (const file of files) {
26
+ const content = readFileSync(resolve(outputPath, file), 'utf-8');
27
+ if (content.includes(STUB_MARKER)) {
28
+ stubbed.push(file);
29
+ } else {
30
+ preserved.push(file);
31
+ }
32
+ }
33
+
34
+ // Endpoint pages and main index exceed 1K and should be stubbed
35
+ expect(stubbed.length).toBeGreaterThan(0);
36
+ });
37
+
38
+ it('should preserve all content when pages are within limit', async () => {
39
+ const {inputPath, outputPath} = getTestPaths('mocks/openapi-include-size-within');
40
+
41
+ await TestAdapter.testBuildPass(inputPath, outputPath, {
42
+ md2md: true,
43
+ md2html: false,
44
+ args: '--max-openapi-include-size 1K',
45
+ });
46
+
47
+ const files = await glob('**/*.md', {cwd: outputPath, nodir: true});
48
+ expect(files.length).toBeGreaterThan(0);
49
+
50
+ for (const file of files) {
51
+ const content = readFileSync(resolve(outputPath, file), 'utf-8');
52
+ expect(content).not.toContain(STUB_MARKER);
53
+ }
54
+ });
55
+ });
@@ -0,0 +1 @@
1
+ crawlerManifest: true