-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: upgrades to std uri template and additional date formats management
* add condition for value instanceof OffsetDateTime and LocalDate in RequestInformation#getSanitizedValues, add test for LocalDate pathParameter resolution * Add support for types LocalTime and PeriodAndDuration, add tests * Bump std-uritemplate version to 2.0.0 * fix: csv formatting for rendering in GitHub * fix additional coma fixes * style: remove additional space to make lint happy * fix: remove OffsetDateTime test in UriTemplateTest and accompanying template in data.csv resource, no longer applicable in std-uritemplate 2 * fix: switch CsvFileSource delimiter to ',' in accordance with data.csv formatting changes --------- Co-authored-by: Vincent Biret <vibiret@microsoft.com>
- Loading branch information
Showing
5 changed files
with
78 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
template, result | ||
{+baseurl}/users; http://localhost:8080/users | ||
{+baseurl}/users/{id}/list; http://localhost:8080/users/1/list | ||
{+baseurl}/users/{id}/list{?async*}; http://localhost:8080/users/1/list?async=true | ||
{+baseurl}/users/{id}/list{?async*,unmatched*}; http://localhost:8080/users/1/list?async=true | ||
{+baseurl}/users/{id}/list{?async*,unmatched*,page*}; http://localhost:8080/users/1/list?async=true&page=10 | ||
{+baseurl}/users/{id}/name/{name}/list{?async*,unmatched*,page*}; http://localhost:8080/users/1/name/foo/list?async=true&page=10 | ||
{+baseurl}/users/{id}/list{?async*,unmatched*,page*,date*}; http://localhost:8080/users/1/list?async=true&page=10&date=2023-02-13T18%3A49%3A00Z | ||
"{+baseurl}/users", http://localhost:8080/users | ||
"{+baseurl}/users/{id}/list", http://localhost:8080/users/1/list | ||
"{+baseurl}/users/{id}/list{?async*}", http://localhost:8080/users/1/list?async=true | ||
"{+baseurl}/users/{id}/list{?async*,unmatched*}", http://localhost:8080/users/1/list?async=true | ||
"{+baseurl}/users/{id}/list{?async*,unmatched*,page*}", http://localhost:8080/users/1/list?async=true&page=10 | ||
"{+baseurl}/users/{id}/name/{name}/list{?async*,unmatched*,page*}", http://localhost:8080/users/1/name/foo/list?async=true&page=10 |