forked from PWZER/swagger-ui-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
duguiping
committed
Apr 17, 2019
1 parent
f843d38
commit 2dcf447
Showing
3 changed files
with
34 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: python-swagger-ui test api | ||
description: python-swagger-ui test api | ||
version: 1.0.0 | ||
servers: | ||
- url: http://127.0.0.1:8989/api | ||
tags: | ||
- name: default | ||
description: default tag | ||
paths: | ||
/hello/world: | ||
get: | ||
tags: | ||
- default | ||
summary: output hello world. | ||
responses: | ||
200: | ||
description: OK | ||
content: | ||
application/text: | ||
schema: | ||
type: object | ||
example: Hello World!!! | ||
components: {} |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
from .core import Interface as api_doc | ||
|
||
from .old import TornadoInterface as tornado_api_doc | ||
from .old import AiohttpInterface as aiohttp_api_doc | ||
from .old import FlaskInterface as flask_api_doc | ||
from .old import SanicInterface as sanic_api_doc | ||
from .old import QuartInterface as quart_api_doc | ||
from .old import SanicInterface as sanic_api_doc | ||
from .old import TornadoInterface as tornado_api_doc |
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