From 007b82a9e4185b69e32880f9f29ab4d6c785b044 Mon Sep 17 00:00:00 2001 From: domaindrivendev Date: Fri, 5 Feb 2016 14:54:28 -0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c23927b..646de0c 100644 --- a/README.md +++ b/README.md @@ -65,14 +65,14 @@ This will expose each of those descriptions as JSON endpoints. Next, you'll need SwaggerRails.configure do |c| c.swagger_docs = { - 'API V1' => 'v1/swagger.json', - 'API V2' => 'v2/swagger.json', - 'API V3' => 'v3/swagger.json' + 'API V1' => 'v1/swagger.json', + 'API V2' => 'v2/swagger.json', + 'API V3' => 'v3/swagger.json' } end ``` -Now, if you view the swagger-ui, you'll notice that each of these are available in the select box at the top right of the page, allowing you to navigate between the documentations for each version. +Now, if you view the swagger-ui, you'll notice that each of these are available in the select box at the top right of the page, allowing users to easily navigate between different versions of your API. ## Customizing the UI ##