{"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","requestedLang":"en","theme":{"hero":"classic","heroMedia":null,"accent":"green","background":"hex","weaveResources":true,"toc":"right"},"seoDescription":"OpenAPI and Swagger in Node.js – @nestjs/swagger (DocumentBuilder, ApiProperty, CLI plugin, ApiSecurity, versioning), Express + zod-to-openapi + swagger-ui-express, openapi-typescript and openapi-fetch, Redocly lint, oasdiff and documentation best practices.","wordCount":4174,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"\"The docs are in Confluence, but probably out of date\" – everyone who has integrated with someone else's API has heard that. OpenAPI solves the problem only when the spec "},{"type":"text","text":"is generated from code","marks":[{"type":"bold"}]},{"type":"text","text":" or guarded by it. In this tutorial you document the pierogi shop's order API in two ways – in NestJS and in Express – and then put the spec to work: you generate a typed client and block changes in CI that would break integrations."}]},{"type":"callout","attrs":{"variant":"info","title":"In a nutshell"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"OpenAPI is a specification","marks":[{"type":"bold"}]},{"type":"text","text":" (a JSON/YAML file describing paths, parameters, schemas and security), "},{"type":"text","text":"Swagger is a family of tools","marks":[{"type":"bold"}]},{"type":"text","text":" (Swagger UI, Editor, Codegen) built around it."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"One source of truth","marks":[{"type":"bold"}]},{"type":"text","text":": in NestJS it is DTOs and decorators, in Express the same Zod schemas that validate requests. Hand-written YAML next to the code drifts away within a month."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The spec is a contract","marks":[{"type":"bold"}]},{"type":"text","text":": commit it, lint it (Redocly), diff it against the previous version (oasdiff) and generate clients from it (openapi-typescript)."}]}]}]}]},{"type":"callout","attrs":{"variant":"tip","title":"What you will build"},"content":[{"type":"paragraph","content":[{"type":"text","text":"An extension of two projects from the previous tutorials: the "},{"type":"text","text":"NestJS API","marks":[{"type":"link","attrs":{"href":"/en/articles/nestjs"}}]},{"type":"text","text":" gets Swagger UI at "},{"type":"text","text":"/docs","marks":[{"type":"code"}]},{"type":"text","text":" with the kitchen key in the \"Authorize\" dialog, documented responses and errors, "},{"type":"text","text":"/api/v1","marks":[{"type":"code"}]},{"type":"text","text":" and "},{"type":"text","text":"/api/v2","marks":[{"type":"code"}]},{"type":"text","text":" versions and a script that exports the spec without MongoDB or Redis. The "},{"type":"text","text":"Express API","marks":[{"type":"link","attrs":{"href":"/en/articles/express"}}]},{"type":"text","text":" gets an OpenAPI 3.1 spec generated from Zod schemas. Plus a typed TypeScript client and a GitHub Actions workflow. The ZIP contains new and changed files in the "},{"type":"text","text":"nest/","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"express/","marks":[{"type":"code"}]},{"type":"text","text":" and "},{"type":"text","text":"client/","marks":[{"type":"code"}]},{"type":"text","text":" folders – lay them over the projects from the previous parts."}]}]},{"type":"paragraph","content":[{"type":"text","text":"Prerequisites:","marks":[{"type":"bold"}]},{"type":"text","text":" the projects from the "},{"type":"text","text":"Express","marks":[{"type":"link","attrs":{"href":"/en/articles/express"}}]},{"type":"text","text":" and "},{"type":"text","text":"NestJS","marks":[{"type":"link","attrs":{"href":"/en/articles/nestjs"}}]},{"type":"text","text":" tutorials (or your own API in one of them), HTTP basics and JSON Schema at the level of \"type, required fields, enum\"."}]},{"type":"timeline","attrs":{"items":[{"date":"2011","title":"Swagger","text":"Tony Tam creates the specification and Swagger UI for the Wordnik API"},{"date":"2015","title":"OpenAPI Initiative","text":"SmartBear donates the specification to a foundation under the Linux Foundation"},{"date":"2017","title":"OpenAPI 3.0","text":"a new structure: `components`, `requestBody`, multiple servers"},{"date":"2021","title":"OpenAPI 3.1","text":"full JSON Schema 2020-12 alignment, `type: [string, \"null\"]` instead of `nullable`"},{"date":"2025","title":"OpenAPI 3.2","text":"streams (`itemSchema`), the `QUERY` method, response summaries"}]}},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart LR\n  subgraph SRC[\"Source of truth\"]\n    N[\"NestJS<br/>DTOs + decorators\"]\n    Z[\"Express<br/>Zod schemas\"]\n  end\n  N -->|SwaggerModule.createDocument| S[(\"openapi.json\")]\n  Z -->|OpenApiGeneratorV31| S\n  S --> UI[\"Swagger UI /docs<br/>people, manual testing\"]\n  S --> T[\"openapi-typescript<br/>types for the front end\"]\n  S --> L[\"Redocly lint<br/>style and completeness\"]\n  S --> D[\"oasdiff<br/>breaking changes in PRs\"]","caption":"The spec in the middle: generated from code, used by people, clients and CI"}},{"type":"heading","attrs":{"level":2,"id":"part-1-nestjs-nestjs-swagger"},"content":[{"type":"text","text":"Part 1. NestJS: @nestjs/swagger"}]},{"type":"heading","attrs":{"level":3,"id":"step-1-installation-the-cli-plugin-and-document-configuration"},"content":[{"type":"text","text":"Step 1. Installation, the CLI plugin and document configuration"}]},{"type":"codeBlock","attrs":{"language":"bash"},"content":[{"type":"text","text":"npm install @nestjs/swagger@11"}]},{"type":"codeGroup","attrs":{"title":"Plugin, document configuration and bootstrap"},"content":[{"type":"codeBlock","attrs":{"language":"json","filename":"nest/nest-cli.json"},"content":[{"type":"text","text":"{\n  \"$schema\": \"https://json.schemastore.org/nest-cli\",\n  \"collection\": \"@nestjs/schematics\",\n  \"sourceRoot\": \"src\",\n  \"compilerOptions\": {\n    \"deleteOutDir\": true,\n    \"plugins\": [\n      {\n        \"name\": \"@nestjs/swagger\",\n        \"options\": {\n          \"introspectComments\": true,\n          \"dtoFileNameSuffix\": [\".dto.ts\", \".query.ts\", \".response.ts\"]\n        }\n      }\n    ]\n  }\n}"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"nest/src/app.setup.ts"},"content":[{"type":"text","text":"import { INestApplication, ValidationPipe, VersioningType } from '@nestjs/common';\nimport { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';\n\n// Shared by main.ts and the export script, so the exported spec matches the real routes.\nexport function configureApp(app: INestApplication): void {\n  app.setGlobalPrefix('api');\n  app.enableVersioning({ type: VersioningType.URI, defaultVersion: '1' }); // -> /api/v1/orders\n  app.useGlobalPipes(new ValidationPipe({ whitelist: true, forbidNonWhitelisted: true, transform: true }));\n}\n\nexport function createOpenApiDocument(app: INestApplication) {\n  const config = new DocumentBuilder()\n    .setTitle('Pierogi API')\n    .setDescription(\"Orders for Halina's pierogi shop\")\n    .setVersion('1.0.0')\n    .setLicense('Proprietary', 'https://example.org/terms')\n    .addApiKey({ type: 'apiKey', in: 'header', name: 'x-api-key' }, 'kitchen-key')\n    .addServer('http://localhost:3000', 'local')\n    .build();\n\n  return SwaggerModule.createDocument(app, config, {\n    // Stable, readable operationIds -> nice method names in generated clients.\n    operationIdFactory: (controllerKey, methodKey) => `${controllerKey.replace(/Controller$/, '').toLowerCase()}_${methodKey}`,\n  });\n}"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"nest/src/main.ts"},"content":[{"type":"text","text":"import { ConfigService } from '@nestjs/config';\nimport { NestFactory } from '@nestjs/core';\nimport { SwaggerModule } from '@nestjs/swagger';\nimport helmet from 'helmet';\nimport { AppModule } from './app.module';\nimport { configureApp, createOpenApiDocument } from './app.setup';\nimport type { Env } from './config/env';\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule);\n  const config = app.get<ConfigService<Env, true>>(ConfigService);\n\n  app.use(helmet());\n  app.enableCors({ origin: config.get('CORS_ORIGINS', { infer: true }).split(','), credentials: true });\n  configureApp(app);\n  app.enableShutdownHooks();\n\n  if (config.get('NODE_ENV', { infer: true }) !== 'production') {\n    SwaggerModule.setup('docs', app, () => createOpenApiDocument(app), {\n      jsonDocumentUrl: 'docs/openapi.json',\n      swaggerOptions: { persistAuthorization: true, displayOperationId: true },\n    });\n  }\n\n  await app.listen(config.get('PORT', { infer: true }));\n}\n\nvoid bootstrap();"}]}]},{"type":"paragraph","content":[{"type":"text","text":"The key pieces:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The CLI plugin","marks":[{"type":"bold"}]},{"type":"text","text":" ("},{"type":"text","text":"plugins","marks":[{"type":"code"}]},{"type":"text","text":" in "},{"type":"text","text":"nest-cli.json","marks":[{"type":"code"}]},{"type":"text","text":") analyzes the code at compile time and adds "},{"type":"text","text":"@ApiProperty","marks":[{"type":"code"}]},{"type":"text","text":" for you: property types, optionality ("},{"type":"text","text":"?","marks":[{"type":"code"}]},{"type":"text","text":"), "},{"type":"text","text":"class-validator","marks":[{"type":"code"}]},{"type":"text","text":" constraints ("},{"type":"text","text":"@Length","marks":[{"type":"code"}]},{"type":"text","text":" → "},{"type":"text","text":"minLength/maxLength","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"@Matches","marks":[{"type":"code"}]},{"type":"text","text":" → "},{"type":"text","text":"pattern","marks":[{"type":"code"}]},{"type":"text","text":"), and with "},{"type":"text","text":"introspectComments","marks":[{"type":"code"}]},{"type":"text","text":" also descriptions and examples from JSDoc comments. By default it only processes "},{"type":"text","text":"*.dto.ts","marks":[{"type":"code"}]},{"type":"text","text":" and "},{"type":"text","text":"*.entity.ts","marks":[{"type":"code"}]},{"type":"text","text":" files – that is why we add "},{"type":"text","text":".query.ts","marks":[{"type":"code"}]},{"type":"text","text":" and "},{"type":"text","text":".response.ts","marks":[{"type":"code"}]},{"type":"text","text":"."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"configureApp()","marks":[{"type":"code"}]},{"type":"text","text":" keeps the prefix, versioning and validation in one place, used by "},{"type":"text","text":"main.ts","marks":[{"type":"code"}]},{"type":"text","text":" and by the export script. Without it the exported spec would have different paths than the running API."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"addApiKey(..., 'kitchen-key')","marks":[{"type":"code"}]},{"type":"text","text":" registers a security scheme. The name ("},{"type":"text","text":"kitchen-key","marks":[{"type":"code"}]},{"type":"text","text":") links it with the "},{"type":"text","text":"@ApiSecurity('kitchen-key')","marks":[{"type":"code"}]},{"type":"text","text":" decorator on endpoints."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"operationIdFactory","marks":[{"type":"code"}]},{"type":"text","text":" – the default ids look like "},{"type":"text","text":"OrdersController_place","marks":[{"type":"code"}]},{"type":"text","text":". Shorter "},{"type":"text","text":"orders_place","marks":[{"type":"code"}]},{"type":"text","text":" gives readable method names in generated clients."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"persistAuthorization","marks":[{"type":"code"}]},{"type":"text","text":" – Swagger UI keeps the entered key after a page refresh. We expose the docs only outside production (or behind authentication)."}]}]}]},{"type":"callout","attrs":{"variant":"warning","title":"The plugin only works when compiling with Nest CLI"},"content":[{"type":"paragraph","content":[{"type":"text","text":"The plugin is a TypeScript transformer hooked into "},{"type":"text","text":"nest build","marks":[{"type":"code"}]},{"type":"text","text":" / "},{"type":"text","text":"nest start","marks":[{"type":"code"}]},{"type":"text","text":". If you run the code another way (ts-jest, tsx, SWC without extra setup), the plugin metadata is never generated and the schemas come out empty. For SWC builds Nest provides "},{"type":"text","text":"PluginMetadataGenerator","marks":[{"type":"code"}]},{"type":"text","text":", which writes the metadata to a file."}]}]},{"type":"heading","attrs":{"level":3,"id":"step-2-input-and-output-dtos"},"content":[{"type":"text","text":"Step 2. Input and output DTOs"}]},{"type":"paragraph","content":[{"type":"text","text":"Swagger cannot see TypeScript interfaces at runtime, so responses are described with classes too. The domain "},{"type":"text","text":"Order","marks":[{"type":"code"}]},{"type":"text","text":" stays an interface – "},{"type":"text","text":"OrderResponse","marks":[{"type":"code"}]},{"type":"text","text":" has the same shape, so the controller can return it without mapping."}]},{"type":"codeGroup","attrs":{"title":"DTOs with documentation"},"content":[{"type":"codeBlock","attrs":{"language":"typescript","filename":"nest/src/orders/http/dto/create-order.dto.ts"},"content":[{"type":"text","text":"import { Type } from 'class-transformer';\nimport {\n  ArrayMaxSize,\n  ArrayMinSize,\n  IsIn,\n  IsInt,\n  IsOptional,\n  IsString,\n  Length,\n  Matches,\n  Max,\n  MaxLength,\n  Min,\n  ValidateNested,\n} from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { DISHES, type Dish } from '../../domain/order';\n\nexport class OrderItemDto {\n  @ApiProperty({ enum: DISHES, enumName: 'Dish' }) // named enum = one reusable schema\n  @IsIn(DISHES)\n  dish: Dish;\n\n  /** @example 20 */\n  @IsInt()\n  @Min(1)\n  @Max(100)\n  quantity: number;\n}\n\nexport class CreateOrderDto {\n  /** @example \"Zdzisław\" */\n  @IsString()\n  @Length(2, 80)\n  customerName: string;\n\n  /** Called when the order is ready. @example \"600 100 200\" */\n  @Matches(/^\\+?[0-9 ]{9,15}$/, { message: 'phone must be a valid phone number' })\n  phone: string;\n\n  @ValidateNested({ each: true })\n  @Type(() => OrderItemDto) // without it nested objects stay plain and are NOT validated\n  @ArrayMinSize(1)\n  @ArrayMaxSize(10)\n  items: OrderItemDto[];\n\n  /** Allergies, gate code, anything the kitchen should know. */\n  @IsOptional()\n  @IsString()\n  @MaxLength(500)\n  note?: string;\n}"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"nest/src/orders/http/dto/list-orders.query.ts"},"content":[{"type":"text","text":"import { Type } from 'class-transformer';\nimport { IsIn, IsInt, IsOptional, Max, Min } from 'class-validator';\nimport { ApiPropertyOptional } from '@nestjs/swagger';\nimport { ORDER_STATUSES, type OrderStatus } from '../../domain/order';\n\nexport class ListOrdersQuery {\n  @ApiPropertyOptional({ enum: ORDER_STATUSES, enumName: 'OrderStatus' })\n  @IsOptional()\n  @IsIn(ORDER_STATUSES)\n  status?: OrderStatus;\n\n  /** Page size. */\n  @IsOptional()\n  @Type(() => Number) // query params arrive as strings\n  @IsInt()\n  @Min(1)\n  @Max(100)\n  limit: number = 20;\n}"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"nest/src/orders/http/dto/update-status.dto.ts"},"content":[{"type":"text","text":"import { ApiProperty } from '@nestjs/swagger';\nimport { IsIn } from 'class-validator';\nimport { ORDER_STATUSES, type OrderStatus } from '../../domain/order';\n\nexport class UpdateStatusDto {\n  @ApiProperty({ enum: ORDER_STATUSES, enumName: 'OrderStatus' })\n  @IsIn(ORDER_STATUSES)\n  status: OrderStatus;\n}"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"nest/src/orders/http/dto/order.response.ts"},"content":[{"type":"text","text":"import { ApiProperty } from '@nestjs/swagger';\nimport { DISHES, type Dish, ORDER_STATUSES, type OrderStatus } from '../../domain/order';\n\n// Response shapes need classes too – Swagger cannot read TypeScript interfaces at runtime.\nexport class OrderItemResponse {\n  @ApiProperty({ enum: DISHES, enumName: 'Dish' })\n  dish: Dish;\n\n  /** @example 20 */\n  quantity: number;\n}\n\nexport class OrderResponse {\n  /** @example \"6b08c0da0e1dd661e68c6b93\" */\n  id: string;\n\n  /** @example \"Zdzisław\" */\n  customerName: string;\n\n  /** Called when the order is ready. @example \"600 100 200\" */\n  phone: string;\n\n  items: OrderItemResponse[];\n\n  note?: string;\n\n  @ApiProperty({ enum: ORDER_STATUSES, enumName: 'OrderStatus' })\n  status: OrderStatus;\n\n  createdAt: Date;\n}\n\nexport class OrderListResponse {\n  items: OrderResponse[];\n}\n\nexport class PageMeta {\n  /** @example 20 */\n  limit: number;\n}\n\nexport class OrderPageResponse {\n  data: OrderResponse[];\n  meta: PageMeta;\n}\n\nexport class ApiErrorResponse {\n  /** @example 422 */\n  statusCode: number;\n\n  /** Machine-readable error code. @example \"TOO_MANY_PIEROGI\" */\n  code?: string;\n\n  @ApiProperty({ oneOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }] })\n  message: string | string[];\n}"}]}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"enumName","marks":[{"type":"code"}]},{"type":"text","text":" turns a repeated list of values into one component ("},{"type":"text","text":"Dish","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"OrderStatus","marks":[{"type":"code"}]},{"type":"text","text":"). Client generators produce a single type instead of five copies of a union."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"/** ... @example ... */","marks":[{"type":"code"}]},{"type":"text","text":" comments","marks":[{"type":"bold"}]},{"type":"text","text":" end up in the spec thanks to "},{"type":"text","text":"introspectComments","marks":[{"type":"code"}]},{"type":"text","text":" – documentation lives next to the field it describes."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"ApiErrorResponse","marks":[{"type":"code"}]},{"type":"text","text":" describes Nest's error format ("},{"type":"text","text":"message","marks":[{"type":"code"}]},{"type":"text","text":" is either a string or an array of validation messages) and domain errors ("},{"type":"text","text":"code","marks":[{"type":"code"}]},{"type":"text","text":")."}]}]}]}]},"toc":[{"id":"part-1-nestjs-nestjs-swagger","text":"Part 1. NestJS: @nestjs/swagger","level":2,"locked":false},{"id":"step-1-installation-the-cli-plugin-and-document-configuration","text":"Step 1. Installation, the CLI plugin and document configuration","level":3,"locked":false},{"id":"step-2-input-and-output-dtos","text":"Step 2. Input and output DTOs","level":3,"locked":false},{"id":"step-3-the-controller-responses-security-and-versions","text":"Step 3. The controller: responses, security and versions","level":3,"locked":true},{"id":"step-4-exporting-the-spec-without-a-database","text":"Step 4. Exporting the spec without a database","level":3,"locked":true},{"id":"part-2-express-openapi-from-zod-schemas","text":"Part 2. Express: OpenAPI from Zod schemas","level":2,"locked":true},{"id":"step-5-the-path-registry-and-swagger-ui","text":"Step 5. The path registry and Swagger UI","level":3,"locked":true},{"id":"step-6-export-lint-and-change-control-in-ci","text":"Step 6. Export, lint and change control in CI","level":3,"locked":true},{"id":"part-3-a-typed-client-from-the-contract","text":"Part 3. A typed client from the contract","level":2,"locked":true},{"id":"step-7-openapi-typescript-and-openapi-fetch","text":"Step 7. openapi-typescript and openapi-fetch","level":3,"locked":true},{"id":"documentation-hygiene-a-checklist","text":"Documentation hygiene – a checklist","level":2,"locked":true},{"id":"common-mistakes","text":"Common mistakes","level":2,"locked":true},{"id":"check-yourself","text":"Check yourself","level":2,"locked":true},{"id":"what-s-next","text":"What's next","level":2,"locked":true}],"locked":true,"paywall":null,"previewRatio":0.3,"totalBlocks":61,"visibleBlocks":17,"resources":[{"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":"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"}],"challenges":[],"attachments":[],"hasCode":true,"repoUrl":null,"series":[],"prev":null,"next":null,"featured":false,"authorCard":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","headline":"Wzorce projektowe · Architektura · AI i LLM","community":false,"reputation":{"points":3900,"level":{"key":"mentor","label":"Mentor"}},"articles":68,"skills":[{"key":"typescript","title":"TypeScript","level":5,"levelLabel":"Authority","articles":63},{"key":"dotnet","title":".NET","level":5,"levelLabel":"Authority","articles":53},{"key":"python","title":"Python","level":5,"levelLabel":"Authority","articles":52},{"key":"java","title":"Java","level":5,"levelLabel":"Authority","articles":38}]}}