{"slug":"swagger-openapi","group":"backend","title":"Swagger / OpenAPI","short":"Your API described as a contract: docs, in-browser testing and client generation.","icon":"file-json","aliases":["Swagger","OpenAPI","API documentation"],"order":803,"status":"available","articleCount":1,"groupTitle":"Backend & API","intro":"","servedLang":"en","primaryArticle":{"id":"6b0941805ce40d447918f2e9","slug":"swagger-openapi","title":"Swagger and OpenAPI in practice – docs from code in NestJS and Express, a typed client and contract hygiene","summary":"We document the pierogi shop API with OpenAPI – in NestJS with @nestjs/swagger (CLI plugin, response DTOs, an API key in Swagger UI, URI versioning, export without a database), in Express from Zod schemas with zod-to-openapi and swagger-ui-express. From the same spec we generate a typed client and guard it in CI.","servedLang":"en","availableLangs":["pl","en"],"topics":["swagger-openapi","nestjs","express"],"techs":["node","typescript"],"tags":["openapi-3-1","nestjs-swagger","swagger-ui","zod-to-openapi","openapi-typescript","openapi-fetch","redocly","oasdiff","api-versioning"],"level":"intermediate","kind":"tutorial","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":21,"stats":{"views":3,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T08:38:24.373Z","updatedAt":"2026-11-27T13:03:05.184Z","challengeCount":0,"quizCount":0},"articles":[],"challenges":[],"resources":[{"id":"6b0857c83c96f2d34d0b4a21","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=JNuk66FVSM0","embedUrl":"https://www.youtube-nocookie.com/embed/JNuk66FVSM0","title":"OpenAPI with a sprinkle ✨ of Hypermedia","description":"OpenAPI is great for describing your HTTP API. It's used at design time when you're developing to understand how interact with an HTTP API. But on the other side is more runtime considerations that allow evolvability with Hypermedia. Here's how to use both. 🔗 EventStoreDB…","author":"CodeOpinion","thumbnailUrl":"https://i.ytimg.com/vi/JNuk66FVSM0/hqdefault.jpg","durationSec":null,"lang":"en","topics":["event-sourcing"],"techs":["dotnet"],"tags":["software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2024-06-27T14:12:54.000Z","popularity":58,"verifiedAt":"2026-11-26T10:53:40.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857ba3c96f2d34d0b3eaa","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/building-the-future-of-apis-mike-kistlers-insights/id1433496275?i=1000735679581","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1433496275?i=1000735679581","title":"Building the Future of APIs: Mike Kistler's Insights on OpenAPI and MCP","description":"Strategic Technology Consultation Services This episode of The Modern .NET Show is supported, in part, by RJJ Software's Strategic Technology Consultation Services. If you're an SME (Small to Medium Enterprise) leader wondering why your technology investments aren't delivering, or you're facing…","author":"The Modern .NET Show","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts211/v4/dd/a8/49/dda849d0-9ad8-ed16-1e29-c2379835442a/mza_548653166950185678.jpg/600x600bb.jpg","durationSec":4202,"lang":"en","topics":["mcp","ai-in-dotnet"],"techs":["dotnet"],"tags":["podcast","cloud","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2025-11-07T06:30:00.000Z","popularity":52,"verifiedAt":"2026-11-26T11:07:26.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:57.868Z","updatedAt":"2026-11-26T16:00:57.868Z"},{"id":"6b0857b33c96f2d34d0b3663","type":"repo","provider":"github","url":"https://github.com/NationalBankBelgium/REST-API-Design-Guide","embedUrl":null,"title":"NationalBankBelgium/REST-API-Design-Guide","description":"NBB's REST-ish API Design Guide","author":"NationalBankBelgium","thumbnailUrl":"https://opengraph.githubassets.com/1/NationalBankBelgium/REST-API-Design-Guide","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["design","design-pattern","design-patterns","rest","rest-api","restful","api-design","restful-api","restful-webservices"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2016-10-12T06:58:57.000Z","popularity":56,"verifiedAt":"2026-11-26T10:57:29.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857c73c96f2d34d0b491e","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=u_5JppAExDs","embedUrl":"https://www.youtube-nocookie.com/embed/u_5JppAExDs","title":"Top 10 Rest API Design Pitfalls by Victor Rentea @ Spring I/O 2025","description":"Spring I/O 2025 - 22-23 May, Barcelona An entertaining review of the most common mistakes in designing an API, from the most outrageous goofs to the most dangerous “innocent” shortcuts. You’ll see examples of: Breaking Changes, Domain Model Leak, Sensitive Data Exposure, Performance Issues…","author":"Spring I/O","thumbnailUrl":"https://i.ytimg.com/vi/u_5JppAExDs/hqdefault.jpg","durationSec":null,"lang":"en","topics":["cqrs"],"techs":["java"],"tags":["api-design","performance","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-09-03T21:03:59.000Z","popularity":66,"verifiedAt":"2026-11-26T10:56:51.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857bb3c96f2d34d0b3fb1","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/openapi-3-1-0-support-in-kin-openapi-and-a/id1665967724?i=1000765769807","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1665967724?i=1000765769807","title":"OpenAPI 3.1.0 support in kin-openapi, and a CRITical look at agentic coding","description":"kin-openapi v0.136.0 released with support for OpenAPI 3.1.0git 2.54 releasedgo-gitAccepted proposal: modernize for atomic, embedlit, errorsastype, plusbuild, stringscut, stditeratorsATL Builder Night, May 11Interview with Tomasz Tomczykcrit.md / on GitHubBlogXSuperpowerscontext-mode ★ Support…","author":"Cup o' Go","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts211/v4/fa/3c/bb/fa3cbbba-032b-31c5-ff95-eb8dbf6a2fb9/mza_6269771304890757859.jpg/600x600bb.jpg","durationSec":3827,"lang":"en","topics":["ai-agents","ai-in-go"],"techs":["go"],"tags":["podcast","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2026-05-02T11:50:36.000Z","popularity":48,"verifiedAt":"2026-11-26T11:06:50.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:57.868Z","updatedAt":"2026-11-26T16:00:57.868Z"}],"resourceGroups":[{"type":"video","items":[{"id":"6b0857c83c96f2d34d0b4a21","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=JNuk66FVSM0","embedUrl":"https://www.youtube-nocookie.com/embed/JNuk66FVSM0","title":"OpenAPI with a sprinkle ✨ of Hypermedia","description":"OpenAPI is great for describing your HTTP API. It's used at design time when you're developing to understand how interact with an HTTP API. But on the other side is more runtime considerations that allow evolvability with Hypermedia. Here's how to use both. 🔗 EventStoreDB…","author":"CodeOpinion","thumbnailUrl":"https://i.ytimg.com/vi/JNuk66FVSM0/hqdefault.jpg","durationSec":null,"lang":"en","topics":["event-sourcing"],"techs":["dotnet"],"tags":["software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2024-06-27T14:12:54.000Z","popularity":58,"verifiedAt":"2026-11-26T10:53:40.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"},{"id":"6b0857c73c96f2d34d0b491e","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=u_5JppAExDs","embedUrl":"https://www.youtube-nocookie.com/embed/u_5JppAExDs","title":"Top 10 Rest API Design Pitfalls by Victor Rentea @ Spring I/O 2025","description":"Spring I/O 2025 - 22-23 May, Barcelona An entertaining review of the most common mistakes in designing an API, from the most outrageous goofs to the most dangerous “innocent” shortcuts. You’ll see examples of: Breaking Changes, Domain Model Leak, Sensitive Data Exposure, Performance Issues…","author":"Spring I/O","thumbnailUrl":"https://i.ytimg.com/vi/u_5JppAExDs/hqdefault.jpg","durationSec":null,"lang":"en","topics":["cqrs"],"techs":["java"],"tags":["api-design","performance","software-architecture"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-09-03T21:03:59.000Z","popularity":66,"verifiedAt":"2026-11-26T10:56:51.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:10.095Z","updatedAt":"2026-11-26T16:01:10.095Z"}]},{"type":"podcast","items":[{"id":"6b0857ba3c96f2d34d0b3eaa","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/building-the-future-of-apis-mike-kistlers-insights/id1433496275?i=1000735679581","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1433496275?i=1000735679581","title":"Building the Future of APIs: Mike Kistler's Insights on OpenAPI and MCP","description":"Strategic Technology Consultation Services This episode of The Modern .NET Show is supported, in part, by RJJ Software's Strategic Technology Consultation Services. If you're an SME (Small to Medium Enterprise) leader wondering why your technology investments aren't delivering, or you're facing…","author":"The Modern .NET Show","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts211/v4/dd/a8/49/dda849d0-9ad8-ed16-1e29-c2379835442a/mza_548653166950185678.jpg/600x600bb.jpg","durationSec":4202,"lang":"en","topics":["mcp","ai-in-dotnet"],"techs":["dotnet"],"tags":["podcast","cloud","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2025-11-07T06:30:00.000Z","popularity":52,"verifiedAt":"2026-11-26T11:07:26.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:57.868Z","updatedAt":"2026-11-26T16:00:57.868Z"},{"id":"6b0857bb3c96f2d34d0b3fb1","type":"podcast","provider":"apple-podcasts","url":"https://podcasts.apple.com/us/podcast/openapi-3-1-0-support-in-kin-openapi-and-a/id1665967724?i=1000765769807","embedUrl":"https://embed.podcasts.apple.com/us/podcast/id1665967724?i=1000765769807","title":"OpenAPI 3.1.0 support in kin-openapi, and a CRITical look at agentic coding","description":"kin-openapi v0.136.0 released with support for OpenAPI 3.1.0git 2.54 releasedgo-gitAccepted proposal: modernize for atomic, embedlit, errorsastype, plusbuild, stringscut, stditeratorsATL Builder Night, May 11Interview with Tomasz Tomczykcrit.md / on GitHubBlogXSuperpowerscontext-mode ★ Support…","author":"Cup o' Go","thumbnailUrl":"https://is1-ssl.mzstatic.com/image/thumb/Podcasts211/v4/fa/3c/bb/fa3cbbba-032b-31c5-ff95-eb8dbf6a2fb9/mza_6269771304890757859.jpg/600x600bb.jpg","durationSec":3827,"lang":"en","topics":["ai-agents","ai-in-go"],"techs":["go"],"tags":["podcast","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"itunes","publishedAt":"2026-05-02T11:50:36.000Z","popularity":48,"verifiedAt":"2026-11-26T11:06:50.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:57.868Z","updatedAt":"2026-11-26T16:00:57.868Z"}]},{"type":"repo","items":[{"id":"6b0857b33c96f2d34d0b3663","type":"repo","provider":"github","url":"https://github.com/NationalBankBelgium/REST-API-Design-Guide","embedUrl":null,"title":"NationalBankBelgium/REST-API-Design-Guide","description":"NBB's REST-ish API Design Guide","author":"NationalBankBelgium","thumbnailUrl":"https://opengraph.githubassets.com/1/NationalBankBelgium/REST-API-Design-Guide","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["design","design-pattern","design-patterns","rest","rest-api","restful","api-design","restful-api","restful-webservices"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2016-10-12T06:58:57.000Z","popularity":56,"verifiedAt":"2026-11-26T10:57:29.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"}]}],"siblings":[{"slug":"express","title":"Express","icon":"server","status":"available","current":false},{"slug":"nestjs","title":"NestJS","icon":"boxes","status":"available","current":false},{"slug":"swagger-openapi","title":"Swagger / OpenAPI","icon":"file-json","status":"available","current":true},{"slug":"authentication","title":"Authentication","icon":"key-round","status":"available","current":false}]}