{"id":1686,"date":"2025-05-12T13:37:19","date_gmt":"2025-05-12T13:37:19","guid":{"rendered":"https:\/\/www.devcentrehouse.eu\/blogs\/?p=1686"},"modified":"2026-03-06T18:16:06","modified_gmt":"2026-03-06T18:16:06","slug":"nestjs-swagger-auto-generate-api-docs","status":"publish","type":"post","link":"https:\/\/www.devcentrehouse.eu\/blogs\/nestjs-swagger-auto-generate-api-docs\/","title":{"rendered":"NestJS + Swagger: Auto-Generate API Docs"},"content":{"rendered":"<!-- VideographyWP Plugin Message: Automatic video embedding prevented by plugin options. -->\n\n<p>In modern <a href=\"https:\/\/www.devcentrehouse.eu\/en\/services\/web-development\" data-internallinksmanager029f6b8e52c=\"4\" title=\"Web Development\">web development<\/a>, ensuring your APIs are well-documented is just as important as creating them. API documentation makes it easier for developers to understand how to interact with your service, and having up-to-date docs can save time during development and troubleshooting. <\/p>\n\n\n\n<p>Fortunately, with\u00a0<strong><a href=\"https:\/\/www.devcentrehouse.eu\/en\/technologies\/back-end\/nodejs\">NestJS<\/a><\/strong>\u00a0and\u00a0<strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Swagger_(software)\" target=\"_blank\" rel=\"noreferrer noopener\">Swagger<\/a><\/strong>, you can automate this process to ensure that your API documentation is always in sync with your codebase.<\/p>\n\n\n\n<p>In this post, we\u2019ll walk through how to&nbsp;<strong>auto-generate API documentation<\/strong>&nbsp;using&nbsp;<strong>NestJS<\/strong>&nbsp;and&nbsp;<strong>Swagger<\/strong>. By the end, you&#8217;ll be able to create clean, interactive API documentation that\u2019s automatically updated as your code evolves.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is Swagger?<\/h2>\n\n\n\n<p>Swagger is a framework for API documentation that provides a powerful set of tools to describe, consume, and visualize RESTful APIs. It is widely adopted in the industry due to its ability to automatically generate API docs, create interactive user interfaces, and help with API <a href=\"https:\/\/www.devcentrehouse.eu\/en\/services\/software-testing-qa\" data-internallinksmanager029f6b8e52c=\"11\" title=\"Software Testing QA\">testing<\/a>. Swagger\u2019s user-friendly UI allows developers to easily interact with an API and see the request\/response structure without needing to inspect the backend code directly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Benefits of Using Swagger with NestJS<\/h2>\n\n\n\n<p>Integrating Swagger with NestJS brings a range of benefits to developers and teams, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Auto-Generated Docs<\/strong>: Swagger auto-generates API documentation from your NestJS controllers and DTOs (Data Transfer Objects), keeping it up to date as you modify your code.<\/li>\n\n\n\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Interactive UI<\/strong>: Swagger provides an interactive interface where developers can make real API requests directly from the docs.<\/li>\n\n\n\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Validation<\/strong>: It helps with request validation, so you can ensure that the requests being made to your API are correctly formatted.<\/li>\n\n\n\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Easy Collaboration<\/strong>: Teams can collaboratively work on an API, thanks to the auto-generated and easily understandable documentation.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up Swagger in a NestJS Project<\/h2>\n\n\n\n<p>Integrating Swagger into your NestJS application is simple. You\u2019ll need to install the necessary dependencies and set up the configuration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Install Dependencies<\/h3>\n\n\n\n<p>Start by installing the&nbsp;<code>@nestjs\/swagger<\/code>&nbsp;package and&nbsp;<code>swagger-ui-express<\/code>&nbsp;for the Swagger UI.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"62\" src=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.04-1024x62.png\" alt=\"\" class=\"wp-image-1688\" srcset=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.04-1024x62.png 1024w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.04-300x18.png 300w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.04-768x47.png 768w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.04.png 1352w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure Swagger<\/h3>\n\n\n\n<p>Next, configure Swagger in the&nbsp;<code>main.ts<\/code>&nbsp;file of your NestJS application. Add the following code after initializing the NestJS app:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"479\" src=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.09-1024x479.png\" alt=\"\" class=\"wp-image-1689\" srcset=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.09-1024x479.png 1024w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.09-300x140.png 300w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.09-768x360.png 768w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.09.png 1354w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This will configure Swagger and make the documentation available at the&nbsp;<code>\/api<\/code>&nbsp;endpoint of your application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Add Swagger Annotations to Your Controllers and DTOs<\/h3>\n\n\n\n<p>To make your API documentation more informative, you can use&nbsp;<strong>Swagger decorators<\/strong>&nbsp;to describe the endpoints, parameters, request bodies, and responses.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example: A Simple Controller<\/h4>\n\n\n\n<p>Let\u2019s say we have a simple&nbsp;<code>CatsController<\/code>&nbsp;that handles CRUD operations for &#8220;cats&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"715\" src=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.15-1024x715.png\" alt=\"\" class=\"wp-image-1690\" srcset=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.15-1024x715.png 1024w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.15-300x209.png 300w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.15-768x536.png 768w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.15.png 1384w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Example: DTO (Data Transfer Object)<\/h4>\n\n\n\n<p>For request bodies, you can use&nbsp;<strong>DTOs<\/strong>&nbsp;to define the structure of your input data. In this case, we\u2019re creating a&nbsp;<code>CreateCatDto<\/code>&nbsp;class to define the data structure for creating a new cat:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"251\" src=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.21-1024x251.png\" alt=\"\" class=\"wp-image-1691\" srcset=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.21-1024x251.png 1024w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.21-300x74.png 300w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.21-768x188.png 768w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.21.png 1354w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here, the&nbsp;<code>@ApiProperty()<\/code>&nbsp;decorator is used to describe the properties of the&nbsp;<code>CreateCatDto<\/code>. These annotations will be reflected in the auto-generated Swagger docs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Running the Application<\/h3>\n\n\n\n<p>Now, when you run your NestJS app using:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">npm run start<\/pre>\n\n\n\n<p>You can navigate to&nbsp;<code>http:\/\/localhost:3000\/api<\/code>&nbsp;to see the interactive Swagger documentation for your API. You\u2019ll be able to view all your routes, parameters, and response models in a neatly organised, easy-to-navigate UI.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Customizing Your Swagger Documentation<\/h2>\n\n\n\n<p>You can further customise the appearance and behaviour of your Swagger documentation. For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Customizing Models<\/strong>: Use the&nbsp;<code>@ApiResponse()<\/code>&nbsp;decorator to describe the structure of the responses.<\/li>\n\n\n\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Grouping Endpoints<\/strong>: You can group endpoints by tags using&nbsp;<code>@ApiTags()<\/code>, which is particularly useful for large APIs.<\/li>\n\n\n\n<li style=\"padding-top:var(--wp--preset--spacing--xx-small);padding-bottom:var(--wp--preset--spacing--xx-small)\"><strong>Authentication<\/strong>: Swagger can also be configured to document API authentication methods like OAuth2 or JWT tokens.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Example of Grouping Endpoints with Tags<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"263\" src=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.26-1024x263.png\" alt=\"\" class=\"wp-image-1692\" srcset=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.26-1024x263.png 1024w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.26-300x77.png 300w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.26-768x197.png 768w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-12-at-14.33.26.png 1340w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/node-dch-3-1024x576.jpg\" alt=\"\" class=\"wp-image-1687\" srcset=\"https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/node-dch-3-1024x576.jpg 1024w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/node-dch-3-300x169.jpg 300w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/node-dch-3-768x432.jpg 768w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/node-dch-3-1536x864.jpg 1536w, https:\/\/www.devcentrehouse.eu\/blogs\/wp-content\/uploads\/2025\/05\/node-dch-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Integrating&nbsp;<strong>Swagger<\/strong>&nbsp;with&nbsp;<strong>NestJS<\/strong>&nbsp;is a straightforward process that provides significant benefits to any API project. With auto-generated, interactive API documentation, your team can be more productive and confident about how to use the API.<\/p>\n\n\n\n<p>Swagger doesn\u2019t just improve documentation; it enhances testing, validation, and collaboration. And by leveraging\u00a0<a href=\"https:\/\/www.devcentrehouse.eu\/blogs\/creating-custom-decorators-in-nestjs\/\">NestJS\u2019s powerful decorators<\/a> and Swagger integration, you can automate the documentation process and ensure it stays up to date with minimal effort.<\/p>\n\n\n\n<p>Start adding Swagger to your\u00a0<strong><a href=\"https:\/\/www.devcentrehouse.eu\/blogs\/using-environment-variables-in-nestjs-projects\/\">NestJS projects<\/a><\/strong>\u00a0today to improve your API development workflow and enhance collaboration with your team.<\/p>\n\n\n\n<p>For more insights into powerful backend technologies like NestJS, visit&nbsp;<a href=\"https:\/\/www.devcentrehouse.eu\/en\/technologies\/back-end\/nodejs\">Dev Centre HouseI reland&#8217;s Node.js expertise page<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<p><strong>Question:<\/strong> What is Swagger and how does it help in NestJS development?<br><strong>Answer:<\/strong> Swagger is a powerful open-source tool that generates interactive API documentation. In NestJS, it simplifies the process of documenting REST APIs by auto-generating docs from code annotations.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Why should I integrate Swagger with my NestJS project?<br><strong>Answer:<\/strong> Swagger improves developer experience, helps front-end teams understand endpoints, speeds up testing, and ensures consistent API usage\u2014key benefits embraced by Dev Centre House Ireland when delivering scalable APIs.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> How do I install Swagger in a NestJS project?<br><strong>Answer:<\/strong> You can install Swagger using <code>@nestjs\/swagger<\/code> and <code>swagger-ui-express<\/code> via npm. Once installed, you can integrate it into your main file with minimal setup.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> What decorators are used to generate Swagger docs in NestJS?<br><strong>Answer:<\/strong> Common decorators include <code>@ApiTags<\/code>, <code>@ApiOperation<\/code>, <code>@ApiResponse<\/code>, <code>@ApiProperty<\/code>, and <code>@ApiBearerAuth<\/code>. These help define the structure and behavior of your API endpoints.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Can Swagger generate models from DTOs automatically in NestJS?<br><strong>Answer:<\/strong> Yes, Swagger can use class-based DTOs with <code>@ApiProperty<\/code> annotations to automatically generate detailed models in the documentation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Is it possible to customize the Swagger UI in NestJS?<br><strong>Answer:<\/strong> Absolutely. You can customize the title, description, version, and other settings using <code>SwaggerModule.createDocument()<\/code> and <code>setup()<\/code> options.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> How can I document route authentication in Swagger?<br><strong>Answer:<\/strong> Use <code>@ApiBearerAuth()<\/code> along with NestJS guards to indicate that an endpoint requires authentication. This appears clearly in the Swagger UI.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> What are the best practices for using Swagger with NestJS?<br><strong>Answer:<\/strong> Best practices include consistent use of decorators, organizing endpoints with <code>@ApiTags<\/code>, documenting all request and response types, and separating public\/private routes in Swagger setup.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Can I generate OpenAPI-compliant docs using Swagger in NestJS?<br><strong>Answer:<\/strong> Yes, <code>@nestjs\/swagger<\/code> is OpenAPI-compliant, meaning the generated docs can be used with any tools that follow the OpenAPI standard.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> How does Dev Centre House Ireland use Swagger in client projects?<br><strong>Answer:<\/strong> <a href=\"https:\/\/www.devcentrehouse.eu\/\">Dev Centre House Ireland<\/a> leverages Swagger to ensure transparency and efficiency between back-end and front-end teams by providing auto-generated, always-up-to-date documentation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Can Swagger handle nested objects and arrays in DTOs?<br><strong>Answer:<\/strong> Yes, Swagger supports complex types, including nested objects and arrays, as long as they are properly annotated with <code>@ApiProperty<\/code>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Is it possible to generate Swagger documentation only for selected modules?<br><strong>Answer:<\/strong> Yes, you can use the <code>include<\/code> option in <code>SwaggerModule.createDocument()<\/code> to include only specific modules, making the docs more focused.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> How do I hide routes from Swagger documentation in NestJS?<br><strong>Answer:<\/strong> Use the <code>@ApiHideProperty()<\/code> decorator on specific properties or avoid using Swagger decorators entirely on the route to exclude it from the docs.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> What version of NestJS and Swagger should I use for best compatibility?<br><strong>Answer:<\/strong> It&#8217;s recommended to use compatible versions of <code>@nestjs\/swagger<\/code> and NestJS core. Dev Centre House Ireland stays up-to-date with the latest stable versions to ensure smooth integration.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Question:<\/strong> Can I export or download the Swagger API schema from NestJS?<br><strong>Answer:<\/strong> Yes, you can export the OpenAPI JSON schema using <code>SwaggerModule.createDocument()<\/code> and save it for external use or integrations.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<!\u2014 Calendly inline widget begin -->\n<div class=\"calendly-inline-widget\" data-url=\"https:\/\/calendly.com\/devcentrehouse\/booking\" style=\"min-width:320px;height:700px;\"><\/div>\n<script type=\"text\/javascript\" src=\"https:\/\/assets.calendly.com\/assets\/external\/widget.js\" async><\/script>\n<!\u2014 Calendly inline widget end -->\n","protected":false},"excerpt":{"rendered":"<p>In modern web development, ensuring your APIs are well-documented is just as important as creating them. API documentation makes it easier for developers to understand how to interact with your service, and having up-to-date docs can save time during development and troubleshooting. Fortunately, with\u00a0NestJS\u00a0and\u00a0Swagger, you can automate this process to ensure that your API documentation [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1693,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[155,468,428,84,215,335,467],"class_list":["post-1686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-api","tag-api-documentation","tag-backend-development","tag-dev-centre-house-ireland","tag-development","tag-nestjs","tag-swagger"],"_links":{"self":[{"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/posts\/1686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/comments?post=1686"}],"version-history":[{"count":3,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/posts\/1686\/revisions"}],"predecessor-version":[{"id":7604,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/posts\/1686\/revisions\/7604"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/media\/1693"}],"wp:attachment":[{"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/media?parent=1686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/categories?post=1686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devcentrehouse.eu\/blogs\/wp-json\/wp\/v2\/tags?post=1686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}