2021-02-10から1日間の記事一覧

OpenAPIの$refにdescriptionをつける苦肉の策

例えば以下のようなschemaがあるとする。このperson中のfather,motherは同じschemaのpersonを参照する形になっている。 { "components": { "schemas": { "person": { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "in…