← Phòng luyện tậpOnline Testing · 20 câu
JSON Schema và OpenAPI: validation, annotation và contract
20 câu về schema draft 2020-12, Ajv, composition và các ranh giới contract của OpenAPI 3.1.1.
Nội dung luyện tập
- schema array uniqueness independent of cardinality
- schema default annotation does not insert
- schema integer does not coerce numeric string
- schema openapi path parameter is required
- schema pattern needs explicit anchors
- schema oneof requires exactly one branch
- schema closing composed object schemas
- schema prefixitems does not impose minimum length
- schema dependentrequired is directional
- schema contains counts matching items
- schema if properties without presence check
- schema ref sibling constraints apply in 2020
- schema format validation is configured
- schema strict schema catches unknown keyword
- schema overlapping patternproperties all apply
- schema contentencoding does not decode by itself
- schema openapi security alternatives versus conjunction
- schema writeonly needs response boundary
- schema response enum expansion can break consumer
- schema openapi dialect migration needs schema review
Mỗi câu đúng 1 điểm. Mục tiêu 70%. Đáp án và giải thích mở sau khi nộp bài.