-
Notifications
You must be signed in to change notification settings - Fork 115
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
URL templates were ignored in Action section? #147
Comments
I may have the same problem. I tried to specify an action using a header and a combination of an HTTP method and URI Template, but it isn't understood by Drakov. ## Invoice [/{clientToken}/invoices/{invoiceId}]
...
### Get printable invoice [GET /{clientToken}/invoices/{invoiceId}/print]
... I get With the following doc: ## Invoice [/{clientToken}/invoices/{invoiceId}]
...
## /{clientToken}/invoices/{invoiceId}/print
### Get printable invoice [GET]
... I get the expected result The API Blueprint allows both notations, but Drakov don't. I could use the 2nd solution but Aglio doesn't produce the same rendering: it adds an extra doc section. |
In some project, URL templates were used for some reason in Action sections.
However, those APIs were always responded with 'Cannot GET/POST ...' while mocking.
How to fix that? Thanks.
The text was updated successfully, but these errors were encountered: