-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Steps to reproduce
- Example 1:
var result = UriTemplate.For("https://localhost:5000/api/resource{?key,value}{?id,name}") .WithPartialExpand() .ExpandToString();
- Example 2:
var result = UriTemplate.For("https://localhost:5000/api/resource?key=mykey&value=myValue{?id,name}") .WithPartialExpand() .ExpandToString();
Expected behavior
- Example 1:
or
result == "https://localhost:5000/api/resource{?key,value}{&id,name}"
result == "https://localhost:5000/api/resource{?key,value,id,name}"
- Example 2:
result == "https://localhost:5000/api/resource?key=mykey&value=myValue{&id,name}"
Actual behavior
- Example 1:
result == "https://localhost:5000/api/resource{?key,value}{?id,name}"
- Example 2:
result == "https://localhost:5000/api/resource?key=mykey&value=myValue{?id,name}"
Metadata
Metadata
Assignees
Labels
No labels