From c57b375d729a475fbd53597ea6497a28ca122c5e Mon Sep 17 00:00:00 2001 From: Ollie Ford Date: Thu, 8 Jun 2017 01:54:12 +0100 Subject: [PATCH] Fix version in path for petstore server This commit fixes the petstore example to use /v2 in the path rather than /v1, that at the time of writing 404s every request. --- examples/v2.0/yaml/petstore.yaml | 2 +- examples/v3.0/petstore.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/v2.0/yaml/petstore.yaml b/examples/v2.0/yaml/petstore.yaml index b4b71280a0..5b494c283a 100644 --- a/examples/v2.0/yaml/petstore.yaml +++ b/examples/v2.0/yaml/petstore.yaml @@ -5,7 +5,7 @@ info: license: name: MIT host: petstore.swagger.io -basePath: /v1 +basePath: /v2 schemes: - http consumes: diff --git a/examples/v3.0/petstore.yaml b/examples/v3.0/petstore.yaml index b444f02531..0b0f46ed65 100644 --- a/examples/v3.0/petstore.yaml +++ b/examples/v3.0/petstore.yaml @@ -5,7 +5,7 @@ info: license: name: MIT servers: - - url: http://petstore.swagger.io/v1 + - url: http://petstore.swagger.io/v2 paths: /pets: get: