@rxap/schematics-open-api 16.0.0-dev.1 → 16.0.0-dev.11

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 (84) hide show
  1. package/CHANGELOG.md +105 -188
  2. package/{LICENSE → LICENSE.md} +3 -12
  3. package/README.md +7 -6
  4. package/collection.json +9 -0
  5. package/package.json +56 -31
  6. package/src/index.d.ts +3 -4
  7. package/src/index.js +3 -6
  8. package/src/index.js.map +1 -1
  9. package/src/lib/clear-operation.js +2 -6
  10. package/src/lib/clear-operation.js.map +1 -1
  11. package/src/lib/config.js.map +1 -1
  12. package/src/lib/generate-components.d.ts +1 -1
  13. package/src/lib/generate-components.js +12 -14
  14. package/src/lib/generate-components.js.map +1 -1
  15. package/src/lib/generate-index-exports.js +1 -1
  16. package/src/lib/generate-index-exports.js.map +1 -1
  17. package/src/lib/generate-operation.d.ts +1 -1
  18. package/src/lib/generate-operation.js +16 -21
  19. package/src/lib/generate-operation.js.map +1 -1
  20. package/src/lib/generate-parameters.d.ts +1 -1
  21. package/src/lib/generate-parameters.js +52 -51
  22. package/src/lib/generate-parameters.js.map +1 -1
  23. package/src/lib/generate-request-body.d.ts +1 -1
  24. package/src/lib/generate-request-body.js +15 -14
  25. package/src/lib/generate-request-body.js.map +1 -1
  26. package/src/lib/generate-response.d.ts +1 -1
  27. package/src/lib/generate-response.js +15 -14
  28. package/src/lib/generate-response.js.map +1 -1
  29. package/src/lib/load-open-api-config.js.map +1 -1
  30. package/src/lib/types.d.ts +1 -1
  31. package/src/lib/types.js.map +1 -1
  32. package/src/lib/utilities/any-schema-object.js +1 -1
  33. package/src/lib/utilities/any-schema-object.js.map +1 -1
  34. package/src/lib/utilities/get-parameter-type.js.map +1 -1
  35. package/src/lib/utilities/get-reqeust-body.js +2 -2
  36. package/src/lib/utilities/get-reqeust-body.js.map +1 -1
  37. package/src/lib/utilities/get-request-body-type.js.map +1 -1
  38. package/src/lib/utilities/get-response-type.js.map +1 -1
  39. package/src/lib/utilities/get-response.js +5 -6
  40. package/src/lib/utilities/get-response.js.map +1 -1
  41. package/src/lib/utilities/has-operation-paramters.js.map +1 -1
  42. package/src/lib/utilities/has-operation-request-body.js.map +1 -1
  43. package/src/lib/utilities/http-request.js +3 -1
  44. package/src/lib/utilities/http-request.js.map +1 -1
  45. package/src/lib/utilities/ignore-operation.js.map +1 -1
  46. package/src/lib/utilities/is-collection-response.js.map +1 -1
  47. package/src/lib/utilities/is-http-method.js.map +1 -1
  48. package/src/lib/utilities/is-open-api-schema-from-path.js +2 -1
  49. package/src/lib/utilities/is-open-api-schema-from-path.js.map +1 -1
  50. package/src/lib/utilities/is-operation-object.js +1 -1
  51. package/src/lib/utilities/is-operation-object.js.map +1 -1
  52. package/src/lib/utilities/is-reference-object.js +1 -1
  53. package/src/lib/utilities/is-reference-object.js.map +1 -1
  54. package/src/lib/utilities/is-without-parameters.js.map +1 -1
  55. package/src/schematics/generate/const.d.ts +5 -0
  56. package/src/schematics/generate/const.js +9 -0
  57. package/src/schematics/generate/const.js.map +1 -0
  58. package/src/schematics/generate/create-directive.d.ts +2 -0
  59. package/src/schematics/generate/create-directive.js +293 -0
  60. package/src/schematics/generate/create-directive.js.map +1 -0
  61. package/src/schematics/generate/generate-data-source.d.ts +2 -0
  62. package/src/schematics/generate/generate-data-source.js +74 -0
  63. package/src/schematics/generate/generate-data-source.js.map +1 -0
  64. package/src/schematics/generate/generate-openapi-provider.d.ts +3 -0
  65. package/src/schematics/generate/generate-openapi-provider.js +41 -0
  66. package/src/schematics/generate/generate-openapi-provider.js.map +1 -0
  67. package/src/schematics/generate/generate-operation-command.d.ts +3 -0
  68. package/src/schematics/generate/generate-operation-command.js +119 -0
  69. package/src/schematics/generate/generate-operation-command.js.map +1 -0
  70. package/src/schematics/generate/generate-remote-method.d.ts +3 -0
  71. package/src/schematics/generate/generate-remote-method.js +173 -0
  72. package/src/schematics/generate/generate-remote-method.js.map +1 -0
  73. package/src/schematics/generate/index.d.ts +3 -0
  74. package/src/schematics/generate/index.js +112 -0
  75. package/src/schematics/generate/index.js.map +1 -0
  76. package/src/schematics/generate/options.d.ts +14 -0
  77. package/src/schematics/generate/options.js +3 -0
  78. package/src/schematics/generate/options.js.map +1 -0
  79. package/src/schematics/generate/schema.d.ts +25 -0
  80. package/src/schematics/generate/schema.json +132 -0
  81. package/migration.json +0 -4
  82. package/src/lib/coerce-open-api-project.d.ts +0 -2
  83. package/src/lib/coerce-open-api-project.js +0 -48
  84. package/src/lib/coerce-open-api-project.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,357 +3,274 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [16.0.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.0...@rxap/schematics-open-api@16.0.0-dev.1) (2023-05-18)
7
-
6
+ # [16.0.0-dev.11](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.10...@rxap/schematics-open-api@16.0.0-dev.11) (2023-08-05)
8
7
 
9
8
  ### Bug Fixes
10
9
 
11
- * **deps:** update rxap packages to 16.x.x ([f9c2263](https://gitlab.com/rxap/packages/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
12
-
13
-
10
+ - change inline option to default ([9a0e51b](https://gitlab.com/rxap/packages/commit/9a0e51b4ee8983e805db31a0e169af8792f243cb))
14
11
 
12
+ # [16.0.0-dev.10](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.9...@rxap/schematics-open-api@16.0.0-dev.10) (2023-08-05)
15
13
 
14
+ ### Bug Fixes
16
15
 
17
- # [16.0.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@15.0.1...@rxap/schematics-open-api@16.0.0-dev.0) (2023-05-17)
16
+ - support es2022 ([c36ea81](https://gitlab.com/rxap/packages/commit/c36ea8187c725723094543e0d91f7ed1be16c232))
18
17
 
18
+ # [16.0.0-dev.9](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.8...@rxap/schematics-open-api@16.0.0-dev.9) (2023-08-05)
19
19
 
20
- ### chore
20
+ ### Features
21
21
 
22
- * upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/packages/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
22
+ - add data source generator ([b8fe938](https://gitlab.com/rxap/packages/commit/b8fe93845c23bf37fa6fe92194105fc97c0c6710))
23
23
 
24
+ # [16.0.0-dev.8](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.7...@rxap/schematics-open-api@16.0.0-dev.8) (2023-08-05)
24
25
 
25
- ### BREAKING CHANGES
26
+ ### Bug Fixes
26
27
 
27
- * upgrade to 16.x.x
28
+ - use correct import paths ([086877f](https://gitlab.com/rxap/packages/commit/086877f36f906603a90446061b2c3327a0b2d964))
28
29
 
30
+ # [16.0.0-dev.7](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.6...@rxap/schematics-open-api@16.0.0-dev.7) (2023-08-04)
29
31
 
32
+ ### Bug Fixes
30
33
 
34
+ - add licence file to publishable packages ([ca6d4d5](https://gitlab.com/rxap/packages/commit/ca6d4d509a743b89bad5ed7ae935d3007231705a))
35
+ - generate readme with peer dependencies to install ([e7039bb](https://gitlab.com/rxap/packages/commit/e7039bb5e86ffeadfe7cc92d5fc71d32f8efb4fb))
31
36
 
37
+ ### Features
32
38
 
33
- ## [15.0.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@15.0.0...@rxap/schematics-open-api@15.0.1) (2023-05-17)
39
+ - change to sync execution and support nest command generators ([da1f09b](https://gitlab.com/rxap/packages/commit/da1f09bcc35f0934206f99a7e0b6ae95a15aea78))
34
40
 
41
+ # 16.0.0-dev.6 (2023-08-01)
35
42
 
36
43
  ### Bug Fixes
37
44
 
38
- * cleanup serialized open api operation object ([f5322e0](https://gitlab.com/rxap/packages/commit/f5322e050f5077d4b4a3fe5fb6f41634bd17f8d7))
39
- * **schematics:** pre generate interface imports ([1b1cf87](https://gitlab.com/rxap/packages/commit/1b1cf8788e052dfd32c95be47e116aae7cae5caf))
40
- * **schematics:** update open api schematics package ([cc01087](https://gitlab.com/rxap/packages/commit/cc010878bf2eee788a0f61e3b2dbfa1a08b45bd8))
41
- * support open api projects with sub directories ([73c88f9](https://gitlab.com/rxap/packages/commit/73c88f9473770df4063b487d646f68243d011b1c))
42
-
43
-
45
+ - restructure and merge mono repos packages, schematics, plugins and nest ([a057d77](https://gitlab.com/rxap/packages/commit/a057d77ca2acf9426a03a497da8532f8a2fe2c86))
46
+ - update package dependency versions ([45bd022](https://gitlab.com/rxap/packages/commit/45bd022d755c0c11f7d0bcc76d26b39928007941))
44
47
 
48
+ # [16.0.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.4...@rxap/schematics-open-api@16.0.0-dev.5) (2023-07-10)
45
49
 
50
+ ### Bug Fixes
46
51
 
47
- # [15.0.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@14.1.1...@rxap/schematics-open-api@15.0.0) (2022-12-14)
52
+ - update package dependency versions ([8479f5c](https://gitlab.com/rxap/packages/commit/8479f5c405a885cc0f300cec6156584e4c65d59c))
48
53
 
54
+ # [16.0.0-dev.4](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.2...@rxap/schematics-open-api@16.0.0-dev.4) (2023-07-10)
49
55
 
50
- ### chore
51
-
52
- * upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/packages/commit/c0a94f6b044213fe55dbda0634bef60859daa345))
53
- * upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/packages/commit/de2b99196ee6d388f37efd17b464a5bfa744de7e))
56
+ ### Bug Fixes
54
57
 
58
+ - restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
55
59
 
56
- ### BREAKING CHANGES
60
+ # [16.0.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@16.0.0-dev.2...@rxap/schematics-open-api@16.0.0-dev.3) (2023-05-31)
57
61
 
58
- * upgrade nrwl 15.x.x
59
- * upgrade nrwl 15.x.x
62
+ **Note:** Version bump only for package @rxap/schematics-open-api
60
63
 
64
+ # [16.0.0-dev.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@16.0.0-dev.1...@rxap/schematics-open-api@16.0.0-dev.2) (2023-05-18)
61
65
 
66
+ ### Bug Fixes
62
67
 
68
+ - remove deprecated pack targetconcept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
63
69
 
70
+ # [16.0.0-dev.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@16.0.0-dev.0...@rxap/schematics-open-api@16.0.0-dev.1) (2023-05-18)
64
71
 
65
- ## [14.1.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@14.1.0...@rxap/schematics-open-api@14.1.1) (2022-12-14)
72
+ ### Bug Fixes
66
73
 
67
- **Note:** Version bump only for package @rxap/schematics-open-api
74
+ - **deps:** update rxap packages to16.x.x ([f9c2263](https://gitlab.com/rxap/schematics/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
68
75
 
76
+ # [16.0.0-dev.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@15.0.1...@rxap/schematics-open-api@16.0.0-dev.0) (2023-05-17)
69
77
 
78
+ ### chore
70
79
 
80
+ - upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
71
81
 
82
+ ### BREAKING CHANGES
72
83
 
73
- # [14.1.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@14.0.1...@rxap/schematics-open-api@14.1.0) (2022-12-13)
84
+ - upgrade to 16.x.x
74
85
 
86
+ ## [15.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@15.0.0...@rxap/schematics-open-api@15.0.1) (2023-05-17)
75
87
 
76
88
  ### Bug Fixes
77
89
 
78
- * async generator execution ([ebca4f0](https://gitlab.com/rxap/packages/commit/ebca4f0187cfcb8255824ed89172db708e7ae862))
79
- * only create type if defined and prefer void ([34bb6ce](https://gitlab.com/rxap/packages/commit/34bb6ce9bc140d5e941fbcb574f179b3741fc824))
80
- * only create type if defined and prefer void ([6cf0827](https://gitlab.com/rxap/packages/commit/6cf08271d6745f24ef8888e666a699f67292bb27))
81
- * use any return type ([85c1959](https://gitlab.com/rxap/packages/commit/85c19598c619c77e7cdbc7013d4b51eb6781fb5f))
90
+ - cleanup serialized open api operationobject ([f5322e0](https://gitlab.com/rxap/schematics/commit/f5322e050f5077d4b4a3fe5fb6f41634bd17f8d7))
91
+ - **schematics:** pre generate interfaceimports ([1b1cf87](https://gitlab.com/rxap/schematics/commit/1b1cf8788e052dfd32c95be47e116aae7cae5caf))
92
+ - **schematics:** update open api schematicspackage ([cc01087](https://gitlab.com/rxap/schematics/commit/cc010878bf2eee788a0f61e3b2dbfa1a08b45bd8))
93
+ - support open api projects with subdirectories ([73c88f9](https://gitlab.com/rxap/schematics/commit/73c88f9473770df4063b487d646f68243d011b1c))
82
94
 
95
+ # [15.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@14.1.1...@rxap/schematics-open-api@15.0.0) (2022-12-14)
83
96
 
84
- ### Features
85
-
86
- * add coerce open api project function ([8eafe9d](https://gitlab.com/rxap/packages/commit/8eafe9d2acf7f21dbe0a48c5b80d0a9502597233))
97
+ ### chore
87
98
 
99
+ - upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/schematics/commit/c0a94f6b044213fe55dbda0634bef60859daa345))
100
+ - upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/schematics/commit/de2b99196ee6d388f37efd17b464a5bfa744de7e))
88
101
 
102
+ ### BREAKING CHANGES
89
103
 
104
+ - upgrade nrwl 15.x.x
105
+ - upgrade nrwl 15.x.x
90
106
 
107
+ ## [14.1.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@14.1.0...@rxap/schematics-open-api@14.1.1) (2022-12-14)
91
108
 
92
- ## [14.0.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@14.0.0...@rxap/schematics-open-api@14.0.1) (2022-10-06)
109
+ **Note:** Version bump only for package @rxap/schematics-open-api
93
110
 
111
+ # [14.1.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@14.0.1...@rxap/schematics-open-api@14.1.0) (2022-12-13)
94
112
 
95
113
  ### Bug Fixes
96
114
 
97
- * update package json deps ([99c7002](https://gitlab.com/rxap/packages/commit/99c70028a34927902ece991748a7d0fc857c5223))
115
+ - async generatorexecution ([ebca4f0](https://gitlab.com/rxap/schematics/commit/ebca4f0187cfcb8255824ed89172db708e7ae862))
116
+ - only create type if defined and prefervoid ([34bb6ce](https://gitlab.com/rxap/schematics/commit/34bb6ce9bc140d5e941fbcb574f179b3741fc824))
117
+ - only create type if defined and prefervoid ([6cf0827](https://gitlab.com/rxap/schematics/commit/6cf08271d6745f24ef8888e666a699f67292bb27))
118
+ - use any return type ([85c1959](https://gitlab.com/rxap/schematics/commit/85c19598c619c77e7cdbc7013d4b51eb6781fb5f))
98
119
 
120
+ ### Features
99
121
 
122
+ - add coerce open api projectfunction ([8eafe9d](https://gitlab.com/rxap/schematics/commit/8eafe9d2acf7f21dbe0a48c5b80d0a9502597233))
100
123
 
124
+ ## [14.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@14.0.0...@rxap/schematics-open-api@14.0.1) (2022-10-06)
101
125
 
126
+ ### Bug Fixes
102
127
 
103
- # [14.0.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@13.0.0...@rxap/schematics-open-api@14.0.0) (2022-09-11)
128
+ - update package jsondeps ([99c7002](https://gitlab.com/rxap/schematics/commit/99c70028a34927902ece991748a7d0fc857c5223))
104
129
 
130
+ # [14.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@13.0.0...@rxap/schematics-open-api@14.0.0) (2022-09-11)
105
131
 
106
132
  ### chore
107
133
 
108
- * upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/packages/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
109
-
134
+ - upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
110
135
 
111
136
  ### BREAKING CHANGES
112
137
 
113
- * upgrade to 14.x.x
114
-
115
-
116
-
117
-
138
+ - upgrade to 14.x.x
118
139
 
119
- # [13.0.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@13.0.0-next.4...@rxap/schematics-open-api@13.0.0) (2022-09-11)
140
+ # [13.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@13.0.0-next.4...@rxap/schematics-open-api@13.0.0) (2022-09-11)
120
141
 
121
142
  **Note:** Version bump only for package @rxap/schematics-open-api
122
143
 
123
- # [13.0.0-next.4](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@13.0.0-next.3...@rxap/schematics-open-api@13.0.0-next.4) (2022-05-23)
144
+ # [13.0.0-next.4](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@13.0.0-next.3...@rxap/schematics-open-api@13.0.0-next.4) (2022-05-23)
124
145
 
125
146
  ### Bug Fixes
126
147
 
127
- * update typescript generator
128
- package ([3bd311c](https://gitlab.com/rxap/packages/commit/3bd311ca5697bdbed598cdf8c9ec44f297fd2215))
129
-
130
- # [13.0.0-next.3](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@13.0.0-next.2...@rxap/schematics-open-api@13.0.0-next.3) (2022-05-09)
148
+ - update typescript generatorpackage ([3bd311c](https://gitlab.com/rxap/schematics/commit/3bd311ca5697bdbed598cdf8c9ec44f297fd2215))
131
149
 
150
+ # [13.0.0-next.3](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@13.0.0-next.2...@rxap/schematics-open-api@13.0.0-next.3) (2022-05-09)
132
151
 
133
152
  ### Bug Fixes
134
153
 
135
- * convert ref into object for parameters ([81f8f9e](https://gitlab.com/rxap/packages/commit/81f8f9e02b8feffe24ca43ee0684740bd59e0f88))
136
-
137
-
138
-
139
-
154
+ - convert ref into object forparameters ([81f8f9e](https://gitlab.com/rxap/schematics/commit/81f8f9e02b8feffe24ca43ee0684740bd59e0f88))
140
155
 
141
- # [13.0.0-next.2](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@13.0.0-next.1...@rxap/schematics-open-api@13.0.0-next.2) (2022-05-09)
156
+ # [13.0.0-next.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@13.0.0-next.1...@rxap/schematics-open-api@13.0.0-next.2) (2022-05-09)
142
157
 
143
158
  **Note:** Version bump only for package @rxap/schematics-open-api
144
159
 
145
-
146
-
147
-
148
-
149
- # [13.0.0-next.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@13.0.0-next.0...@rxap/schematics-open-api@13.0.0-next.1) (2022-03-23)
150
-
160
+ # [13.0.0-next.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@13.0.0-next.0...@rxap/schematics-open-api@13.0.0-next.1) (2022-03-23)
151
161
 
152
162
  ### Bug Fixes
153
163
 
154
- * remove rxap/utilities dependency ([d8dfe16](https://gitlab.com/rxap/packages/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
155
-
156
-
157
-
158
-
159
-
160
- # [13.0.0-next.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.9...@rxap/schematics-open-api@13.0.0-next.0) (2022-02-19)
164
+ - remove rxap/utilitiesdependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
161
165
 
166
+ # [13.0.0-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.9...@rxap/schematics-open-api@13.0.0-next.0) (2022-02-19)
162
167
 
163
168
  ### Build System
164
169
 
165
- * upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/packages/commit/5cd07c19645528c787ef01a121a4a4367db78902))
166
-
170
+ - upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/schematics/commit/5cd07c19645528c787ef01a121a4a4367db78902))
167
171
 
168
172
  ### BREAKING CHANGES
169
173
 
170
- * update the core nrwl packages to 13.x.x
174
+ - update the core nrwl packages to 13.x.x
171
175
 
172
176
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
173
177
 
174
-
175
-
176
-
177
-
178
- ## [12.0.9](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.8...@rxap/schematics-open-api@12.0.9) (2021-08-02)
179
-
178
+ ## [12.0.9](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.8...@rxap/schematics-open-api@12.0.9) (2021-08-02)
180
179
 
181
180
  ### Bug Fixes
182
181
 
183
- * add missing peer dependencies ([83481ea](https://gitlab.com/rxap/packages/commit/83481eafb7912aef4e9574abc416edfd5f025898))
184
-
182
+ - add missing peerdependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
185
183
 
186
-
187
-
188
-
189
- ## [12.0.8](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.8-next.0...@rxap/schematics-open-api@12.0.8) (2021-06-29)
184
+ ## [12.0.8](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.8-next.0...@rxap/schematics-open-api@12.0.8) (2021-06-29)
190
185
 
191
186
  **Note:** Version bump only for package @rxap/schematics-open-api
192
187
 
193
-
194
-
195
-
196
-
197
- ## [12.0.8-next.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.7...@rxap/schematics-open-api@12.0.8-next.0) (2021-06-23)
188
+ ## [12.0.8-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.7...@rxap/schematics-open-api@12.0.8-next.0) (2021-06-23)
198
189
 
199
190
  **Note:** Version bump only for package @rxap/schematics-open-api
200
191
 
201
-
202
-
203
-
204
-
205
- ## [12.0.7](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.6...@rxap/schematics-open-api@12.0.7) (2021-06-23)
192
+ ## [12.0.7](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.6...@rxap/schematics-open-api@12.0.7) (2021-06-23)
206
193
 
207
194
  **Note:** Version bump only for package @rxap/schematics-open-api
208
195
 
209
-
210
-
211
-
212
-
213
- ## [12.0.7-next.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.6...@rxap/schematics-open-api@12.0.7-next.0) (2021-06-23)
196
+ ## [12.0.7-next.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.6...@rxap/schematics-open-api@12.0.7-next.0) (2021-06-23)
214
197
 
215
198
  **Note:** Version bump only for package @rxap/schematics-open-api
216
199
 
217
-
218
-
219
-
220
-
221
- ## [12.0.6](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.4...@rxap/schematics-open-api@12.0.6) (2021-06-22)
200
+ ## [12.0.6](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.4...@rxap/schematics-open-api@12.0.6) (2021-06-22)
222
201
 
223
202
  **Note:** Version bump only for package @rxap/schematics-open-api
224
203
 
225
-
226
-
227
-
228
-
229
- ## [12.0.4](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.3...@rxap/schematics-open-api@12.0.4) (2021-06-17)
230
-
204
+ ## [12.0.4](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.3...@rxap/schematics-open-api@12.0.4) (2021-06-17)
231
205
 
232
206
  ### Bug Fixes
233
207
 
234
- * set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/packages/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
235
-
236
-
237
-
238
-
208
+ - set correct peerDependencies anddependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
239
209
 
240
210
  ## 12.0.3 (2021-06-14)
241
211
 
242
212
  **Note:** Version bump only for package @rxap/schematics-open-api
243
213
 
244
-
245
-
246
-
247
-
248
- ## [12.0.2](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.3.1...@rxap/schematics-open-api@12.0.2) (2021-06-09)
214
+ ## [12.0.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.3.1...@rxap/schematics-open-api@12.0.2) (2021-06-09)
249
215
 
250
216
  **Note:** Version bump only for package @rxap/schematics-open-api
251
217
 
252
-
253
-
254
-
255
-
256
- ## [12.0.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@12.0.0...@rxap/schematics-open-api@12.0.1) (2021-05-24)
218
+ ## [12.0.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@12.0.0...@rxap/schematics-open-api@12.0.1) (2021-05-24)
257
219
 
258
220
  **Note:** Version bump only for package @rxap/schematics-open-api
259
221
 
260
-
261
-
262
-
263
-
264
- # [12.0.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.3.0...@rxap/schematics-open-api@12.0.0) (2021-05-24)
222
+ # [12.0.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.3.0...@rxap/schematics-open-api@12.0.0) (2021-05-24)
265
223
 
266
224
  **Note:** Version bump only for package @rxap/schematics-open-api
267
225
 
268
-
269
-
270
-
271
-
272
- # [11.3.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.2.3...@rxap/schematics-open-api@11.3.0) (2021-05-04)
273
-
226
+ # [11.3.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.2.3...@rxap/schematics-open-api@11.3.0) (2021-05-04)
274
227
 
275
228
  ### Features
276
229
 
277
- * add GenerateIndexExports Function ([e3fce4c](https://gitlab.com/rxap/packages/commit/e3fce4cf3104f77c8122ff257ba69f3968cff6a4))
278
-
279
-
280
-
281
-
282
-
283
- ## [11.2.3](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.2.2...@rxap/schematics-open-api@11.2.3) (2021-05-03)
230
+ - add GenerateIndexExportsFunction ([e3fce4c](https://gitlab.com/rxap/schematics/commit/e3fce4cf3104f77c8122ff257ba69f3968cff6a4))
284
231
 
232
+ ## [11.2.3](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.2.2...@rxap/schematics-open-api@11.2.3) (2021-05-03)
285
233
 
286
234
  ### Bug Fixes
287
235
 
288
- * add missing export ([0f1d683](https://gitlab.com/rxap/packages/commit/0f1d683108952b5658eb08e59f4f504183dbe17d))
289
-
290
-
291
-
292
-
293
-
294
- ## [11.2.2](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.2.1...@rxap/schematics-open-api@11.2.2) (2021-04-30)
236
+ - add missing export ([0f1d683](https://gitlab.com/rxap/schematics/commit/0f1d683108952b5658eb08e59f4f504183dbe17d))
295
237
 
238
+ ## [11.2.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.2.1...@rxap/schematics-open-api@11.2.2) (2021-04-30)
296
239
 
297
240
  ### Bug Fixes
298
241
 
299
- * **schematics:** add support for void request body type ([6b49540](https://gitlab.com/rxap/packages/commit/6b49540ba3c0248dc107ad7c76a344ee1daeb771))
300
-
301
-
302
-
303
-
304
-
305
- ## [11.2.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.2.0...@rxap/schematics-open-api@11.2.1) (2021-04-30)
242
+ - **schematics:** add support for void request bodytype ([6b49540](https://gitlab.com/rxap/schematics/commit/6b49540ba3c0248dc107ad7c76a344ee1daeb771))
306
243
 
244
+ ## [11.2.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.2.0...@rxap/schematics-open-api@11.2.1) (2021-04-30)
307
245
 
308
246
  ### Bug Fixes
309
247
 
310
- * **schematics:** add support for void request body type ([0feac0f](https://gitlab.com/rxap/packages/commit/0feac0f0e5447dfafc8e51166b2d63cf66fce208))
311
-
312
-
313
-
314
-
315
-
316
- # [11.2.0](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.1.2...@rxap/schematics-open-api@11.2.0) (2021-04-30)
248
+ - **schematics:** add support for void request bodytype ([0feac0f](https://gitlab.com/rxap/schematics/commit/0feac0f0e5447dfafc8e51166b2d63cf66fce208))
317
249
 
250
+ # [11.2.0](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.1.2...@rxap/schematics-open-api@11.2.0) (2021-04-30)
318
251
 
319
252
  ### Features
320
253
 
321
- * add ClearOperation function ([c6fe1b2](https://gitlab.com/rxap/packages/commit/c6fe1b2497d36e9668d9d18513f584d656f973dd))
322
-
323
-
324
-
325
-
326
-
327
- ## [11.1.2](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.1.1...@rxap/schematics-open-api@11.1.2) (2021-04-30)
254
+ - add ClearOperationfunction ([c6fe1b2](https://gitlab.com/rxap/schematics/commit/c6fe1b2497d36e9668d9d18513f584d656f973dd))
328
255
 
256
+ ## [11.1.2](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.1.1...@rxap/schematics-open-api@11.1.2) (2021-04-30)
329
257
 
330
258
  ### Bug Fixes
331
259
 
332
- * **schematics:** change module to commonjs ([39a3700](https://gitlab.com/rxap/packages/commit/39a3700a1d1194a81fb9e7944288984f64b46b88))
333
-
334
-
335
-
336
-
337
-
338
- ## [11.1.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-open-api@11.1.0...@rxap/schematics-open-api@11.1.1) (2021-04-30)
260
+ - **schematics:** change module tocommonjs ([39a3700](https://gitlab.com/rxap/schematics/commit/39a3700a1d1194a81fb9e7944288984f64b46b88))
339
261
 
262
+ ## [11.1.1](https://gitlab.com/rxap/schematics/compare/@rxap/schematics-open-api@11.1.0...@rxap/schematics-open-api@11.1.1) (2021-04-30)
340
263
 
341
264
  ### Bug Fixes
342
265
 
343
- * update build target to es6 ([6418b27](https://gitlab.com/rxap/packages/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
344
-
345
-
346
-
347
-
266
+ - update build target toes6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
348
267
 
349
268
  # 11.1.0 (2021-04-30)
350
269
 
351
-
352
270
  ### Bug Fixes
353
271
 
354
- * add support for custom options object ([181aa69](https://gitlab.com/rxap/packages/commit/181aa69a49a5ed48a2db5ba51b420c759b091c31))
355
-
272
+ - add support for custom optionsobject ([181aa69](https://gitlab.com/rxap/schematics/commit/181aa69a49a5ed48a2db5ba51b420c759b091c31))
356
273
 
357
274
  ### Features
358
275
 
359
- * add IsCollectionResponse function ([61e13a9](https://gitlab.com/rxap/packages/commit/61e13a954b4e92140fd4b18c9ff0a2688d7a359b))
276
+ - add IsCollectionResponsefunction ([61e13a9](https://gitlab.com/rxap/schematics/commit/61e13a954b4e92140fd4b18c9ff0a2688d7a359b))
@@ -1,18 +1,7 @@
1
- Copyright (C) 2021 Merzough Münker
2
-
3
- This program is free software: you can redistribute it and/or modify
4
- it under the terms of the GNU General Public License as published by
5
- the Free Software Foundation, either version 3 of the License, or
6
- (at your option) any later version.
7
-
8
- This program is distributed in the hope that it will be useful,
9
- but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
-
12
1
  GNU GENERAL PUBLIC LICENSE
13
2
  Version 3, 29 June 2007
14
3
 
15
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
16
5
  Everyone is permitted to copy and distribute verbatim copies
17
6
  of this license document, but changing it is not allowed.
18
7
 
@@ -628,3 +617,5 @@ reviewing courts shall apply local law that most closely approximates
628
617
  an absolute waiver of all civil liability in connection with the
629
618
  Program, unless a warranty or assumption of liability accompanies a
630
619
  copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
package/README.md CHANGED
@@ -1,5 +1,4 @@
1
- @rxap/schematics-open-api
2
- ======
1
+ # @rxap/schematics-open-api
3
2
 
4
3
  [![npm version](https://img.shields.io/npm/v/@rxap/schematics-open-api?style=flat-square)](https://www.npmjs.com/package/@rxap/schematics-open-api)
5
4
  [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
@@ -8,13 +7,15 @@
8
7
  ![npm](https://img.shields.io/npm/dm/@rxap/schematics-open-api)
9
8
  ![NPM](https://img.shields.io/npm/l/@rxap/schematics-open-api)
10
9
 
11
- >
12
-
13
10
  - [Installation](#installation)
14
11
 
15
12
  # Installation
16
13
 
14
+ **Add the package to your workspace:**
15
+ ```bash
16
+ yarn add @rxap/schematics-open-api
17
17
  ```
18
- yarn add @rxap/schematics-open-api @rxap/json-schema-to-typescript@^16.0.0-dev.0 @rxap/schematics-utilities@^16.0.0-dev.0
18
+ **Install peer dependencies:**
19
+ ```bash
20
+ yarn add @angular-devkit/core@^16.1.4 @angular-devkit/schematics@^16.1.4 @rxap/json-schema-to-typescript@^16.0.0-dev.5 @rxap/schematics-ts-morph@^16.0.0-dev.7 @rxap/schematics-utilities@^16.0.0-dev.7 @rxap/utilities@^16.0.0-dev.6 ts-morph@^18.0.0
19
21
  ```
20
-
@@ -0,0 +1,9 @@
1
+ {
2
+ "schematics": {
3
+ "generate": {
4
+ "factory": "./src/schematics/generate/index",
5
+ "schema": "./src/schematics/generate/schema.json",
6
+ "description": "Generates for each operation a remote method or data source"
7
+ }
8
+ }
9
+ }
package/package.json CHANGED
@@ -1,49 +1,74 @@
1
1
  {
2
2
  "name": "@rxap/schematics-open-api",
3
- "version": "16.0.0-dev.1",
3
+ "version": "16.0.0-dev.11",
4
+ "type": "commonjs",
4
5
  "dependencies": {
6
+ "@apidevtools/json-schema-ref-parser": "9.0.9",
7
+ "ignore": "^5.2.4",
8
+ "openapi-types": "10.0.0",
9
+ "process": "0.11.10",
5
10
  "semver": "^7.3.5",
6
- "tslib": "^2.3.1"
11
+ "tslib": "2.5.3"
7
12
  },
8
- "schematics": "./schematics/collection.json",
9
- "ng-update": {
10
- "migrations": "./migration.json",
11
- "packageGroup": [
12
- "@rxap/json-schema-to-typescript",
13
- "@rxap/schematics-open-api",
14
- "@rxap/schematics-utilities"
15
- ]
13
+ "peerDependencies": {
14
+ "@angular-devkit/core": "^16.1.4",
15
+ "@angular-devkit/schematics": "^16.1.4",
16
+ "@rxap/json-schema-to-typescript": "^16.0.0-dev.5",
17
+ "@rxap/schematics-ts-morph": "^16.0.0-dev.7",
18
+ "@rxap/schematics-utilities": "^16.0.0-dev.7",
19
+ "@rxap/utilities": "^16.0.0-dev.6",
20
+ "ts-morph": "^18.0.0",
21
+ "@rxap/node-utilities": "1.1.0-dev.1",
22
+ "@rxap/workspace-ts-morph": "0.0.2-dev.1",
23
+ "@rxap/workspace-utilities": "0.1.0-dev.2"
16
24
  },
17
25
  "publishConfig": {
18
- "directory": "../../dist/libs/open-api",
19
- "access": "public"
26
+ "access": "public",
27
+ "directory": "../../../dist/packages/schematic/open-api"
20
28
  },
21
- "main": "src/index.js",
22
- "ng-add": {
23
- "save": "devDependencies"
24
- },
25
- "license": "GPL-3.0",
26
29
  "keywords": [
27
30
  "rxap",
28
- "angular",
29
- "schematics",
31
+ "packages",
32
+ "schematic",
30
33
  "open-api"
31
34
  ],
32
- "repository": "git@gitlab.com:rxap/packages.git",
33
- "homepage": "https://gitlab.com/rxap/packages",
34
- "author": "Merzough Münker",
35
- "private": false,
35
+ "homepage": "https:/gitlab.com/rxap/packages/packages/schematic/open-api",
36
36
  "bugs": {
37
- "url": "https://gitlab.com/rxap/plugins/-/issues",
37
+ "url": "https://gitlab.com/rxap/packages/-/issues",
38
38
  "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
39
39
  },
40
- "peerDependencies": {
41
- "@angular-devkit/schematics": "^16.0.2",
42
- "@apidevtools/json-schema-ref-parser": "^9.1.0",
43
- "@rxap/json-schema-to-typescript": "^16.0.0-dev.0",
44
- "@rxap/schematics-utilities": "^16.0.0-dev.0",
45
- "openapi-types": "^10.0.0",
46
- "ts-morph": "^13.0.3"
40
+ "license": "GPL-3.0-or-later",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://gitlab.com/rxap/packages.git",
44
+ "directory": "packages/schematic/open-api"
45
+ },
46
+ "author": {
47
+ "name": "Merzough Münker",
48
+ "email": "mmuenker@digitaix.com"
49
+ },
50
+ "schematics": "./collection.json",
51
+ "nx-migrations": {
52
+ "packageGroup": [
53
+ {
54
+ "package": "@rxap/json-schema-to-typescript",
55
+ "version": "16.0.0-dev.5"
56
+ },
57
+ {
58
+ "package": "@rxap/schematics-ts-morph",
59
+ "version": "16.0.0-dev.7"
60
+ },
61
+ {
62
+ "package": "@rxap/schematics-utilities",
63
+ "version": "16.0.0-dev.7"
64
+ },
65
+ {
66
+ "package": "@rxap/utilities",
67
+ "version": "16.0.0-dev.6"
68
+ }
69
+ ]
47
70
  },
71
+ "gitHead": "5f6941715632f56a6eb66b59d2c2fb1171711c16",
72
+ "main": "./src/index.js",
48
73
  "types": "./src/index.d.ts"
49
74
  }