-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [GH-1319] Add Support for Path Style Parameter Expansion Fixes #1319 This change adds limited Path Style support to Feign URI template-style templates. Variable expressions that start with a semi-colon `;` are now expanded in accordance to [RFC 6570 Section 3.2.7](https://datatracker.ietf.org/doc/html/rfc6570#section-3.2.7) with the following modifications: * Maps and Lists are expanded by default. * Only Single variable templates are supported. Examples: ``` {;who} ;who=fred {;half} ;half=50%25 {;empty} ;empty {;list} ;list=red;list=green;list=blue {;keys} ;semi=%3B;dot=.;comma=%2C ``` * Export Path Style Expression as an Expander for use with custom contracts * Added example to ReadMe * Additional Test Cases.
- Loading branch information
Showing
4 changed files
with
213 additions
and
43 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