Commit bf0dc63
feat: Support
* chore: append basePath to path pattern in openapi generator
* chore: switch to using removeSlashes from util
* chore: add additional test
* chore: check-public-api change
* Changes from lint:fix
* chore: update test
* chore: adjust all tests
* chore: fix codeQL warning
* Changes from lint:fix
* chore: add changeset
* chore: cleanup tests
* feat: extend openapi request builder for basePath
* chore: introduce setBasePath
* feat: introduce _defaultBasePath to the generated files
* chore: fix order of parameters with intro of basepath
* chore: fix tests
* chore: add setBasePath
* chore: fix failing e2e test
* Changes from lint:fix
* chore: cleanup path
* Changes from lint:fix
* chore: adjust test
* Changes from lint:fix
* chore: switch to using undefined for default basePath value
* chore: cleanup test
* chore: update changeset
* chore: adjust changeset
* chore: fix unit test
* chore:cleanup
* chore: fix test
* chore: cleanup changesets
* fix: integration test
* chore: fix path
* chore:fix path
* chore: remove dead code
* chore: review comment
* Update .changeset/chilled-flowers-hide.md
Co-authored-by: Deeksha Sinha <[email protected]>
* Update packages/openapi/src/openapi-request-builder.ts
Co-authored-by: Deeksha Sinha <[email protected]>
* chore: address review comments
* chore: revert update to removeSlashes utility
* Changes from lint:fix
* chore: address review comments
* chore: tests fix
* chore: adjust tests
* chore: address review comments
* Changes from lint:fix
* fix: begin all paths using '/'
* chore: address review comments
* Update .changeset/chilled-flowers-hide.md
Co-authored-by: Deeksha Sinha <[email protected]>
* Update .changeset/chilled-flowers-freeze.md
Co-authored-by: Deeksha Sinha <[email protected]>
* Update packages/util/src/remove-slashes.spec.ts
Co-authored-by: Deeksha Sinha <[email protected]>
* Update packages/util/src/remove-slashes.spec.ts
Co-authored-by: Deeksha Sinha <[email protected]>
* chore: address review comments
* Changes from lint:fix
* chore: add review changes
* chore: address review comments
* chore:address review comments
* chore: address review comments
* chore: release note fix
---------
Co-authored-by: cloud-sdk-js <[email protected]>
Co-authored-by: Junjie Tang <[email protected]>
Co-authored-by: Deeksha Sinha <[email protected]>basePath in options-per-service for openapi generator - Option 2 (#5247)1 parent 9bd2085 commit bf0dc63
File tree
54 files changed
+561
-215
lines changed- .changeset
- .github/actions/check-public-api
- packages
- openapi-generator/src
- file-serializer
- __snapshots__
- openapi/src
- util/src
- test-packages
- e2e-tests
- integration-tests/test
- test-services-openapi
- no-schema-service
- swagger-yaml-service
- test-service
- test-resources/openapi-service-specs
- config
- specifications
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+561
-215
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 70 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| 52 | + | |
49 | 53 | | |
50 | | - | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| 81 | + | |
75 | 82 | | |
76 | | - | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
84 | | - | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
89 | | - | |
| 96 | + | |
| 97 | + | |
90 | 98 | | |
91 | 99 | | |
92 | | - | |
| 100 | + | |
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
98 | | - | |
| 106 | + | |
99 | 107 | | |
100 | 108 | | |
101 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
102 | 153 | | |
103 | 154 | | |
104 | 155 | | |
| |||
110 | 161 | | |
111 | 162 | | |
112 | 163 | | |
| 164 | + | |
113 | 165 | | |
114 | | - | |
| 166 | + | |
115 | 167 | | |
116 | 168 | | |
117 | 169 | | |
118 | 170 | | |
119 | 171 | | |
120 | | - | |
| 172 | + | |
121 | 173 | | |
122 | 174 | | |
123 | | - | |
| 175 | + | |
| 176 | + | |
124 | 177 | | |
125 | 178 | | |
126 | 179 | | |
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
127 | 138 | | |
128 | 139 | | |
129 | 140 | | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | | - | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
0 commit comments