We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-
op test(@query("foo-bar") fooBar: string): void;
Produce the following uri template which is invalid (cannot have - in variable names) https://adidas.gitbook.io/api-guidelines/rest-api-guidelines/evolution/naming-conventions#uri-template-variables
/{?foo-bar}
it should be
/{?foo%2Dbar}
in the same way we encode $. Hyphen is special as it is not encoded by encodeUriComponent so we need to do some additional replacing
$
encodeUriComponent
Playground
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Produce the following uri template which is invalid (cannot have
-
in variable names)https://adidas.gitbook.io/api-guidelines/rest-api-guidelines/evolution/naming-conventions#uri-template-variables
it should be
in the same way we encode
$
. Hyphen is special as it is not encoded byencodeUriComponent
so we need to do some additional replacingReproduction
Playground
Checklist
The text was updated successfully, but these errors were encountered: