0QFO"1*(FOFSBUPSͷ࠷ۙͷτϐοΫΛ͝հ w υΩϡϝϯταΠτ͕Ξοϓσʔτ w )BOEMFCBSTʹରԠ w ΧελϜςϯϓϨʔτΤϯδϯʹରԠ w PQFOBQJTUZMFWBMJEBUPSϦϙδτϦ w ,VCFSOBUFTͷ3&45"1*ΫϥΠΞϯτੜπʔϧͱͯ͠࠾༻͕ਐΜͰ͍Δ w ͓ΘΓʹ
υΩϡϝϯταΠτ͕Ξοϓσʔτ w )BOEMFCBSTʹରԠ w ΧελϜςϯϓϨʔτΤϯδϯʹରԠ w PQFOBQJTUZMFWBMJEBUPSϦϙδτϦ w ,VCFSOBUFTͷ3&45"1*ΫϥΠΞϯτੜπʔϧͱͯ͠࠾༻͕ਐΜͰ͍Δ w ͓ΘΓʹ Ұ୴0QFO"1*(FOFSBUPS͔Β ͕ઢ͠·͢
$%$$POTVNFS%SJWFO$POUSBDUTEFWFMPQNFOU w IUUQXXXTFSWJDFEFTJHOQBUUFSOTDPN8FC4FSWJDF&WPMVUJPO$POTVNFS%SJWFO$POUSBDUT w "1*ར༻ऀ͕ظ͢ΔڍಈΛυΩϡϝϯτԽ͢Δ $POUSBDU w "1*ར༻ऀఏڙऀͷํ͕$POUSBDUΛͱʹςετΛߦ͏͜ͱͰ࣭Λอͪͳ͕ΒχʔζΛຬͨ ͢։ൃΛߦ͏ IUUQTHJUIVCDPNTQSJOHDMPVETQSJOHDMPVEDPOUSBDU
υΩϡϝϯταΠτ͕Ξοϓσʔτ w )BOEMFCBSTʹରԠ w ΧελϜςϯϓϨʔτΤϯδϯʹରԠ w PQFOBQJTUZMFWBMJEBUPSϦϙδτϦ w ,VCFSOBUFTͷ3&45"1*ΫϥΠΞϯτੜπʔϧͱͯ͠࠾༻͕ਐΜͰ͍Δ w ͓ΘΓʹ 0QFO"1*(FOFSBUPSʹؔ͢Δ ׂͱ࠷ۙͷτϐοΫΛ େখ͍͔ͭ͘͝հ͠·͢
-jar /path/to/openapi-style-validator-cli.jar \ -s openapi.yaml \ # ରͷOpenAPIυΩϡϝϯτ -o options.json # όϦσʔγϣϯͷϧʔϧΛఆٛͨ͠JSONϑΝΠϧ *ERROR* in Model 'Pet', property 'status', field 'example' -> This field should be present and not empty $ echo $status 1 IUUQTHJUIVCDPN0QFO"1*5PPMTPQFOBQJTUZMFWBMJEBUPS FYBNQMF͕ ະఆٛʹͳ͍ͬͯΔͷΛ ࢦఠͯ͘͠Ε͍ͯΔ