Skip to content

Fix Slate template #346

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

Merged
merged 2 commits into from
Jun 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions features/slate_documentation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Feature: Generate Slate documentation from test examples

#### Endpoint

```
```plaintext
GET /orders
Host: example.org
```
Expand All @@ -168,7 +168,7 @@ Feature: Generate Slate documentation from test examples

### Response

```
```plaintext
Content-Type: application/json
Content-Length: 137
200 OK
Expand Down Expand Up @@ -220,7 +220,7 @@ Feature: Generate Slate documentation from test examples

#### Endpoint

```
```plaintext
POST /orders
Host: example.org
Content-Type: application/x-www-form-urlencoded
Expand All @@ -246,7 +246,7 @@ Feature: Generate Slate documentation from test examples

### Response

```
```plaintext
Content-Type: text/html;charset=utf-8
Content-Length: 0
201 Created
Expand Down
4 changes: 2 additions & 2 deletions templates/rspec_api_documentation/slate_example.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#### Endpoint

{{# requests}}
```
```plaintext
{{ request_method }} {{ request_path }}
{{ request_headers_text }}
```
Expand Down Expand Up @@ -50,7 +50,7 @@ None known.

### Response

```
```plaintext
{{ response_headers_text }}
{{ response_status }} {{ response_status_text}}
```
Expand Down