You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/client/petstore/powershell/docs/PSStoreApi.md
-8Lines changed: 0 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,6 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or non
21
21
22
22
### Example
23
23
```powershell
24
-
Import-Module -Name PSPetstore
25
-
26
24
$OrderId = "OrderId_example" # String | ID of the order that needs to be deleted
27
25
28
26
# Delete purchase order by ID
@@ -65,8 +63,6 @@ Returns a map of status codes to quantities
65
63
66
64
### Example
67
65
```powershell
68
-
Import-Module -Name PSPetstore
69
-
70
66
# general setting of the PowerShell module, e.g. base URL, authentication, etc
71
67
$Configuration = Get-Configuration
72
68
# Configure API key authorization: api_key
@@ -113,8 +109,6 @@ For valid response try integer IDs with value <= 5 or > 10. Other values will ge
113
109
114
110
### Example
115
111
```powershell
116
-
Import-Module -Name PSPetstore
117
-
118
112
$OrderId = 987 # Int64 | ID of pet that needs to be fetched
119
113
120
114
# Find purchase order by ID
@@ -156,8 +150,6 @@ Place an order for a pet
156
150
157
151
### Example
158
152
```powershell
159
-
Import-Module -Name PSPetstore
160
-
161
153
$Order = (Initialize-Order -Id 123 -PetId 123 -Quantity 123 -ShipDate Get-Date -Status "placed" -Complete $false) # Order | order placed for purchasing the pet
0 commit comments