Golang Microservices: REST APIs - OpenAPI / Swagger

Published: 09 March 2021
on channel: Mario Carrion
25k
294

Let me share with you another tip when building microservices in Go! Implementing REST APIs, first HTTP Handlers, then using custom types, next OpenAPI 3, Swagger tools and finally versioning!

* Blog post:
* Previous episode: "Golang Microservices: REST APIs - Custom Types"
* Example code:

* The Design of Web APIs: (affiliate link)
* Irresistible APIs: Designing web APIs that developers will love: (affiliate link)

* Playlist "Golang Tools and Packages":
* Playlist "Building Microservices in Go/Golang":

* Differences between OpenAPI/Swagger 2.x and 3.x:

00:00 Start
00:25 Implement OpenAPI (fka Swagger)
00:52 Why is OpenAPI / Swagger even needed?
03:07 What is OpenAPI? What is Swagger?
04:55 How to put it all together using Go?
07:12 Demo time!
07:25 Swagger UI Integration
08:55 Generating OpenAPI JSON/YAML
15:14 Recap
16:50 Parting words

---

Who am I:

Hello! I'm Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.

Every week I will share with you different topics I've learned while working for small startups and large companies including the processes I've followed over the years for successfully delivering complex enterprise systems from start to end.

Subscribe if you like Software Development, Software Architecture and Systems Design!

Keep it up. Don't give up!



--- Our affiliate links below

Shop our favorite products →
Vlogging setup →
Shop now and save at BestBuy →
DJI Osmo Action In Stock, Unleash Your Other Side →
Get a 30 day FREE trial of Epidemic Sound →
Try Amazon Prime 30-Day FREE trial →
I love getting Cash Back and think you will too! Join for free and get $20 when you spend $20 →
Sign up to start using vidIQ to grow your YouTube channel for FREE →

--- Our Vlog Channel


Watch video Golang Microservices: REST APIs - OpenAPI / Swagger online without registration, duration 17 minute 18 second in high hd quality. This video was added by user Mario Carrion 09 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25 thousand once and liked it 29 people.