DarkaOnLine / SwaggerLume

Lumen swagger
MIT License
334 stars 86 forks source link

OAS 3.0 uses servers specification instead of basePath #125

Closed Momodedf closed 1 year ago

Momodedf commented 1 year ago

Hello,

Basically the same fix as in L5-Swagger Check OpenAPI version for swagger-lume.paths.base.

Original issue : Error during api docs generation : Unexpected field "basePath" for @OA\OpenApi()

Momodedf commented 1 year ago

Re-pushed with coding style fix (added comma at end of line in array push).

coveralls commented 1 year ago

Coverage Status

Coverage: 78.325% (+1.5%) from 76.821% when pulling f8f54cdb033845675be4155fcc0120b2b52de628 on Momodedf:master into 7a12e15b50ee90278009e690cf3d493c29b8794e on DarkaOnLine:master.