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
Enabled `no-required-schema-properties-undefined`, `no-schema-type-mismatch`, and `no-enum-type-mismatch` rules for **AsyncAPI** and **Arazzo** specifications.
7
+
Adjusted the rules' severities in the `recommended` and `minimal` rulesets. Refer to the following table:
Copy file name to clipboardExpand all lines: docs/@v2/rules/built-in-rules.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,12 +78,12 @@ The rules list is split into sections.
78
78
### Requests, Responses, and Schemas
79
79
80
80
-[component-name-unique](./oas/component-name-unique.md): Check for schema-wide unqiue naming of parameters, schemas, request bodies and responses
81
-
-[no-enum-type-mismatch](./oas/no-enum-type-mismatch.md): Enum options must match the data type declared in the schema
81
+
-[no-enum-type-mismatch](./common/no-enum-type-mismatch.md): Enum options must match the data type declared in the schema
82
82
-[no-example-value-and-externalValue](./oas/no-example-value-and-externalValue.md): Either the `value` or `externalValue` may be present, but not both
83
83
-[no-invalid-media-type-examples](./oas/no-invalid-media-type-examples.md): Example request bodies must match the declared schema
84
84
-[no-invalid-schema-examples](./oas/no-invalid-schema-examples.md): Schema examples must match declared types
85
-
-[no-required-schema-properties-undefined](./oas/no-required-schema-properties-undefined.md): All properties marked as required must be defined
86
-
-[no-schema-type-mismatch](./oas/no-schema-type-mismatch.md): Detects schemas with type mismatches between object and items fields, and array and properties fields.
85
+
-[no-required-schema-properties-undefined](./common/no-required-schema-properties-undefined.md): All properties marked as required must be defined
86
+
-[no-schema-type-mismatch](./common/no-schema-type-mismatch.md): Detects schemas with type mismatches between object and items fields, and array and properties fields.
87
87
-[request-mime-type](./oas/request-mime-type.md): Configure allowed mime types for requests
88
88
-[response-mime-type](./oas/response-mime-type.md): Configure allowed mime types for responses
89
89
-[response-contains-header](./oas/response-contains-header.md): List headers that must be included with specific response types
0 commit comments