swagger-codegen
swagger-codegen copied to clipboard
Path parameters aren't propagated to operation level
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