Skip to content

Commit 8f68f7e

Browse files
Update examples
1 parent ffd87c8 commit 8f68f7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ dotnet run -- ../pet-store/openapi.json ../pet-store/PetStore-Client
2121
client←⎕NEW Client (baseURL:'https://petstore3.swagger.io/api/v3')
2222
2323
⍝ Find available pets
24-
pets←api.pet.findPetsByStatus (client:client ⋄ status:'available')
24+
pets←api.pet.findPetsByStatus.sync (client:client ⋄ status:'available')
2525
⎕←'Available pets: ',≢pets
2626
2727
⍝ Get a specific pet
28-
pet←api.pet.getPetById (client:client ⋄ petId:1)
28+
pet←api.pet.getPetById.sync (client:client ⋄ petId:1)
2929
⎕←'Pet name: ',pet.name
3030
3131
⍝ Create a new pet

0 commit comments

Comments
 (0)