Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 554 Bytes

additional-properties-and-properties.md

File metadata and controls

29 lines (15 loc) · 554 Bytes

AdditionalPropertiesAndProperties

Category

Data Plane Warning

Applies to

Data Plane OpenAPI specs

Output Message

Don't specify additionalProperties as a sibling of properties.

Description

Don't specify both additionalProperties and properties in the same object schema. Only use additionalProperties to define "map" structures.

CreatedAt

June 18, 2022

LastModifiedAt

June 18, 2022

How to fix the violation

Remove additionalProperties from the schema and add a new object property to hold the additional properties.