forked from loafle/openapi-generator-original
Fix another batch of spelling typos (#13915)
* Fix typos * Remove repeated words * Minor grammar fixes
This commit is contained in:
@@ -36,7 +36,7 @@ $Id = 38369
|
||||
#Write-Host $Result3["Headers"]["Content-Type"]
|
||||
#Write-Host $Result3["Response"]
|
||||
#} catch {
|
||||
# Write-Host ("Exception occured when calling '': {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
||||
# Write-Host ("Exception occurred when calling '': {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
|
||||
# Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
|
||||
#}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ This endpoint does not need any parameter.
|
||||
|
||||
Find purchase order by ID
|
||||
|
||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
|
||||
|
||||
### Example
|
||||
```powershell
|
||||
|
||||
@@ -118,7 +118,7 @@ function Get-PSHttpSignedHeader {
|
||||
-HashAlgorithmName $httpSigningConfiguration.HashAlgorithm `
|
||||
-KeyPassPhrase $httpSigningConfiguration.KeyPassPhrase
|
||||
}
|
||||
#Depricated
|
||||
#Deprecated
|
||||
<#$cryptographicScheme = Get-PSCryptographicScheme -SigningAlgorithm $httpSigningConfiguration.SigningAlgorithm `
|
||||
-HashAlgorithm $httpSigningConfiguration.HashAlgorithm
|
||||
#>
|
||||
|
||||
@@ -60,7 +60,7 @@ Describe -tag 'PSOpenAPITools' -name 'Integration Tests' {
|
||||
$Result = Update-PSPet -Pet $NewPet
|
||||
$Result = Get-PSPetById -petId $Id -WithHttpInfo
|
||||
$Result.GetType().fullname | Should -Be "System.Collections.Hashtable"
|
||||
#$Result["Response"].GetType().fullanme | Should -Be "System.Management.Automation.PSCustomObject"
|
||||
#$Result["Response"].GetType().fullname | Should -Be "System.Management.Automation.PSCustomObject"
|
||||
$Result["Response"]."id" | Should -Be 38369
|
||||
$Result["Response"]."name" | Should -Be "PowerShell2"
|
||||
$Result["Response"]."status" | Should -Be "Sold"
|
||||
|
||||
Reference in New Issue
Block a user