connexion icon indicating copy to clipboard operation
connexion copied to clipboard

Starlette support

Open arkkors opened this issue 2 years ago • 3 comments

Fixes #496 .

Changes proposed in this pull request:

  • Add support for the Starlette framework to Connexion
  • Add support to serve the API using the uvicorn ASGI server

arkkors avatar Oct 03 '21 15:10 arkkors

This is still rough around the edges, but would welcome a first review

arkkors avatar Oct 04 '21 10:10 arkkors

Any progress on this?

arkkors avatar Nov 02 '21 09:11 arkkors

Hi @arkkors,

Thanks for the PR and sorry for the late response. Unfortunately, we've decided to go for another framework agnostic approach (see https://github.com/spec-first/connexion/issues/1395#issuecomment-1063214142).

I was able to reuse some of your code for this though, so I added you as a co-author to https://github.com/spec-first/connexion/pull/1496. I hope this is ok for you, let me know if it isn't.

RobbeSneyders avatar Mar 20 '22 12:03 RobbeSneyders

Connexion 3.0 will support ASGI frameworks out of the box (and is now built on top of Starlette). See https://github.com/spec-first/connexion/issues/1395

RobbeSneyders avatar Feb 17 '23 16:02 RobbeSneyders