BentoML icon indicating copy to clipboard operation
BentoML copied to clipboard

Include custom FastAPI endpoint in the Swagger UI

Open ssheng opened this issue 2 years ago • 1 comments

ssheng avatar Aug 12 '22 18:08 ssheng

This can be done by reading https://github.com/tiangolo/fastapi/blob/5c576e42be8f8832f0e225beaa72153a256892d7/fastapi/applications.py#L197 and merge with BentoML generated OpenAPI spec

Would love for community to contribute on this feature 🎉

aarnphm avatar Aug 12 '22 22:08 aarnphm

This has been addressed by #3358 and will be included in the coming release.

aarnphm avatar Dec 14 '22 10:12 aarnphm

This has now been included in 1.0.13 release

aarnphm avatar Jan 19 '23 07:01 aarnphm