Swagger documentation for Apiruns projects.
Project description
apiruns-swagger
Swagger documentation for Apiruns projects
Install
pip install apiruns-swagger
Using
from apiruns_swagger import json_to_swagger
apiruns_schema = [
{
"path": "/users",
"schema": {
"name": {"type": "string"},
}
},
{
"path": "/inventory",
"schema": {
"price": {"type": "integer"},
}
}
]
servers = [{"url": "https://google.cloud.apiruns.com"}]
swagger_schema = json_to_swagger(apiruns_schema, servers=servers)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apiruns-swagger-0.0.6.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for apiruns_swagger-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2cde0a4d831cb3b602f52a215009c4172c363bd54a299de09ff348142fa6d9 |
|
MD5 | 511a9bdc5cb4ceee8c93c95e1fab4240 |
|
BLAKE2b-256 | 2df06e95c28dce9fa54cfca86ce66484c3f82f3027c391f4a83cdeea0359d73b |