|
名稱 |
類型 |
描述 |
樣本值 |
|---|---|---|---|
|
object |
HttpApiRequestContract |
||
| headerParameters |
array |
要求標頭參數定義。 |
|
| HttpApiParameter |
要求標頭參數定義。 |
||
| queryParameters |
array |
Query 參數定義。 |
|
| HttpApiParameter |
Query 參數定義。 |
||
| pathParameters |
array |
路徑參數定義。 |
|
| HttpApiParameter |
路徑參數定義。 |
||
| body |
object |
請求體參數定義。 |
|
| description |
string |
描述。 |
body參數描述 |
| example |
string |
樣本值。 |
{"result":"ok"} |
| contentType |
string |
請求體內容類型。 |
application/json |
| jsonSchema |
string |
請求體 JSON 定義描述。 |
{ "type": "object", "required": [ "result" ], "properties": { "result": { "type": "string", "description": "操作結果,'ok' 表示成功" } } } |