viclovsky / swagger-coverage

Tool which generates full picture of coverage of API tests based on OAS (Swagger) v2 and v3
Apache License 2.0
198 stars 37 forks source link

Coverage generated as 0% and paramters is 'null' in a case if parameter is a reference to component parameters block #83

Open adzest opened 3 years ago

adzest commented 3 years ago

I'm submitting a ...

What is the current behavior?

Coverage report score 0% and a parameter is 'null' If the openapi3 spec contains parameter as ref to component/parameters block: `paths: /pets: get: summary: List all pets operationId: listPets tags:

If the current behavior is a bug, please provide steps to reproduce, broken swagger specification, and swagger-coverage-output:

What is the expected behavior?

Coverage has a 'limit' parameter.

What is the motivation/use case for changing the behavior?

Expected behavior for base open spec functionality.

Other information

tag_name: 1.4.1

kk2491 commented 2 years ago

@adzest Were you able to find a work around for this bug?

Thank you

ruiTLF commented 1 year ago

@viclovsky I'm also facing this issue . Will this be fixed ? Thanks !

adzest commented 1 year ago

Hi, no, we patch the yml or json source file before usage.

On Fri, 14 Jan 2022 at 04:50, KK @.***> wrote:

@adzest https://github.com/adzest Were you able to find a work around for this issue?

Thank you

— Reply to this email directly, view it on GitHub https://github.com/viclovsky/swagger-coverage/issues/83#issuecomment-1012701675, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACG5PRORB7JVYNF5W6TS54TUV6FPBANCNFSM44VJ4DTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

--

Best regard,

Oleksii Isakov

Cell +38 098 302 0018 | Skype: alex.isakov3

LinkedIn http://www.linkedin.com/profile/view?id=196966332&trk=hb_tab_pro_top | Facebook https://www.facebook.com/aleksej.isakov.14 | VK http://vk.com/isakov.aleksey