Autodoc.configuration.template = <<-EOF | |
## <%= method %> <%= path %> | |
<%= description %> | |
<%= parameters_section %> | |
### request | |
``` | |
<%= method %> <%= path %> | |
``` | |
<%= request_body_section %> | |
### response | |
```ruby | |
Status: <%= response_status %><%= response_headers %> | |
response: <%= response_body.gsub(/[0-9a-f]{24,24}/, "<BSON ID>") %> | |
``` | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment