-
-
Notifications
You must be signed in to change notification settings - Fork 548
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
I have simple controller in Kotlin
@Operation(summary = "Get company details", description = "Get company details")
fun getCompanyDetails(@PathVariable companyId: Long): ResponseEntity<CompanyDTO> {
val company = companyService.getCompanyByIdOrException(companyId)
return ResponseEntity.ok(company.toDto())
}
After upgrading to Spring-boot 3.0.1 and springdoc-openapi 2.0.2
I see arg0 in swagger ui rather than companyId in the ui
And when trying it out i get 404:
"message": "Failed to convert value of type 'java.lang.String' to required type 'long'; For input string: \"{companyId}\"",
"path": "/api/evans-admin/companies/%7BcompanyId%7D/scheme-admins"
as you can see rather than using given value %7BcompanyId%7D string is being used
martin-tarjanyi
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request