openapi-ts-request 0.8.1 → 0.8.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-ts-request",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Swagger2/OpenAPI3 to TypeScript, request client, request mock service, enum, type field label, JSON Schemas",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,31 +1,15 @@
1
1
  /* eslint-disable */
2
2
  // @ts-ignore
3
- import * as {{ namespace }} from './{{ interfaceFileName }}';
3
+ export * from './{{ interfaceFileName }}';
4
4
  {%- if isDisplayEnumLabel %}
5
- import * as displayEnumLabels from './{{ displayEnumLabelFileName }}';
5
+ export * from './{{ displayEnumLabelFileName }}';
6
6
  {%- endif %}
7
7
  {%- if isDisplayTypeLabel %}
8
- import * as displayTypeLabels from './{{ displayTypeLabelFileName }}';
8
+ export * from './{{ displayTypeLabelFileName }}';
9
9
  {%- endif %}
10
10
  {%- if isGenJsonSchemas %}
11
- import * as schemas from './{{ schemaFileName }}';
11
+ export * from './{{ schemaFileName }}';
12
12
  {%- endif %}
13
13
  {% for api in list -%}
14
- import * as {{ api.controllerName }} from './{{ api.fileName }}';
14
+ export * from './{{ api.fileName }}';
15
15
  {% endfor -%}
16
-
17
- export {
18
- {{ namespace }},
19
- {%- if isDisplayEnumLabel %}
20
- displayEnumLabels,
21
- {%- endif %}
22
- {%- if isDisplayTypeLabel %}
23
- displayTypeLabels,
24
- {%- endif %}
25
- {%- if isGenJsonSchemas %}
26
- schemas,
27
- {%- endif %}
28
- {% for api in list -%}
29
- {{ api.controllerName }},
30
- {% endfor -%}
31
- }