semvec/pypi-packages huggingface dataset:
apiruns-swagger 0.0.6
Swagger documentation for Apiruns projects.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: Poetry,Apiruns,Packages,Swagger,Packaging,No-code,Low-code

# apiruns-swagger

Swagger documentation for Apiruns projects

Install

```bash
pip install apiruns-swagger
```

Using
```python
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)
```