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
$Pet = (Initialize-Pet-Id 123 -Category (Initialize-Category-Id 123 -Name "Name_example") -Name "Name_example" -PhotoUrls @("PhotoUrls_example") -Tags @((Initialize-Tag-Id 123 -Name "Name_example")) -Status "Status_example") # Pet | Pet object that needs to be added to the store
33
+
$Pet = (Initialize-Pet -Id 123 -Category (Initialize-Category -Id 123 -Name "Name_example") -Name "Name_example" -PhotoUrls @("PhotoUrls_example") -Tags @((Initialize-Tag -Id 123 -Name "Name_example")) -Status "available") # Pet | Pet object that needs to be added to the store
34
34
35
35
# Add a new pet to the store
36
36
try {
@@ -74,10 +74,10 @@ Deletes a pet
74
74
```powershell
75
75
Import-Module -Name PSPetstore
76
76
77
-
$Configuration = Get-PSPetstoreConfiguration
77
+
# general setting of the PowerShell module, e.g. base URL, authentication, etc
78
+
$Configuration = Get-Configuration
78
79
# Configure OAuth2 access token for authorization: petstore_auth
$Pet = (Initialize-Pet-Id 123 -Category (Initialize-Category-Id 123 -Name "Name_example") -Name "Name_example" -PhotoUrls @("PhotoUrls_example") -Tags @((Initialize-Tag-Id 123 -Name "Name_example")) -Status "Status_example") # Pet | Pet object that needs to be added to the store
284
+
$Pet = (Initialize-Pet-Id 123 -Category (Initialize-Category-Id 123 -Name "Name_example") -Name "Name_example" -PhotoUrls @("PhotoUrls_example") -Tags @((Initialize-Tag-Id 123 -Name "Name_example")) -Status "available") # Pet | Pet object that needs to be added to the store
285
285
286
286
# Update an existing pet
287
287
try {
@@ -326,10 +326,10 @@ Updates a pet in the store with form data
326
326
```powershell
327
327
Import-Module -Name PSPetstore
328
328
329
-
$Configuration = Get-PSPetstoreConfiguration
329
+
# general setting of the PowerShell module, e.g. base URL, authentication, etc
330
+
$Configuration = Get-Configuration
330
331
# Configure OAuth2 access token for authorization: petstore_auth
$Order = (Initialize-Order-Id 123 -PetId 123 -Quantity 123 -ShipDate Get-Date -Status "Status_example" -Complete $false) # Order | order placed for purchasing the pet
161
+
$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