API Evangelist API Evangelist
API Learnings
Toolbox
API Evangelist LLC

Schema Property Type

Requiring that all schema property types meets the policy standards.

Rules

OpenAPI Schema Properties Array Items Error

Schema properties that are of the type array must have an items property defined

OpenAPI Schema Properties Array Items Info

Schema properties that are of the type array must have an items property defined

OpenAPI Schema Properties Allowed Integer Format Error

Schema integer properties needs a format property with int32 or int64 applied

OpenAPI Schema Properties Allowed Number Format Error

Schema integer properties needs a format property with int32 or int64 applied

Strategies

Data Should Be Well-Defined and Validated

The schema behind your APIs is where the rubber meets the road. If your data does not have a well-known shape, if it is not validated on the way in and out, you are setting consumers up for surpris...