Forum Discussion

OldManEd's avatar
OldManEd
New Contributor
28 days ago

Errors trying to import API definition

All,

I am really new to ReadyAPI and from what I've read, the first step to test an API is to upload the definition.  When I try to accomplish this, I get errors.  Being new I have no experience in troubleshooting this type of problem so I thought I'd ask the experts here for help. 

The API is for an application called MISP owned by CIRCL.  The API comes from the CIRCL company and is freely distributed from what I can tell.  

When I try to load the yaml into ReadyAPI I get this:

Any help in trying to figure out what's going on will be appreciated.

~Ed

 

2 Replies

  • OldManEd's avatar
    OldManEd
    New Contributor

    A coworker took a look at the API definition and gave the following review. I don't know if it will help in troubleshooting the issue or not.

    According to ReadyAPI’s parser the part of the file below is not correct.

    Components > schemas > MinimalAnalystDataEmpty and all the objects labeled Attributes* after it. Might be missing its URI ($ref) for MinimalAnalystDataEmpty and the others may be an incorrect type ‘string’ vs ‘boolean’ kind of thing I think is what readyapi thinks.

    I also was unable to get ReadyAPI to parse the open api def file. I get the same errors.

    I was able to get Burp to take the file but only because it seems to ignore this error in the file. I think it will simply skip that part of the apps API(s) and test the others in the file.