-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
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
Hyphen not allowed in expressions #134
Comments
@tciuro the URI template RFC disallows certain characters. These must be |
@danielgtaylor it works... kind of:
Question: how would I specify the different parameters allows in a query string so aglio renders it properly? |
Also, what happened to the method URI rendering? Before it was colored and not it's bold (rather ugly). Is there a setting I should specify to get the former behavior? Thanks. |
@tciuro parameters defined in the URI template will only show if there is an appropriate parameter defined for the resource or action. For example: # My resource [/things/{id}{?count}]
+ Parameters
+ id (required) - some description
+ count (number) - optional parameter count It looks like there my be a bug in the filtering when %-encoded names are used, which I'll investigate. Thanks for pointing out that the URIs are now bold on some browsers - I'll fix that as well. |
I have the following section:
Terminal shows the following warning:
Why can't an expression contain an hyphen? Replacing them with an underscore looks uglier:
Is there a reason for this, or just an oversight? Thanks.
The text was updated successfully, but these errors were encountered: