Skip to content

Commit

Permalink
Merge branch 'main' into PSG-4625-validate-jwt-aud
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeshong authored Dec 10, 2024
2 parents 5eb7291 + 94748b5 commit 599837f
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 2,468 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/deploy.yml

This file was deleted.

12 changes: 11 additions & 1 deletion generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@ fields="\
.components.schemas.UpdateUserRequest.properties.email \
.components.schemas.UpdateUserRequest.properties.phone \
.components.schemas.UpdateUserRequest.properties.user_metadata \
.components.schemas.CreateMagicLinkRequest.properties.channel \
.components.schemas.CreateMagicLinkRequest.properties.email \
.components.schemas.CreateMagicLinkRequest.properties.language \
.components.schemas.CreateMagicLinkRequest.properties.magic_link_path \
.components.schemas.CreateMagicLinkRequest.properties.phone \
.components.schemas.CreateMagicLinkRequest.properties.redirect_url \
.components.schemas.CreateMagicLinkRequest.properties.send \
.components.schemas.CreateMagicLinkRequest.properties.ttl \
.components.schemas.CreateMagicLinkRequest.properties.type \
.components.schemas.CreateMagicLinkRequest.properties.user_id \
.components.schemas.MagicLinkType \
.components.schemas.MagicLinkChannel \
.components.schemas.UserInfo.properties.user_metadata \
.components.schemas.UserInfo.properties.webauthn_types"
for field in $fields; do
Expand Down Expand Up @@ -57,7 +67,7 @@ echo "$transforms" | jq -r 'to_entries[] | "\(.key) \(.value)"' | while read -r
done

# Run codegen
go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen@v1.16.2 \
go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v2.4.1 \
-generate types,client \
-package passage \
-o "$output_file" \
Expand Down
Loading

0 comments on commit 599837f

Please sign in to comment.