Skip to content

Commit

Permalink
feat(juaz): starting to model requests using Juaz
Browse files Browse the repository at this point in the history
  • Loading branch information
isaqueveras committed Apr 13, 2024
1 parent c4849c9 commit 806a9a7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions protos/auth.juaz
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pkg authentication

node User {}

node Session {}

impl login(User) Session {
method: POST
uri: /v1/auth/login
}

impl create_account(User) User {
method: POST
uri: /v1/auth/create_account
}

0 comments on commit 806a9a7

Please sign in to comment.