Forum Discussion

shadersy's avatar
shadersy
Occasional Visitor
4 years ago

OpenAPI SWAGGER

Hello everyone! 

Please, give me answer. How can i get all GET-methods from my openApi exemplar. 


private OpenAPI openApi;

SwaggerParseResult result = new OpenAPIV3Parser()
.readContents(restServiceUrl, null, null);

openApi = result.getOpenAPI();

 

I suppose that there is no such possibility and i have to iterate over the entire json 

No RepliesBe the first to reply