Skip to content

Commit

Permalink
[IN-633] ADR file for replacing Guzzle build query - giving path to o…
Browse files Browse the repository at this point in the history
…riginal template files.
  • Loading branch information
moniar committed Nov 16, 2023
1 parent c13b705 commit d8910a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .adr/0001_replacing_guzzle_build_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Using mustache templates in order to change the code generated is not a perfect
- - `ObjectSerializer.mustache`
Copied from `swagger-codegen` repository and changed because I couldn't make the generator to create exactly same lines using `ObjectSerializer::toQueryValue`. It was creating them with only one parameter when we had two before but as I checked the second one was never used in our code anyway.

Original mustache files that I was changing can be found in [swagger-codegen-original-templates](swagger-codegen-original-templates) folder together with a [reverse-mustaches.diff](swagger-codegen-original-templates/reverse-mustaches.diff) file that shows what exactly changed.
Original mustache files that I was changing were taken from [here](https://github.com/swagger-api/swagger-codegen/tree/953805cb9eb750204c965a54ae326c4f308a68d2/modules/swagger-codegen/src/main/resources/php) and can be found in [swagger-codegen-original-templates](swagger-codegen-original-templates) folder together with a [reverse-mustaches.diff](swagger-codegen-original-templates/reverse-mustaches.diff) file that shows what exactly changed.



0 comments on commit d8910a7

Please sign in to comment.