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