diff --git a/features/slate_documentation.feature b/features/slate_documentation.feature index 87c8d317..86e1c5fb 100644 --- a/features/slate_documentation.feature +++ b/features/slate_documentation.feature @@ -153,7 +153,7 @@ Feature: Generate Slate documentation from test examples #### Endpoint - ``` + ```plaintext GET /orders Host: example.org ``` @@ -168,7 +168,7 @@ Feature: Generate Slate documentation from test examples ### Response - ``` + ```plaintext Content-Type: application/json Content-Length: 137 200 OK @@ -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 @@ -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 diff --git a/templates/rspec_api_documentation/slate_example.mustache b/templates/rspec_api_documentation/slate_example.mustache index 4b31cd0d..01fafb9f 100644 --- a/templates/rspec_api_documentation/slate_example.mustache +++ b/templates/rspec_api_documentation/slate_example.mustache @@ -9,7 +9,7 @@ #### Endpoint {{# requests}} -``` +```plaintext {{ request_method }} {{ request_path }} {{ request_headers_text }} ``` @@ -50,7 +50,7 @@ None known. ### Response -``` +```plaintext {{ response_headers_text }} {{ response_status }} {{ response_status_text}} ```