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

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 +102 -191
  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,268 @@
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.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)
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
-
14
-
15
-
10
+ - support es2022 ([c36ea81](https://gitlab.com/rxap/packages/commit/c36ea8187c725723094543e0d91f7ed1be16c232))
16
11
 
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)
12
+ # [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)
18
13
 
14
+ ### Features
19
15
 
20
- ### chore
21
-
22
- * upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/packages/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
16
+ - add data source generator ([b8fe938](https://gitlab.com/rxap/packages/commit/b8fe93845c23bf37fa6fe92194105fc97c0c6710))
23
17
 
18
+ # [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
19
 
25
- ### BREAKING CHANGES
20
+ ### Bug Fixes
26
21
 
27
- * upgrade to 16.x.x
22
+ - use correct import paths ([086877f](https://gitlab.com/rxap/packages/commit/086877f36f906603a90446061b2c3327a0b2d964))
28
23
 
24
+ # [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
25
 
26
+ ### Bug Fixes
30
27
 
28
+ - add licence file to publishable packages ([ca6d4d5](https://gitlab.com/rxap/packages/commit/ca6d4d509a743b89bad5ed7ae935d3007231705a))
29
+ - generate readme with peer dependencies to install ([e7039bb](https://gitlab.com/rxap/packages/commit/e7039bb5e86ffeadfe7cc92d5fc71d32f8efb4fb))
31
30
 
31
+ ### Features
32
32
 
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)
33
+ - change to sync execution and support nest command generators ([da1f09b](https://gitlab.com/rxap/packages/commit/da1f09bcc35f0934206f99a7e0b6ae95a15aea78))
34
34
 
35
+ # 16.0.0-dev.6 (2023-08-01)
35
36
 
36
37
  ### Bug Fixes
37
38
 
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
-
39
+ - restructure and merge mono repos packages, schematics, plugins and nest ([a057d77](https://gitlab.com/rxap/packages/commit/a057d77ca2acf9426a03a497da8532f8a2fe2c86))
40
+ - update package dependency versions ([45bd022](https://gitlab.com/rxap/packages/commit/45bd022d755c0c11f7d0bcc76d26b39928007941))
44
41
 
42
+ # [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
43
 
44
+ ### Bug Fixes
46
45
 
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)
46
+ - update package dependency versions ([8479f5c](https://gitlab.com/rxap/packages/commit/8479f5c405a885cc0f300cec6156584e4c65d59c))
48
47
 
48
+ # [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
49
 
50
- ### chore
50
+ ### Bug Fixes
51
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))
52
+ - restructure and merge mono repos packages, schematics, plugins and nest ([653b4cd](https://gitlab.com/rxap/packages/commit/653b4cd39fc92d322df9b3959651fea0aa6079da))
54
53
 
54
+ # [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)
55
55
 
56
- ### BREAKING CHANGES
57
-
58
- * upgrade nrwl 15.x.x
59
- * upgrade nrwl 15.x.x
56
+ **Note:** Version bump only for package @rxap/schematics-open-api
60
57
 
58
+ # [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
59
 
60
+ ### Bug Fixes
62
61
 
62
+ - remove deprecated pack targetconcept ([eeb3748](https://gitlab.com/rxap/schematics/commit/eeb3748be1201fa7f5b3cd05771b95502376d4a3))
63
63
 
64
+ # [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
65
 
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)
66
+ ### Bug Fixes
66
67
 
67
- **Note:** Version bump only for package @rxap/schematics-open-api
68
+ - **deps:** update rxap packages to16.x.x ([f9c2263](https://gitlab.com/rxap/schematics/commit/f9c226356bebe4b3ece8b80f4b08cb80582854a7))
68
69
 
70
+ # [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
71
 
72
+ ### chore
70
73
 
74
+ - upgrade to 16.x.x ([81cd2ca](https://gitlab.com/rxap/schematics/commit/81cd2cab02c29c81e50ebe1b5c699953dce528ee))
71
75
 
76
+ ### BREAKING CHANGES
72
77
 
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)
78
+ - upgrade to 16.x.x
74
79
 
80
+ ## [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
81
 
76
82
  ### Bug Fixes
77
83
 
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))
84
+ - cleanup serialized open api operationobject ([f5322e0](https://gitlab.com/rxap/schematics/commit/f5322e050f5077d4b4a3fe5fb6f41634bd17f8d7))
85
+ - **schematics:** pre generate interfaceimports ([1b1cf87](https://gitlab.com/rxap/schematics/commit/1b1cf8788e052dfd32c95be47e116aae7cae5caf))
86
+ - **schematics:** update open api schematicspackage ([cc01087](https://gitlab.com/rxap/schematics/commit/cc010878bf2eee788a0f61e3b2dbfa1a08b45bd8))
87
+ - support open api projects with subdirectories ([73c88f9](https://gitlab.com/rxap/schematics/commit/73c88f9473770df4063b487d646f68243d011b1c))
82
88
 
89
+ # [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
90
 
84
- ### Features
85
-
86
- * add coerce open api project function ([8eafe9d](https://gitlab.com/rxap/packages/commit/8eafe9d2acf7f21dbe0a48c5b80d0a9502597233))
91
+ ### chore
87
92
 
93
+ - upgrade to nrwl 15.x.x ([c0a94f6](https://gitlab.com/rxap/schematics/commit/c0a94f6b044213fe55dbda0634bef60859daa345))
94
+ - upgrade to nrwl 15.x.x ([de2b991](https://gitlab.com/rxap/schematics/commit/de2b99196ee6d388f37efd17b464a5bfa744de7e))
88
95
 
96
+ ### BREAKING CHANGES
89
97
 
98
+ - upgrade nrwl 15.x.x
99
+ - upgrade nrwl 15.x.x
90
100
 
101
+ ## [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
102
 
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)
103
+ **Note:** Version bump only for package @rxap/schematics-open-api
93
104
 
105
+ # [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
106
 
95
107
  ### Bug Fixes
96
108
 
97
- * update package json deps ([99c7002](https://gitlab.com/rxap/packages/commit/99c70028a34927902ece991748a7d0fc857c5223))
109
+ - async generatorexecution ([ebca4f0](https://gitlab.com/rxap/schematics/commit/ebca4f0187cfcb8255824ed89172db708e7ae862))
110
+ - only create type if defined and prefervoid ([34bb6ce](https://gitlab.com/rxap/schematics/commit/34bb6ce9bc140d5e941fbcb574f179b3741fc824))
111
+ - only create type if defined and prefervoid ([6cf0827](https://gitlab.com/rxap/schematics/commit/6cf08271d6745f24ef8888e666a699f67292bb27))
112
+ - use any return type ([85c1959](https://gitlab.com/rxap/schematics/commit/85c19598c619c77e7cdbc7013d4b51eb6781fb5f))
98
113
 
114
+ ### Features
99
115
 
116
+ - add coerce open api projectfunction ([8eafe9d](https://gitlab.com/rxap/schematics/commit/8eafe9d2acf7f21dbe0a48c5b80d0a9502597233))
100
117
 
118
+ ## [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
119
 
120
+ ### Bug Fixes
102
121
 
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)
122
+ - update package jsondeps ([99c7002](https://gitlab.com/rxap/schematics/commit/99c70028a34927902ece991748a7d0fc857c5223))
104
123
 
124
+ # [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
125
 
106
126
  ### chore
107
127
 
108
- * upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/packages/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
109
-
128
+ - upgrade to 14.x.x ([c9b8ffa](https://gitlab.com/rxap/schematics/commit/c9b8ffa50b9d86020143c333a4d4ed8c5af07687))
110
129
 
111
130
  ### BREAKING CHANGES
112
131
 
113
- * upgrade to 14.x.x
114
-
115
-
132
+ - upgrade to 14.x.x
116
133
 
117
-
118
-
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)
134
+ # [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
135
 
121
136
  **Note:** Version bump only for package @rxap/schematics-open-api
122
137
 
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)
138
+ # [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
139
 
125
140
  ### Bug Fixes
126
141
 
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)
142
+ - update typescript generatorpackage ([3bd311c](https://gitlab.com/rxap/schematics/commit/3bd311ca5697bdbed598cdf8c9ec44f297fd2215))
131
143
 
144
+ # [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
145
 
133
146
  ### Bug Fixes
134
147
 
135
- * convert ref into object for parameters ([81f8f9e](https://gitlab.com/rxap/packages/commit/81f8f9e02b8feffe24ca43ee0684740bd59e0f88))
136
-
137
-
148
+ - convert ref into object forparameters ([81f8f9e](https://gitlab.com/rxap/schematics/commit/81f8f9e02b8feffe24ca43ee0684740bd59e0f88))
138
149
 
139
-
140
-
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)
150
+ # [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
151
 
143
152
  **Note:** Version bump only for package @rxap/schematics-open-api
144
153
 
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
-
154
+ # [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
155
 
152
156
  ### Bug Fixes
153
157
 
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)
158
+ - remove rxap/utilitiesdependency ([d8dfe16](https://gitlab.com/rxap/schematics/commit/d8dfe168f5d3afd5cd88d4fd143bd2c7b2c687b7))
161
159
 
160
+ # [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
161
 
163
162
  ### Build System
164
163
 
165
- * upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/packages/commit/5cd07c19645528c787ef01a121a4a4367db78902))
166
-
164
+ - upgrade to nrwl 13.x.x ([5cd07c1](https://gitlab.com/rxap/schematics/commit/5cd07c19645528c787ef01a121a4a4367db78902))
167
165
 
168
166
  ### BREAKING CHANGES
169
167
 
170
- * update the core nrwl packages to 13.x.x
168
+ - update the core nrwl packages to 13.x.x
171
169
 
172
170
  Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
173
171
 
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
-
172
+ ## [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
173
 
181
174
  ### Bug Fixes
182
175
 
183
- * add missing peer dependencies ([83481ea](https://gitlab.com/rxap/packages/commit/83481eafb7912aef4e9574abc416edfd5f025898))
184
-
185
-
186
-
187
-
176
+ - add missing peerdependencies ([83481ea](https://gitlab.com/rxap/schematics/commit/83481eafb7912aef4e9574abc416edfd5f025898))
188
177
 
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)
178
+ ## [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
179
 
191
180
  **Note:** Version bump only for package @rxap/schematics-open-api
192
181
 
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)
182
+ ## [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
183
 
199
184
  **Note:** Version bump only for package @rxap/schematics-open-api
200
185
 
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)
186
+ ## [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
187
 
207
188
  **Note:** Version bump only for package @rxap/schematics-open-api
208
189
 
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)
190
+ ## [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
191
 
215
192
  **Note:** Version bump only for package @rxap/schematics-open-api
216
193
 
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)
194
+ ## [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
195
 
223
196
  **Note:** Version bump only for package @rxap/schematics-open-api
224
197
 
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
-
198
+ ## [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
199
 
232
200
  ### Bug Fixes
233
201
 
234
- * set correct peerDependencies and dependencies ([92c5eae](https://gitlab.com/rxap/packages/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
235
-
236
-
237
-
238
-
202
+ - set correct peerDependencies anddependencies ([92c5eae](https://gitlab.com/rxap/schematics/commit/92c5eae7eb84c65381ed005da1900ce5f0ce80a3))
239
203
 
240
204
  ## 12.0.3 (2021-06-14)
241
205
 
242
206
  **Note:** Version bump only for package @rxap/schematics-open-api
243
207
 
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)
208
+ ## [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
209
 
250
210
  **Note:** Version bump only for package @rxap/schematics-open-api
251
211
 
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)
212
+ ## [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
213
 
258
214
  **Note:** Version bump only for package @rxap/schematics-open-api
259
215
 
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)
216
+ # [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
217
 
266
218
  **Note:** Version bump only for package @rxap/schematics-open-api
267
219
 
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
-
220
+ # [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
221
 
275
222
  ### Features
276
223
 
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)
224
+ - add GenerateIndexExportsFunction ([e3fce4c](https://gitlab.com/rxap/schematics/commit/e3fce4cf3104f77c8122ff257ba69f3968cff6a4))
284
225
 
226
+ ## [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
227
 
286
228
  ### Bug Fixes
287
229
 
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)
230
+ - add missing export ([0f1d683](https://gitlab.com/rxap/schematics/commit/0f1d683108952b5658eb08e59f4f504183dbe17d))
295
231
 
232
+ ## [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
233
 
297
234
  ### Bug Fixes
298
235
 
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)
236
+ - **schematics:** add support for void request bodytype ([6b49540](https://gitlab.com/rxap/schematics/commit/6b49540ba3c0248dc107ad7c76a344ee1daeb771))
306
237
 
238
+ ## [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
239
 
308
240
  ### Bug Fixes
309
241
 
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)
242
+ - **schematics:** add support for void request bodytype ([0feac0f](https://gitlab.com/rxap/schematics/commit/0feac0f0e5447dfafc8e51166b2d63cf66fce208))
317
243
 
244
+ # [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
245
 
319
246
  ### Features
320
247
 
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)
248
+ - add ClearOperationfunction ([c6fe1b2](https://gitlab.com/rxap/schematics/commit/c6fe1b2497d36e9668d9d18513f584d656f973dd))
328
249
 
250
+ ## [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
251
 
330
252
  ### Bug Fixes
331
253
 
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)
254
+ - **schematics:** change module tocommonjs ([39a3700](https://gitlab.com/rxap/schematics/commit/39a3700a1d1194a81fb9e7944288984f64b46b88))
339
255
 
256
+ ## [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
257
 
341
258
  ### Bug Fixes
342
259
 
343
- * update build target to es6 ([6418b27](https://gitlab.com/rxap/packages/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
344
-
345
-
346
-
347
-
260
+ - update build target toes6 ([6418b27](https://gitlab.com/rxap/schematics/commit/6418b27af301db0c794bb584504d786ad20cfe8c))
348
261
 
349
262
  # 11.1.0 (2021-04-30)
350
263
 
351
-
352
264
  ### Bug Fixes
353
265
 
354
- * add support for custom options object ([181aa69](https://gitlab.com/rxap/packages/commit/181aa69a49a5ed48a2db5ba51b420c759b091c31))
355
-
266
+ - add support for custom optionsobject ([181aa69](https://gitlab.com/rxap/schematics/commit/181aa69a49a5ed48a2db5ba51b420c759b091c31))
356
267
 
357
268
  ### Features
358
269
 
359
- * add IsCollectionResponse function ([61e13a9](https://gitlab.com/rxap/packages/commit/61e13a954b4e92140fd4b18c9ff0a2688d7a359b))
270
+ - 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.10",
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": "f2e355ba543f5d5fea8f4c957ff46356560d4c9e",
72
+ "main": "./src/index.js",
48
73
  "types": "./src/index.d.ts"
49
74
  }