Skip to main content

Zylo-docs seamlessly integrates with FastAPI to automatically generate OpenAPI-compliant specs—so you can write your API docs faster and go home early.

Project description

zylo-docs
Build the world’s best API docs highly integrated with FastAPI for developers

Supported Python versions


Writing technical documentation like API specs is often a burden for software engineers — it’s not their expertise, and rarely a top priority. That’s where Zylo-docs comes in. Zylo-docs seamlessly integrates with FastAPI and automatically generates OpenAPI-compliant specs. With powerful AI assistance, it helps developers create clear, user-friendly, and rich documentation with minimal effort. Think of it as a more intuitive, AI-powered alternative to Swagger.

[1/10] Get Started (Add boilerplate code)

from fastapi import FastAPI
# 👇 [1/2] Add this import at the top
from zylo_docs import zylo_docs

app = FastAPI()
# 👇 [2/2] Add this your entry point file (e.g., main.py)
zylo_docs(app)

@app.get("/")
async def read_root():
    return {"message": "Hello, FastAPI!"}

...
...
...

[2/10] Run the FastAPI Server

uvicorn main:app --reload

You need to start the server using Uvicorn.

⚡️ If your server is already running, you can skip this step.

Once the server is running, open your browser and go to: 👉 http://localhost:8000/zylo-docs
(⚠️ If your development server runs on a different port, update the URL accordingly!)

[3/10] Tada! You can now view beautifully structured API specs with zylo-docs.

Screenshot 2025-09-26 at 11 09 16 AM

[4/10] To use Zylo AI, sign up and sign in to zylo.

u-4

To enhance your documentation with AI, please sign in to zylo-docs.

[5/10] Provide context to the zylo-docs AI

Context example

Our pet store is called "Patricia", and the pet_id represents the registered number of the pet. This should be reflected in the API specs.
Screenshot 2025-09-26 at 11 11 00 AM

Describe how you would like zylo-docs to enrich the document.

[6/10] Use the Zylo AI function to upgrade your docs

Screenshot 2025-09-26 at 11 12 18 AM

[7/10] Tada! Look at the red dot in the top-left corner! It is completed. Let's check this out!

Screenshot 2025-09-26 at 12 02 33 PM

After you find the red dot on the version selector, it means that our API specs are now upgraded and more user-friendly with zylo-docs. you can find the lastest one. Once you click it, you can check the new one filled with rich content.

[8/10] Compare the generated docs with the previous version

[9/10] Regenerate specific parts, such as test cases

[10/10] Share your API docs with your team

Screenshot 2025-09-26 at 12 58 58 PM

Click the Publish button to share your API documentation via email.

  • Note : Use authentication to test the token.
    • Use x-api by entering the key name and key value
    • Use HTTP Bearer by entering the Bearer token value.

Development

  • Python 3.10+
  • FastAPI, Uvicorn

License

MIT License

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

zylo_docs-1.2.2.tar.gz (293.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zylo_docs-1.2.2-py3-none-any.whl (298.7 kB view details)

Uploaded Python 3

File details

Details for the file zylo_docs-1.2.2.tar.gz.

File metadata

  • Download URL: zylo_docs-1.2.2.tar.gz
  • Upload date:
  • Size: 293.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for zylo_docs-1.2.2.tar.gz
Algorithm Hash digest
SHA256 439b117e70bba8e5047d700ff0346e11df286ed27accc0fced9e0762c48d8968
MD5 4f9901b72ade57575f439366110f6673
BLAKE2b-256 bd9b81a8db7b1122018fc813546fac556a980ddb0ca222ee6d6ecc321b16b139

See more details on using hashes here.

File details

Details for the file zylo_docs-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: zylo_docs-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 298.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for zylo_docs-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf2e0a59904b422dab5ac7a39ef26d728ed6e832fe36b640cd264baeceb11497
MD5 ec4e7a58e9e86e10cad06a1f35a9ebca
BLAKE2b-256 f4e0f8a86038c06ddf3a811715df0ec5b7a9b4ae4e7019df26a6013c243f5854

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page