-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from python-microservices/fix/connexion_path
Fix connexion issue #1135
- Loading branch information
Showing
9 changed files
with
162 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pyms: | ||
services: | ||
metrics: | ||
enabled: false | ||
swagger: | ||
path: "swagger_for_tests" | ||
file: "swagger.yaml" | ||
url: "ws-doc2/" | ||
config: | ||
DEBUG: true | ||
TESTING: true | ||
APP_NAME: "Python Microservice Swagger2" | ||
APPLICATION_ROOT: "/test-api-path2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
swagger: "2.0" | ||
info: | ||
description: "This is a sample server Test server" | ||
version: "1.0.0" | ||
title: "Swagger Test list" | ||
termsOfService: "http://swagger.io/terms/" | ||
contact: | ||
email: "apiteam@swagger.io" | ||
license: | ||
name: "Apache 2.0" | ||
url: "http://www.apache.org/licenses/LICENSE-2.0.html" | ||
tags: | ||
- name: "colors" | ||
description: "Everything about your colors" | ||
externalDocs: | ||
description: "Find out more" | ||
url: "http://swagger.io" | ||
- name: "store" | ||
description: "Example endpoint list of colors" | ||
- name: "user" | ||
description: "Operations about user" | ||
externalDocs: | ||
description: "Find out more about our store" | ||
url: "http://swagger.io" | ||
schemes: | ||
- "http" | ||
paths: | ||
/no-abs-path: | ||
get: | ||
tags: | ||
- "test" | ||
summary: "Example endpoint" | ||
description: "" | ||
operationId: "home" | ||
consumes: | ||
- "application/json" | ||
produces: | ||
- "application/json" | ||
responses: | ||
200: | ||
description: "Example" | ||
405: | ||
description: "Invalid input" | ||
x-swagger-router-controller: "tests.test_flask" | ||
externalDocs: | ||
description: "Find out more about Swagger" | ||
url: "http://swagger.io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters