<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: gauamg</title>
    <description>The latest articles on DEV Community by gauamg (@gauamg).</description>
    <link>https://dev.to/gauamg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F618010%2Fbf04ae71-8771-4a99-9c76-48f9b215795d.png</url>
      <title>DEV Community: gauamg</title>
      <link>https://dev.to/gauamg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gauamg"/>
    <language>en</language>
    <item>
      <title>Validating OAS3.X YAML spec files against the OAS3.0 spec in Java?</title>
      <dc:creator>gauamg</dc:creator>
      <pubDate>Tue, 20 Apr 2021 19:24:31 +0000</pubDate>
      <link>https://dev.to/gauamg/validating-oas3-x-yaml-spec-files-against-the-oas3-0-spec-in-java-21ma</link>
      <guid>https://dev.to/gauamg/validating-oas3-x-yaml-spec-files-against-the-oas3-0-spec-in-java-21ma</guid>
      <description>&lt;p&gt;I am new to this forum and this is really more a question than a post. Hopefully this is OK.&lt;/p&gt;

&lt;p&gt;I would like to be able to validate OAS3.X compatible YAML spec files against the OAS3.0 spec (&lt;a href="https://spec.openapis.org/oas/v3.1.0"&gt;https://spec.openapis.org/oas/v3.1.0&lt;/a&gt;). The built-in capabilities in swagger-parser and openapi4j appear to give inconsistent results. For instance the swagger-parser is not flagging that 'decimal' is not a valid data type in OAS3 etc. How could I write a validator from scratch in Java that would load the OAS3 spec and then validate the YAML spec files against it? (Note: In openapi4j, if the URL points to the OAS3.0 spec file, the parser quits with an exception.)&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
