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

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.
@@ -963,13 +963,13 @@ paths:
963
963
  /test:
964
964
  get:
965
965
  tags:
966
- - '%%%2%%%'
967
- summary: '%%%3%%%'
968
- description: '%%%4%%%'
966
+ - test-controller
967
+ summary: '%%%2%%%'
968
+ description: '%%%3%%%'
969
969
  operationId: getWithPayloadResponse
970
970
  responses:
971
971
  '200':
972
- description: '%%%5%%%'
972
+ description: '%%%4%%%'
973
973
  content:
974
974
  application/json:
975
975
  schema:
@@ -982,10 +982,10 @@ components:
982
982
  A:
983
983
  type: string
984
984
  description: |
985
- %%%6%%%
985
+ %%%5%%%
986
+ - %%%6%%%
986
987
  - %%%7%%%
987
988
  - %%%8%%%
988
- - %%%9%%%
989
989
  RecurceMiddle:
990
990
  type: object
991
991
  properties:
@@ -1013,27 +1013,24 @@ exports[`Translate command > extract openapi spec files with custom openapi sche
1013
1013
  <source xml:space="preserve">Generated server url</source>
1014
1014
  </trans-unit>
1015
1015
  <trans-unit id="2">
1016
- <source xml:space="preserve">test-controller</source>
1017
- </trans-unit>
1018
- <trans-unit id="3">
1019
1016
  <source xml:space="preserve">Simple get operation. тест новой верстки 3</source>
1020
1017
  </trans-unit>
1021
- <trans-unit id="4">
1018
+ <trans-unit id="3">
1022
1019
  <source xml:space="preserve">Defines a simple get operation with no inputs and a complex</source>
1023
1020
  </trans-unit>
1024
- <trans-unit id="5">
1021
+ <trans-unit id="4">
1025
1022
  <source xml:space="preserve">200!!!!</source>
1026
1023
  </trans-unit>
1027
- <trans-unit id="6">
1024
+ <trans-unit id="5">
1028
1025
  <source xml:space="preserve">Статус загрузки:</source>
1029
1026
  </trans-unit>
1030
- <trans-unit id="7">
1027
+ <trans-unit id="6">
1031
1028
  <source xml:space="preserve"><x ctype="code_open" equiv-text="\`" id="x-1"/>UPLOADED<x ctype="code_close" equiv-text="\`" id="x-2"/> — загрузка завершена.</source>
1032
1029
  </trans-unit>
1033
- <trans-unit id="8">
1030
+ <trans-unit id="7">
1034
1031
  <source xml:space="preserve"><x ctype="code_open" equiv-text="\`" id="x-3"/>IN_PROGRESS<x ctype="code_close" equiv-text="\`" id="x-4"/> — загрузка находится в процессе обработки.</source>
1035
1032
  </trans-unit>
1036
- <trans-unit id="9">
1033
+ <trans-unit id="8">
1037
1034
  <source xml:space="preserve"><x ctype="code_open" equiv-text="\`" id="x-5"/>PROCESSED<x ctype="code_close" equiv-text="\`" id="x-6"/> — загрузка успешно обработана.</source>
1038
1035
  </trans-unit>
1039
1036
  </body>
@@ -67,17 +67,14 @@ 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
72
  'mocks/translation/custom-schema',
73
73
  {
74
74
  subcommand: 'extract',
75
75
  source: 'ru-RU',
76
76
  target: 'es-ES',
77
- additionalArgs:
78
- '--schema mocks/translation/custom-schema/custom-openapi-schema-30.yaml',
79
77
  },
80
- false,
81
78
  );
82
79
 
83
80
  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-19462171581",
4
4
  "bin": {
5
5
  "diplodoc-cli-test": "bin.mjs"
6
6
  },