全部產品
Search
文件中心

API Gateway:RequestParameter

更新時間:Jul 13, 2024

前端入參資訊項的類型。

描述

節點名

RequestParameter

子節點

ApiParameterName

String

參數名

Location

String

參數位置,取值為:BODY、HEAD、QUERY、PATH

ParameterType

String

參數類型,取值為:String、Int、Long、Float、Double、Boolean,分別表示字元、整型、長整型、單精確度浮點型、雙精確度浮點型、布爾

Required

String

是否必填,取值為:REQUIRED、OPTIONAL,分別表示必填、不必填

DefaultValue

String

預設值

DemoValue

String

樣本

MaxValue

Long

當ParameterType=Int、Long、Float、Double,參數的最大值限定

MinValue

Long

當ParameterType=Int、Long、Float、Double,參數的最小值限定

MaxLength

Long

當ParameterType=String,參數的最大長度限定

MinLength

Long

當ParameterType=String,參數的最小長度限定

RegularExpression

String

當ParameterType=String,參數驗證(Regex)

JsonScheme

String

當ParameterType=String,JSON驗證(Json Scheme)

EnumValue

String

當ParameterType=Int、Long、Float、Double或String,允許輸入的散列值,不同的值用英文的逗號分隔,形如:1,2,3,4,9或A,B,C,E,F

DocShow

String

文檔可見,取值為:PUBLIC、PRIVATE

DocOrder

Integer

文檔中順序

Description

String

參數描述