Commit cb536fb
authored
Implement IUrlParameter on Time (#3222)
* Implement IUrlParameter on Time
This commit implements IUrlParameter on Time so that the conversion to a
string value happens when building the url.
Add condition to UrlFormatProvider to convert TimeSpan to Time unit
string value when building the url.
Remove special case handling for Time and TimeSpan and re-run API generation
Fixes #32201 parent d9df17c commit cb536fb
File tree
10 files changed
+18725
-18719
lines changed- .paket
- src
- CodeGeneration/ApiGenerator/Views
- Elasticsearch.Net
- Domain
- RequestParameters
- Serialization
- Nest
- CommonOptions/TimeUnit
- _Generated
- Tests/Reproduce
10 files changed
+18725
-18719
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | 80 | | |
85 | 81 | | |
86 | 82 | | |
| |||
0 commit comments