Sources and scanning
Add an OpenAPI document as a source
An OpenAPI document gives the same endpoint and entity catalog as a scan, for any stack.
In the project’s sidebar, choose Add code or API → OpenAPI.
Give the document’s URL (with a bearer token if it’s behind a sign-in) or upload the file, in JSON or YAML.
A document from a URL can be refreshed later; references to other files are resolved.
Good to know
Many frameworks generate one: springdoc for Spring Boot, Swashbuckle for ASP.NET Core, drf-spectacular for Django, rswag for Rails. It’s often the quickest way when the scanner misses endpoints.
OpenAPI documents are stored with the project, unlike repository files.
Didn’t answer your question? Contact support.