diff --git a/docs/api.yml b/docs/api.yml
index 31e18a58e1e24faee524a5b39e7bc0a14986ed47..b9b3e80cd63fb8cec6c225347cf99ffa2786f1c5 100644
--- a/docs/api.yml
+++ b/docs/api.yml
@@ -77,12 +77,12 @@ paths:
             application/json:
               schema:
                 $ref: '#/components/schemas/SuccessResponse'
-          default:
-            description: error response
-            content:
-              application/json:
-                schema:
-                  $ref: '#/components/schemas/ErrorResponse'
+        default:
+          description: error response
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/ErrorResponse'
   /device/{deviceID}/sensors:
     get:
       tags:
@@ -190,12 +190,12 @@ paths:
             application/json:
               schema:
                 $ref: '#/components/schemas/SuccessResponse'
-          default:
-            description: error response
-            content:
-              application/json:
-                schema:
-                  $ref: '#/components/schemas/ErrorResponse'
+        default:
+          description: error response
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/ErrorResponse'
   /sensor/{sensorID}/measurements:
     get:
       tags:
@@ -429,12 +429,12 @@ paths:
             application/json:
               schema:
                 $ref: '#/components/schemas/SuccessResponse'
-          default:
-            description: error response
-            content:
-              application/json:
-                schema:
-                  $ref: '#/components/schemas/ErrorResponse'
+        default:
+          description: error response
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/ErrorResponse'
   /measurement:
     post:
       tags: