@diplodoc/cli-tests 0.0.0-rc-extract-openapi-test-19461729203 → 0.0.0-rc-extract-openapi-test-19463999580

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.
@@ -67,9 +67,9 @@ describe('Translate command', () => {
67
67
  target: 'es-ES',
68
68
  });
69
69
 
70
- generateMapTestTemplate(
70
+ generateFilesYamlTestTemplate(
71
71
  'extract openapi spec files with custom openapi schema provided',
72
- 'mocks/translation/custom-schema',
72
+ 'mocks/translation/openapi',
73
73
  {
74
74
  subcommand: 'extract',
75
75
  source: 'ru-RU',
@@ -77,7 +77,6 @@ describe('Translate command', () => {
77
77
  additionalArgs:
78
78
  '--schema mocks/translation/custom-schema/custom-openapi-schema-30.yaml',
79
79
  },
80
- false,
81
80
  );
82
81
 
83
82
  generateFilesYamlTestTemplate('compose openapi spec files', 'mocks/translation/compose', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/cli-tests",
3
- "version": "0.0.0-rc-extract-openapi-test-19461729203",
3
+ "version": "0.0.0-rc-extract-openapi-test-19463999580",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },
@@ -1,42 +0,0 @@
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'
@@ -1,8 +0,0 @@
1
- items:
2
- - name: openapi
3
- include:
4
- path: openapi
5
- includers:
6
- - name: openapi
7
- input: openapi-spec.yaml
8
- mode: link