You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Discuss] Design & implement Any type in Open API #14
Allows extensions to the OpenAPI Schema. The field name MUST begin with x-, for example, x-internal-id. The value can be null, a primitive, an array or an object. Can have any valid JSON format value.
So, the Any type could be:
Null,
Primitive
Array
Object
While, Open API spec says:
Common Name
type
format
Comments
integer
integer
int32
signed 32 bits
long
integer
int64
signed 64 bits
float
number
float
double
number
double
string
string
byte
string
byte
base64 encoded characters
binary
string
binary
any sequence of octets
boolean
boolean
date
string
date
As defined by full-date - RFC3339
dateTime
string
date-time
As defined by date-time - RFC3339
password
string
password
A hint to UIs to obscure input.
So, I think I want to use the PR #15: to represent the structure.
Activity
[-]Design & implement Any type in Open API[/-][+][Discuss] Design & implement Any type in Open API[/+]PerthCharern commentedon Dec 6, 2017
Sam Xu (@xuzhg) This is done, right?
xuzhg commentedon Dec 7, 2017
Yes.