contributte / apitte

:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.
https://contributte.org/packages/contributte/apitte/
MIT License
61 stars 37 forks source link

OpenAPI: fix security scheme entity, add OAuth flow entity #190

Closed Roman3349 closed 1 year ago

Roman3349 commented 1 year ago

Fixes ERROR: Argument 1 passed to Apitte\OpenApi\Schema\SecurityScheme::setFlows() must be an instance of Apitte\OpenApi\Schema\mixed, array given, called in vendor/contributte/apitte/src/OpenApi/Schema/SecurityScheme.php on line 87

coveralls commented 1 year ago

Coverage Status

Coverage increased (+0.06%) to 90.777% when pulling 4377eaf1781705a491a09c02ed5b3070968989ec on Roman3349:fix/openapi_security-scheme into b5510ccc9f144b74d34d7533c06b8375c4ca4448 on contributte:master.