forked from loafle/openapi-generator-original
remove import as already stated in the installation instruction (#8608)
This commit is contained in:
parent
d869544ce1
commit
a5ac2ee1a3
@ -23,8 +23,6 @@ Method | HTTP request | Description
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name {{{packageName}}}
|
||||
|
||||
{{#hasAuthMethods}}
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
|
@ -23,8 +23,6 @@ Add a new pet to the store
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
@ -72,8 +70,6 @@ Deletes a pet
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
@ -124,8 +120,6 @@ Multiple status values can be provided with comma separated strings
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
@ -174,8 +168,6 @@ Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
@ -224,8 +216,6 @@ Returns a single pet
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: api_key
|
||||
@ -274,8 +264,6 @@ Update an existing pet
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
@ -324,8 +312,6 @@ Updates a pet in the store with form data
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
@ -378,8 +364,6 @@ uploads an image
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure OAuth2 access token for authorization: petstore_auth
|
||||
|
@ -21,8 +21,6 @@ For valid response try integer IDs with value < 1000. Anything above 1000 or non
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
$OrderId = "OrderId_example" # String | ID of the order that needs to be deleted
|
||||
|
||||
# Delete purchase order by ID
|
||||
@ -65,8 +63,6 @@ Returns a map of status codes to quantities
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# 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
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
$OrderId = 987 # Int64 | ID of pet that needs to be fetched
|
||||
|
||||
# Find purchase order by ID
|
||||
@ -156,8 +150,6 @@ Place an order for a pet
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
$Order = (Initialize-Order -Id 123 -PetId 123 -Quantity 123 -ShipDate Get-Date -Status "placed" -Complete $false) # Order | order placed for purchasing the pet
|
||||
|
||||
# Place an order for a pet
|
||||
|
@ -25,8 +25,6 @@ This can only be done by the logged in user.
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: auth_cookie
|
||||
@ -75,8 +73,6 @@ Creates list of users with given input array
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: auth_cookie
|
||||
@ -125,8 +121,6 @@ Creates list of users with given input array
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: auth_cookie
|
||||
@ -177,8 +171,6 @@ This can only be done by the logged in user.
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: auth_cookie
|
||||
@ -227,8 +219,6 @@ Get user by user name
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
$Username = "Username_example" # String | The name that needs to be fetched. Use user1 for testing.
|
||||
|
||||
# Get user by user name
|
||||
@ -271,8 +261,6 @@ Logs user into the system
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
$Username = "Username_example" # String | The user name for login
|
||||
$Password = "Password_example" # String | The password for login in clear text
|
||||
|
||||
@ -315,8 +303,6 @@ Logs out current logged in user session
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: auth_cookie
|
||||
@ -364,8 +350,6 @@ This can only be done by the logged in user.
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
Import-Module -Name PSPetstore
|
||||
|
||||
# general setting of the PowerShell module, e.g. base URL, authentication, etc
|
||||
$Configuration = Get-Configuration
|
||||
# Configure API key authorization: auth_cookie
|
||||
|
Loading…
x
Reference in New Issue
Block a user