Forum Discussion

harmancheema's avatar
harmancheema
Occasional Contributor
7 years ago

Unknown Swagger version error during import

Hi All,

 

I'm trying to import a Swagger file v2.0 in ReadtyAPI, but I'm getting an error "java.lang.RuntimeException: Unknown Swagger Version: null" as below

I'm not able to install the plugin as well from the Plugin manager due to company restrictions. I can only see the installed plugins, and available plugins are not displayed as below

Any idea why this swagger import is failing? If it's due to the missing plugin, is there an alternative way to add it?

 

Thanks

  • avidCoder's avatar
    avidCoder
    Super Contributor

    Which version of ReadyAPI are you using? Also, Could you please check your -home-/.readyapi/plugins folder that it doesn't contain multiple versions of the plugin? 

    • harmancheema's avatar
      harmancheema
      Occasional Contributor

      Hi,

       

      I'm using Ready API 2.4.0 on Windows. I checked the lib folder, and found the following jar files.

      Is this what you were asking to check?

      • avidCoder's avatar
        avidCoder
        Super Contributor

        No, these are the lib files which is inside ext folder. Chekc this path - home-/.readyapi/plugins. You will have this .readyapi folder inside - C://users/AvidCoder/.readyapi/plugins.