Commit 15138f0
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 ElasticsearchUrlFormatter 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 #3220
* Remove superfluous code1 parent 28ac57d commit 15138f0
File tree
6 files changed
+255
-241
lines changed- src
- CodeGeneration/ApiGenerator/Domain
- Elasticsearch.Net
- Domain/RequestParameters
- Serialization
- Nest
- CommonOptions/TimeUnit
- _Generated
- Tests/Reproduce
6 files changed
+255
-241
lines changedLines changed: 3 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
69 | 54 | | |
70 | 55 | | |
71 | 56 | | |
| |||
0 commit comments