Open ghost opened 7 years ago
Hi!
you need to make sure that the REST API has an endpoint defined; before exporting to Swagger please select your API in the project view and then make sure the Endpoints tab on the right contains at least one endpoint as shown in the below image:
Hope this helps!
/Ole
Hello There,
The export swagger definition doesn't work for me. It throws an error : "java.lang.exception: Selected APIs must contain at least one endpoint". This happens though i select all the possible end points.
Swagger Plug In Version - 2.5.1 Ready API Version - 1.9.0
Steps to reproduce:
1) Select a project from the project tab in ready API 2) Right click on the project 3) Select "Export Swagger" 4) "Select all" API option 5) Select target folder 6) Leave the API version as-is i.e. 1.0 7) Set some base path https://example/ 8) Select Swagger version 2.0 9) Select Format yaml. 10) Hit ok.
Result: It throws an error : "java.lang.exception: Selected APIs must contain at least one endpoint"