swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

Path parameters aren't propagated to operation level

Open ralfeus opened this issue 1 year ago • 0 comments

According to this line path level parameters are propagated to operation. However, the part && operation.getParameters() != null excludes this scenario, because operation relying on path level parameters (like GET /resource/{id}) will always have parameters == null. I'd recommend removing this condition because it doesn't contribute to propagating parameters from path to operation level

ralfeus avatar Mar 26 '24 21:03 ralfeus