Forum Discussion

slimjack's avatar
slimjack
Occasional Contributor
6 years ago
Solved

Import OpenAPI spec error

I'm trying to create a test from OpenAPI spec (v 3.0.0). The spec is valid based on swagger-cli validation. But SOAP UI Pro is not able to process it with the error: "Could not import a definition fr...
  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    6 years ago

    Hi slimjack,

     

    I've uploaded your definition to SwaggerHub: https://app.swaggerhub.com/home and download the definition again. After this, I was able to create a project in ReadyAPI based on this specification. Maybe, there was an issue with encoding.

     

    BTW, there is an error in the last reference:

    "$ref": "#components/schemas/BodySiteShort"

    should be: 

    "$ref": "#/components/schemas/BodySiteShort"

     

    So, please correct the specification. I've attached the corrected file for your reference.