From 0828db05fa6934e1e9282363833eed6780dd994c Mon Sep 17 00:00:00 2001 From: SoXX The Fennec Date: Tue, 15 Jul 2025 19:50:17 +0000 Subject: [PATCH] fix: duration is a number not a int --- api/components/schemas/post.yaml | 2 +- openapi.dereferenced.yaml | 30 +++++++++++++++--------------- openapi.yaml | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/api/components/schemas/post.yaml b/api/components/schemas/post.yaml index 4f04a1a..0c78ef8 100644 --- a/api/components/schemas/post.yaml +++ b/api/components/schemas/post.yaml @@ -247,5 +247,5 @@ properties: has_notes: type: boolean duration: - type: integer + type: number nullable: true diff --git a/openapi.dereferenced.yaml b/openapi.dereferenced.yaml index b1f32fe..31bedd6 100644 --- a/openapi.dereferenced.yaml +++ b/openapi.dereferenced.yaml @@ -2736,7 +2736,7 @@ components: has_notes: type: boolean duration: - type: integer + type: number nullable: true PostApproval: type: object @@ -9708,7 +9708,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -10138,7 +10138,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -16031,7 +16031,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true /posts.json: get: @@ -16447,7 +16447,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '/posts/{id}.json': get: @@ -16841,7 +16841,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '404': description: Not Found @@ -17321,7 +17321,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -17767,7 +17767,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -18223,7 +18223,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -18824,7 +18824,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -19325,7 +19325,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '404': description: Not Found @@ -21765,7 +21765,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -30457,7 +30457,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -30903,7 +30903,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied @@ -31425,7 +31425,7 @@ paths: has_notes: type: boolean duration: - type: integer + type: number nullable: true '403': description: Access Denied diff --git a/openapi.yaml b/openapi.yaml index 272d9d1..0655bff 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1858,7 +1858,7 @@ components: has_notes: type: boolean duration: - type: integer + type: number nullable: true PostApproval: type: object