Commit de7726c
committed
Generator: API: Handle empty endpoint path
If the endpoint.URL.Path is empty, use the first path from endpoint.URL.Paths.
Related: elastic/elasticsearch#41452
(cherry picked from commit 234280d)1 parent 37ae3d1 commit de7726c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
0 commit comments