Skip to content

Commit

Permalink
feat: add new fields to UserRecentEvent (#48)
Browse files Browse the repository at this point in the history
* feat: add new fields to UserRecentEvent

* fix: resolve codegen clash

* chore: bump version

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Bert Ramirez <[email protected]>
  • Loading branch information
3 people authored Mar 11, 2024
1 parent e7564b5 commit cfd0c5f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
3 changes: 3 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ for field in $fields; do
jq "$field |= . + {\"x-go-type-skip-optional-pointer\": true}" openapi.json > tmp.json && mv tmp.json openapi.json
done

# Rename component to avoid name clash with generated struct
jq ".components.schemas.ListPaginatedUsersResponse |= . + {\"x-go-name\": \"PaginatedUsersResponse\"}" openapi.json > tmp.json && mv tmp.json openapi.json

# JSON string of key-value pairs
transforms='{
"Active": "StatusActive",
Expand Down
25 changes: 18 additions & 7 deletions passage.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.9.0
v1.10.0

0 comments on commit cfd0c5f

Please sign in to comment.