<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OpenAPI on Yonatan Karp-Rudin</title><link>https://yonatankarp.com/tags/openapi/</link><description>Recent content in OpenAPI on Yonatan Karp-Rudin</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 14 Dec 2022 00:00:00 +0100</lastBuildDate><atom:link href="https://yonatankarp.com/tags/openapi/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Build Your Domain Gateway with OpenAPI</title><link>https://yonatankarp.com/blog/build-domain-gateway-openapi/</link><pubDate>Wed, 14 Dec 2022 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/build-domain-gateway-openapi/</guid><description>&lt;div class="editors-note"&gt;&#10;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; This article explains what a domain gateway is, how to build one, and why you would want it.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="what-is-a-domain-gateway"&gt;What is a Domain Gateway?&lt;/h2&gt;&#10;&lt;p&gt;A domain gateway is a private case of the API gateway pattern. The website &lt;a href="https://java-design-patterns.com/patterns/microservices-api-gateway/"&gt;java-design-patterns&lt;/a&gt; defines the gateway pattern as follows:&lt;/p&gt;</description></item><item><title>How to Use OpenAPI to Build a Robust RESTful API</title><link>https://yonatankarp.com/blog/openapi-robust-restful-api/</link><pubDate>Sun, 04 Dec 2022 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/openapi-robust-restful-api/</guid><description>&lt;div class="editors-note"&gt;&#10;&lt;p&gt;&lt;strong&gt;Editor&amp;rsquo;s Note:&lt;/strong&gt; This post was originally written by me and published on SumUp&amp;rsquo;s blog. However, a lot has changed since then. I am no longer working for SumUp, OpenAPI has released two major versions, Spring Boot has had a major release, and even Gradle has had multiple major releases. Not only that, but my writing skills have improved dramatically since then, and over time, I have found some small mistakes in the original article. Since the original article is one of my most successful, I decided to rewrite it and publish an updated version.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="restful-api-the-ugly-part"&gt;RESTful API: The Ugly Part&lt;/h2&gt;&#10;&lt;p&gt;As a backend engineer, I have developed numerous REST APIs during my career. One of the most annoying issues I faced repeatedly was the lack of smooth integration between the backend and clients. Typos in URLs, inconsistent casing in JSON (camel case vs. snake case), passing values of the wrong type (e.g., string instead of an integer), and other similar mistakes have happened to me multiple times.&lt;/p&gt;</description></item></channel></rss>