viclovsky / swagger-coverage

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

Enable support for Web URLs to parse the swagger specification directly from a server #97

Closed Fresh-D101 closed 2 years ago

Fresh-D101 commented 2 years ago

The swagger spec can now be parsed from a website, as a lot of projects host their swagger specs somewhere within the dev environments. Therefore, the spec does not have to be downloaded first but can be directly parsed from the server.

Also adjusted the README according to what changed in #91.

Fresh-D101 commented 2 years ago

Hi @viclovsky, thank you for the response! I tried to change as little as possible, as I noticed that the underlying Swagger Parser already has the option to either parse from a file or a URL. And the way it is now, it is completely optional to use URL instead of File :)