Tiffany Marrel be651e7776
[powershell] cleanup documentation (#15355)
* [powershell] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [powershell] fix anchor links in documentation
2023-05-09 14:21:09 +08:00

1.1 KiB

PSPetstore.PSPetstore/Api.PSDefaultApi

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
Invoke-PSFooGet GET /foo

Invoke-PSFooGet

FooGetDefaultResponse Invoke-PSFooGet

Example


try {
    $Result = Invoke-PSFooGet
} catch {
    Write-Host ("Exception occurred when calling Invoke-PSFooGet: {0}" -f ($_.ErrorDetails | ConvertFrom-Json))
    Write-Host ("Response headers: {0}" -f ($_.Exception.Response.Headers | ConvertTo-Json))
}

Parameters

This endpoint does not need any parameter.

Return type

FooGetDefaultResponse (PSCustomObject)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]