-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: Update oapi-codegen version to v1.12.0 of our fork (#4707)
Updates the version of oapi-codegen which is installed via the buildtools to our v1.12.0 release. Also changes the Makefile targets and adds config files which are the preferred way of configuration instead of the old CLI flags. The generated types definitions have also been updated using the oapi-codegen commit which ensures all required Enums are generated for enums embedded in response types.
- Loading branch information
1 parent
76ff3a8
commit 5c97463
Showing
24 changed files
with
1,176 additions
and
1,283 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package: generated | ||
generate: | ||
echo-server: true | ||
embedded-spec: true | ||
output-options: | ||
exclude-tags: | ||
- private | ||
- common | ||
type-mappings: | ||
integer: uint64 | ||
skip-prune: true | ||
output: ./server/v2/generated/routes.go |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package: generated | ||
generate: | ||
models: true | ||
output-options: | ||
exclude-tags: | ||
- private | ||
- common | ||
type-mappings: | ||
integer: uint64 | ||
skip-prune: true | ||
output: ./server/v2/generated/types.go |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package: private | ||
generate: | ||
echo-server: true | ||
embedded-spec: true | ||
output-options: | ||
include-tags: | ||
- private | ||
type-mappings: | ||
integer: uint64 | ||
skip-prune: true | ||
output: ./server/v2/generated/private/routes.go |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package: private | ||
generate: | ||
models: true | ||
output-options: | ||
include-tags: | ||
- private | ||
type-mappings: | ||
integer: uint64 | ||
skip-prune: true | ||
output: ./server/v2/generated/private/types.go |
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
Oops, something went wrong.