Tags: bakins/oapi-codegen
Tags
Clean up parameter escaping This fixes oapi-codegen#302. We were really sloppy with escaping and unescaping parameters, so I added another parameter to Bind/StyleParam which informs where the parameter is located, so that we can do proper escaping based on location. The server code performs corresponding unescaping.
Fix ordering of security requirements This fixes oapi-codegen#316. Maps are randomized, so sort the keys.
Fix query arg escaping and unescaping This fixes oapi-codegen#312, by ensuring that queries are properly escaped in the client, and properly unescaped in the server.
Fix request editors not updating the original request (oapi-codegen#1) ( oapi-codegen#306) Co-authored-by: Marcin Romaszewicz <[email protected]>
Mark embedded structs for inlining in yaml. (oapi-codegen#261)
Fix time/date and deepObject binding issues This fixes oapi-codegen#247. DeepObject had various bugs in binding to time and dates, and we explicitly need to handle aliases via reflection instead of type converting to time.Time and types.Date Added a pile of tests for these cases.
PreviousNext