Skip to content Skip to footer
0 items - $0.00 0

Show HN: FastOpenAPI – automated docs for many Python frameworks by mr_Fatalyst

Show HN: FastOpenAPI – automated docs for many Python frameworks by mr_Fatalyst

Show HN: FastOpenAPI – automated docs for many Python frameworks by mr_Fatalyst

15 Comments

  • Post Author
    mr_Fatalyst
    Posted March 22, 2025 at 2:11 pm

    Hey everyone!

    While working on a project that required OpenAPI docs across multiple frameworks, I got tired of maintaining separate solutions. I liked FastAPI’s clean and intuitive routing, so I built FastOpenAPI, bringing a similar approach to other Python frameworks (Flask, Sanic, Falcon, Starlette, etc).

    It's meant for developers who prefer FastAPI-style routing but need or want to use a different framework.

    The project is still evolving, and I’d love any feedback or testing from the community!

  • Post Author
    memset
    Posted March 22, 2025 at 2:34 pm

    This is really cool – something I've been looking for with Flask. Cleanest implementation with just the decorator that I've seen.

    (As an aside, is there an open-source UI for docs that actually looks good – professional quality, or even lets you try out endpoints? All of the decent ones are proprietary nowadays.)

  • Post Author
    zapnuk
    Posted March 22, 2025 at 2:44 pm

    Why not just use fastAPI and have it built into the framework?

  • Post Author
    dtkav
    Posted March 22, 2025 at 2:56 pm

    Nice work! What's your take on spec-first vs. code-first?

    I'm a fan of spec-first (i worked on connexion), but I've noticed that code-first seems to be more popular.

  • Post Author
    Onavo
    Posted March 22, 2025 at 3:06 pm

    No love for Django? I am looking for an alternative to DRF and Django-ninja that can optionally generate typed APIs and docs directly from the model definitions.

  • Post Author
    Sodosorry
    Posted March 22, 2025 at 3:09 pm

    [flagged]

  • Post Author
    ltbarcly3
    Posted March 22, 2025 at 3:16 pm

    Every FastApi project I've worked on (more than a few) had an average of less than 1 concurrent request per process. The amount of engineering effort they put into debugging the absolute mess that is async python when it was easily the worst tool for the job is remarkable. If you don't know why it is hilarious that a FastApi project would have less than one concurrent request per process you shouldn't be making technical decisions.

  • Post Author
    adhamsalama
    Posted March 22, 2025 at 3:43 pm

    Cool!

  • Post Author
    bravura
    Posted March 22, 2025 at 3:44 pm

    I'm looking for a solution to filter large openapi specs to the most concise complete subset. I've implemented three different variations, two of which appear not to prune enough, and one of which appears to prune too much.

    Any recommendations?

  • Post Author
    wseqyrku
    Posted March 22, 2025 at 4:34 pm

    I like this. I think genai could be used to fill in gaps in, for example, Wikipedia with a note that it's AI generated. If anything I think that's a good starting point.

  • Post Author
    JodieBenitez
    Posted March 22, 2025 at 4:43 pm

    No Bottle ?

  • Post Author
    samstave
    Posted March 22, 2025 at 4:50 pm

    [dead]

  • Post Author
    blahhh2525
    Posted March 22, 2025 at 5:04 pm

    [flagged]

  • Post Author
    wg0
    Posted March 22, 2025 at 5:40 pm

    After years of development – Now I prefer declarative approach. Specs first, generate the code from it and implement required Interfaces.

    One great too for that is TypeSpec[0].

    This also allows thinking about the API first and ensures that what's documented is what's implemented.

    [0] https://typespec.io

  • Post Author
    gister123
    Posted March 22, 2025 at 5:43 pm

    Python async has been a big mess. I haven’t looked back since moving to a Go + GRPC + Protobuf stack. I would highly recommend it.

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.