Skip to content

Conversation

@kigawas
Copy link

@kigawas kigawas commented Oct 26, 2020

sync master

Jiehong and others added 7 commits July 20, 2020 07:20
Fixes spec-first#206 - Handle nested paths in swagger definitions.

 - Allow nested paths to be handled in `get` and `search` handlers

An explicit decision has been made to resolve paths (with a prefix like `my.api`) like:
 - `/hello/{hello_id}/world` --> `my.api.hello.world:search(hello_id)`
 - `/hello/world/{world_id}` --> `my.api.hello.world:get(world_id)`
Co-authored-by: Jacob Floyd <[email protected]>

Fixes spec-first#868

Allow to use coroutines with Aiohttp in security handlers.

- Move all function from connexion.operations.security to a class in connexion.security.SecurityHandlerFactory
- Specialize this class for AioHttp and Flask, and instantiate them in dedicated APIs
- AioHttp specialization now support coroutines
- pass_context_arg_name option is supported for security handlers
* Split header by comma

When specifying array of enum strings in header,
it needs to be split according to commas.

* Add test

Add test where value is array of enums,
and injected as header
@kigawas kigawas changed the title Sanic poc 1 update Sanic poc with master Oct 26, 2020
@ioggstream ioggstream merged commit a1bafd7 into ioggstream:sanic-poc Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants