micronaut-projects / micronaut-control-panel

Apache License 2.0
4 stars 1 forks source link

HTTP routes are displayed twice #207

Open alvarosanchez opened 2 months ago

alvarosanchez commented 2 months ago
image

The /routes endpoint returns the information correctly:

"{[/teams],method=[GET],produces=[application/json]}": {
"method": "java.util.List<com.example.TeamDto> com.example.TeamController.list()"
},
"{[/teams],method=[HEAD],produces=[application/json]}": {
"method": "java.util.List<com.example.TeamDto> com.example.TeamController.list()"
},
"{[/teams],method=[POST],produces=[application/json]}": {
"method": "io.micronaut.http.HttpResponse<com.example.TeamDto> com.example.TeamController.save(com.example.TeamDto teamDto)"
},
"{[/teams/{id}],method=[GET],produces=[application/json]}": {
"method": "io.micronaut.http.HttpResponse<com.example.TeamDto> com.example.TeamController.get(java.lang.Long id)"
},
"{[/teams/{id}],method=[HEAD],produces=[application/json]}": {
"method": "io.micronaut.http.HttpResponse<com.example.TeamDto> com.example.TeamController.get(java.lang.Long id)"
}