danielgtaylor / danielgtaylor/aglio
Trailing slahes in endpoint URIs are discarded
- Dominant language
- CoffeeScript
- Stars
- 4.7k
- Forks
- 471
- PR merge metrics
- No merged PRs in 30d
Description
I want to document an existing API with API Blueprint and generate static HTML using aglio. The API uses trailing slashes on all endpoints, but aglio removes them in the generated documentation.
I don't mean to start a discussion whether trailing slashes are a good idea, I just think the API doc-tool shouldn't be opinionated in this regard and just output exacly what I'm telling it ;-)
Example input:
```
FORMAT: 1A
HOST: http://www.example.com/api
# Example API
## Example Resource [/example/]
### GET
+ Response 200 (application/json)
```
Generated output:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.