Burp Suite User Forum

Login to post

openapi-parser - issue when importing Swagger file

Jordan | Last updated: May 09, 2023 09:53PM UTC

Hi, I installed openapi-parser from the bApp store. After selecting an OpenAPI 3.0.0 specification file, I get the following error message: > Cannot invoke "io.swagger.v3.oas.models.media.Content.entrySet()" because the return value of "io.swagger.v3.oas.models.responses.ApiResponse.getContent()" is null This message appears at the bottom of the Burp Suite Window. I have reviewed the file and it is readable YAML, not a corrupt file. I note that "The Swagger Parser library is required" but that it is "automatically imported in this project" Does this require further configuration than installing the extension from the bApp store? Running Burp Suite Professional v2023.3.5 on Kali Linux 2022.4 kali-rolling. Please advise on how to resolve. Thank you for your help.

Ben, PortSwigger Agent | Last updated: May 10, 2023 09:17AM UTC

Hi Jordan, It looks like you have done this already but we would always recommend raising any issues or questions that you might have with an extension with the author on their GitHub page. We do not write or maintain the extensions ourselves and only host them for the benefit of our user base.

You need to Log in to post a reply. Or register here, for free.