integer int8 OData-specific format Edm.Single number OpenAPI format with extended meaning string is needed for INF, INF, and NaN Edm.String string maxLength Sequence of UTF-8 characters Edm.TimeOfDay string time format Properties of type Edm.Decimal and Edm.Int64 are represented as JSON strings if the format option IEEE754Compatible=true is specified, so they have to be declared with both number and string. The of properties of type Edm.Decimal are represented with the OpenAPI Specification keyword multipleOf and a value of 10scale. The precision is represented with the maximum and minimum keywords and a value of ±(10precision-scale - 10scale) if the scale facet has a numeric value, and ±(10precision - 1) if the scale is variable). Properties of type Edm.Double and Edm.Single have special values for INF, and NaN that -INF, are represented as JSON strings, so they also have to be declared with both number and string. Services that do not support the special values INF, and NaN omit the string keyword. -INF, The default value of a property is represented with the OpenAPI Specification keyword default. : "BooleanValue":{ "type":"boolean", } : "BinaryValue":{ "type":"string", "format":"base64url", "maxLength":44, "default":"T0RhdGE" } : "IntegerValue":{ "type":"integer", "format":"int32", "default":-128 }
integer int8 OData-specific format Edm.Single number OpenAPI format with extended meaning string is needed for INF, INF, and NaN Edm.String string maxLength Sequence of UTF-8 characters Edm.TimeOfDay string time format Properties of type Edm.Decimal and Edm.Int64 are represented as JSON strings if the format option IEEE754Compatible=true is specified, so they have to be declared with both number and string. The of properties of type Edm.Decimal are represented with the OpenAPI Specification keyword multipleOf and a value of 10scale. The precision is represented with the maximum and minimum keywords and a value of ±(10precision-scale - 10scale) if the scale facet has a numeric value, and ±(10precision - 1) if the scale is variable). Properties of type Edm.Double and Edm.Single have special values for -INF, INF, and NaN that are represented as JSON strings, so they also have to be declared with both number and string. Services that do not support the special values -INF, INF, and NaN omit the string keyword. The default value of a property is represented with the OpenAPI Specification keyword default. : "BooleanValue":{ "type":"boolean", } : "BinaryValue":{ "type":"string", "format":"base64url", "maxLength":44, "default":"T0RhdGE" } : "IntegerValue":{ "type":"integer", "format":"int32", "default":-128 }
odata-openapi-v1.0-cnprd01.docx