@rxap/schematics-open-api 16.0.0-dev.2 → 16.0.0-dev.21

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