From ddd4f53e63f0fd617192ce9aa1dc18dff65b619c Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Fri, 30 May 2025 16:26:39 +1200 Subject: [PATCH 1/2] chore: Remove more line noise --- rpcapi.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rpcapi.yaml b/rpcapi.yaml index 8bd79141b61..9bf507c5057 100644 --- a/rpcapi.yaml +++ b/rpcapi.yaml @@ -379,13 +379,13 @@ components: items: type: object properties: - name: + name: type: string - id: + id: type: integer - stream: + stream: type: string - submitted: + submitted: type: string format: date-time @@ -397,7 +397,7 @@ components: Draft: type: object - properties: + properties: id: type: integer name: @@ -452,7 +452,7 @@ components: stream: type: string - securitySchemes: + securitySchemes: ApiKeyAuth: type: apiKey in: header From 70aa33f6e00b06734aab05f3ed3054c47d18005b Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Fri, 30 May 2025 16:41:35 +1200 Subject: [PATCH 2/2] fix: Fix OpenAPI spec errors --- rpcapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcapi.yaml b/rpcapi.yaml index 9bf507c5057..0e3ffbafcf1 100644 --- a/rpcapi.yaml +++ b/rpcapi.yaml @@ -226,7 +226,7 @@ paths: schema: type: object additionalProperties: - $ref:'#/components/schemas/Draft' + $ref: '#/components/schemas/Draft' /doc/rfc/authors/: post: @@ -444,7 +444,7 @@ components: type: object properties: original_stream: - type: list + type: array items: properties: rfc_number: