forked from deepmap/oapi-codegen
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We make heavy use of the new UUID feature introduced in deepmap#571, deepmap#546 and deepmap#556. However, we observed that using a UUID as parameter creates malformed strings in the requests made by the generated clients. This adds a special handling for types.UUID in the StyleParamWithLocation function. I'm not that happy with this approach. I would like to use an interface "MarshalParameter" for this with semantics similar to MarshalJSON. But that doesn't work for aliased types as UUIDs.
- Loading branch information
Christoph Petrausch
committed
Jun 3, 2022
1 parent
14fc88e
commit 486bd0f
Showing
2 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters