mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 13:56:10 +00:00
[powershell] Updated the Api doc with httpsiging script snippet. (#7499)
* Added the httpsigning code snippet for api doc * Updated the sample * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
This commit is contained in:
@@ -11,14 +11,14 @@ Name | Type | Description | Notes
|
||||
|
||||
- Prepare the resource
|
||||
```powershell
|
||||
Initialize-PSPetstoreApiResponse -Code null `
|
||||
$ApiResponse = Initialize-PSPetstoreApiResponse -Code null `
|
||||
-Type null `
|
||||
-Message null
|
||||
```
|
||||
|
||||
- Convert the resource to JSON
|
||||
```powershell
|
||||
$ | Convert-ToJSON
|
||||
$ApiResponse | ConvertTo-JSON
|
||||
```
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
Reference in New Issue
Block a user