@diplodoc/cli-tests 5.15.3 → 5.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e2e/__snapshots__/assets.spec.ts.snap +0 -0
- package/e2e/__snapshots__/preprocess.test.ts.snap +221 -59
- package/e2e/__snapshots__/translation.spec.ts.snap +209 -0
- package/e2e/translation.spec.ts +18 -0
- package/fixtures/cliAdapter.ts +1 -1
- package/mocks/assets/input/index.md +3 -4
- package/mocks/assets/input/page.yaml +1 -1
- package/mocks/preprocess/input/_assets/2.svg +19 -0
- package/mocks/preprocess/input/images.md +54 -0
- package/mocks/translation/compose/input/openapi-spec.yaml.skl +41 -0
- package/mocks/translation/compose/input/openapi-spec.yaml.xliff +52 -0
- package/mocks/translation/compose/input/toc.yaml.skl +8 -0
- package/mocks/translation/compose/input/toc.yaml.xliff +16 -0
- package/mocks/translation/custom-schema/custom-openapi-schema-30.yaml +1054 -0
- package/mocks/translation/custom-schema/input/openapi-spec.yaml +42 -0
- package/mocks/translation/custom-schema/input/toc.yaml +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
openapi: 3.0.1
|
|
2
|
+
info:
|
|
3
|
+
title: OpenAPI definition
|
|
4
|
+
version: v0
|
|
5
|
+
servers:
|
|
6
|
+
- url: http://localhost:8080
|
|
7
|
+
description: Generated server url
|
|
8
|
+
paths:
|
|
9
|
+
/test:
|
|
10
|
+
get:
|
|
11
|
+
tags:
|
|
12
|
+
- test-controller
|
|
13
|
+
summary: Simple get operation. тест новой верстки 3
|
|
14
|
+
description: Defines a simple get operation with no inputs and a complex
|
|
15
|
+
operationId: getWithPayloadResponse
|
|
16
|
+
responses:
|
|
17
|
+
"200":
|
|
18
|
+
description: 200!!!!
|
|
19
|
+
content:
|
|
20
|
+
application/json:
|
|
21
|
+
schema:
|
|
22
|
+
$ref: '#/components/schemas/RecurceTop'
|
|
23
|
+
components:
|
|
24
|
+
schemas:
|
|
25
|
+
RecurceTop:
|
|
26
|
+
type: object
|
|
27
|
+
properties:
|
|
28
|
+
A:
|
|
29
|
+
type: string
|
|
30
|
+
description: |
|
|
31
|
+
Статус загрузки:
|
|
32
|
+
- `UPLOADED` — загрузка завершена.
|
|
33
|
+
- `IN_PROGRESS` — загрузка находится в процессе обработки.
|
|
34
|
+
- `PROCESSED` — загрузка успешно обработана.
|
|
35
|
+
# $ref: '#/components/schemas/RecurceMiddle'
|
|
36
|
+
RecurceMiddle:
|
|
37
|
+
type: object
|
|
38
|
+
properties:
|
|
39
|
+
B:
|
|
40
|
+
type: array
|
|
41
|
+
items:
|
|
42
|
+
$ref: '#/components/schemas/RecurceTop'
|