(Resolved- See reply) I tried to import the Prefect Server Rest OpenAPI file into Thunder Client(VSCode) Rest API tester and it failed and when I tried to test the Prefect OpenAPI file on https://editor.swagger.io/ it also failed with errors.
Edward Kariuki
04/08/2024, 6:57 PM
Found the issue, it turns out the OpenAPI file for Prefect Server Rest is version 3.1, the regular editor only does version 2.x.x. Was able to open the file in the beta version that can handle OpenAPI 3.1 https://editor-next.swagger.io/ .The file still had two main errors "title and version, required ", once I fixed them by adding the title and version, I was then able to import into Thunder Client(VSCode).
Copy code
"info": {
"title": "Prefect Server REST API Reference",
"version": "1.0.0"
}
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.