devabhishekpal commented on PR #5509: URL: https://github.com/apache/ozone/pull/5509#issuecomment-1792946280
Thanks a lot for reviewing these changes @devmadhuu . In the latest commit I did the changes as requested. Updated screenshots: <img width="1728" alt="Screenshot 2023-11-03 at 23 50 31" src="https://github.com/apache/ozone/assets/43001336/3b55f84d-88a0-4187-b13f-1616d0f1af31"> <img width="1728" alt="Screenshot 2023-11-03 at 23 51 25" src="https://github.com/apache/ozone/assets/43001336/622fecbe-9b10-4341-88fc-6af896a8ede3"> <img width="1728" alt="Screenshot 2023-11-03 at 23 58 08" src="https://github.com/apache/ozone/assets/43001336/bdfd6440-e4d9-4095-8030-2dbd39768cf8"> I corrected the `operationId` to reflect the method names as declared in the methods from the [API folder](https://github.com/apache/ozone/tree/master/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api). However for the `/containers/unhealthy/{state}` the operation ID is different from the method name as both the endpoints i.e. * /containers/unhealthy * /containers/unhealthy/{state} have the same method name, causing Swagger to trigger both dropdowns. I put the **operationId for /containers/unhealthy** as `getUnhealthyContainers` which is it's method name. And for **/containers/unhealthy/{state}**, I put it as `getUnhealthyContainersWithState` to make it unique. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
