Bug Report Checklist
- [- ] Have you provided a full/minimal spec to reproduce the issue?
- [ -] Have you validated the input using an OpenAPI validator?
- [ X] Have you tested with the latest master to confirm the issue still exists?
- [ X] Have you searched for related issues/PRs?
- [ X] What's the actual output vs expected output?
- [- ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
AfterOperationDefaultImplementation tries to use format param {3} rather than {2}, which causes
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
openapi-generator version
7.17.0
OpenAPI declaration file content or url
N/A
Generation Details
CSharp generichost
Steps to reproduce
Any c# api using this tempate will fail at runtime
Related issues/PRs
NA
Suggest a fix
replace {3} with {2}