From 46432c057376beea92ed52ae59ea62393340b592 Mon Sep 17 00:00:00 2001 From: Cyril Galibern Date: Thu, 3 Apr 2025 10:34:30 +0200 Subject: [PATCH 1/3] Update 'merged' field type in GitHub API spec from bool to boolean Changed the field type of 'merged' from 'bool' to 'boolean' to ensure consistency with OpenAPI specification. This aligns the schema with standard data type conventions. --- src/swagger/github.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swagger/github.yaml b/src/swagger/github.yaml index 707038a..e7d97dc 100644 --- a/src/swagger/github.yaml +++ b/src/swagger/github.yaml @@ -190,7 +190,7 @@ components: merged_at: type: string merged: - type: bool + type: boolean user: type: object required: From e12691c1b9227530a16a6cddabeaa0fabca8b210 Mon Sep 17 00:00:00 2001 From: Cyril Galibern Date: Thu, 3 Apr 2025 10:35:01 +0200 Subject: [PATCH 2/3] Make GitHub API timestamps nullable in the schema Added nullable property to 'closed_at', 'updated_at', and 'merged_at' fields in the GitHub API YAML definition. This ensures compatibility with scenarios where these fields might not have a value. --- src/swagger/github.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/swagger/github.yaml b/src/swagger/github.yaml index e7d97dc..98b6d60 100644 --- a/src/swagger/github.yaml +++ b/src/swagger/github.yaml @@ -185,10 +185,13 @@ components: type: string closed_at: type: string + nullable: true updated_at: type: string + nullable: true merged_at: type: string + nullable: true merged: type: boolean user: From 531d07ee013d52246a30ac6533f3b2dc1b0c8c77 Mon Sep 17 00:00:00 2001 From: Cyril Galibern Date: Thu, 3 Apr 2025 10:35:48 +0200 Subject: [PATCH 3/3] Update GitHub webhook version to 0.2.1 Incremented the OpenAPI specification version in the GitHub webhook receiver descriptor. This update likely includes minor improvements or bug fixes while maintaining backward compatibility. --- src/swagger/github.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swagger/github.yaml b/src/swagger/github.yaml index 98b6d60..788baf2 100644 --- a/src/swagger/github.yaml +++ b/src/swagger/github.yaml @@ -1,7 +1,7 @@ openapi: "3.0.0" info: title: github webhook receiver - version: 0.2.0 + version: 0.2.1 paths: /pullrequest: post: