The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

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