From 019da609e4a3354e5ee59beafd65adbeda79a065 Mon Sep 17 00:00:00 2001 From: E M <5089238+emizzle@users.noreply.github.com> Date: Mon, 30 Mar 2026 13:13:49 +1100 Subject: [PATCH] bump openapi.yaml to match openapi.yaml in the logos-storage-nim docker image --- ProjectPlugins/CodexClient/openapi.yaml | 8 +++++--- ProjectPlugins/CodexPlugin/ApiChecker.cs | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ProjectPlugins/CodexClient/openapi.yaml b/ProjectPlugins/CodexClient/openapi.yaml index a474b547..7c8f814e 100644 --- a/ProjectPlugins/CodexClient/openapi.yaml +++ b/ProjectPlugins/CodexClient/openapi.yaml @@ -171,7 +171,7 @@ components: type: string nullable: true description: "The original name of the uploaded content (optional)" - example: codex.png + example: storage.png mimetype: type: string nullable: true @@ -240,7 +240,9 @@ paths: description: | If supplied, it will be used to dial the peer. The address has to target the listening address of the peer, - which is specified with the `--listen-addrs` CLI flag. + which is /ip4//tcp/, where `listen-port` is + specified with the `--listen-port` CLI flag and `listen-ip` with the + `--listen-ip` CLI flag. responses: "200": @@ -287,7 +289,7 @@ paths: description: The content disposition used to send the filename. schema: type: string - example: 'attachment; filename="codex.png"' + example: 'attachment; filename="storage.png"' requestBody: content: application/octet-stream: diff --git a/ProjectPlugins/CodexPlugin/ApiChecker.cs b/ProjectPlugins/CodexPlugin/ApiChecker.cs index 9ccdfa02..c0356ef6 100644 --- a/ProjectPlugins/CodexPlugin/ApiChecker.cs +++ b/ProjectPlugins/CodexPlugin/ApiChecker.cs @@ -10,7 +10,7 @@ namespace CodexPlugin public class ApiChecker { // - private const string OpenApiYamlHash = "58-CA-45-23-0C-BD-26-65-BA-BB-AF-9F-09-04-9D-98-73-71-D1-3A-F2-B9-A6-A6-3B-73-38-CF-DA-CA-A2-3C"; + private const string OpenApiYamlHash = "47-B8-22-44-3B-51-EB-82-CC-C1-DD-56-F0-7E-EC-7F-CD-E0-8F-5E-F6-3B-40-E0-02-E6-71-DB-B8-03-65-18"; private const string OpenApiFilePath = "/logosstorage/openapi.yaml"; private const string DisableEnvironmentVariable = "CODEXPLUGIN_DISABLE_APICHECK";