plugins-quickstart icon indicating copy to clipboard operation
plugins-quickstart copied to clipboard

FastAPI vs quart

Open transitive-bullshit opened this issue 2 years ago • 2 comments

I'm wondering what your thoughts are on the tradeoffs between quart and fastapi.

In my understanding, the hardest part of plugin development by far is maintaining the accompanying OpenAPI spec, which is what FastAPI excels at.

It looks like Quart has some support for OpenAPI via quart-openapi, but it's not maintained, and it doesn't have nearly the same developer community as FastAPI.

Def not saying you should be using one or the other; I'd just like to understand the tradeoffs from OpenAI's perspective since I think setting a high quality precedent for how people will start building ChatGPT Pluginsn early is really important.

Thanks! 🙏

transitive-bullshit avatar Apr 10 '23 19:04 transitive-bullshit

FastAPI is easier to work with since you can use Swagger to confirm everything works, and the spec gets created automatically. Now if they just fixed localhost plugins, I would be happy.

grexzen avatar Sep 06 '23 16:09 grexzen

From creator of Quart, QuartSchema is the way to generate OpenAPI spec.

https://pgjones.dev/blog/fastapi-flask-quart-2022/

konvio avatar Nov 19 '23 07:11 konvio