swagger-php icon indicating copy to clipboard operation
swagger-php copied to clipboard

Allow "processor" to be passed as scan options

Open pauljohnston2009 opened this issue 5 months ago • 2 comments

Fixes issue with parsing 'processor' config option, it would always fall through to new Pipeline($config['processors']) which would throw as its null

TypeError: OpenApi\Pipeline::__construct(): Argument #1 ($pipes) must be of type array, null given

current code worked when passing 'processors', but removed support for 'processor' option.

https://github.com/zircote/swagger-php/commit/2d983ce67b9eb7e18403ae7bc5e765f8ce7b8d56

pauljohnston2009 avatar Aug 27 '24 05:08 pauljohnston2009