bump openapi.yaml to match openapi.yaml in the logos-storage-nim docker image

This commit is contained in:
E M 2026-03-30 13:13:49 +11:00
parent e8c74df61f
commit 019da609e4
No known key found for this signature in database
2 changed files with 6 additions and 4 deletions

View File

@ -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/<listen-ip>/tcp/<listen-port>, 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:

View File

@ -10,7 +10,7 @@ namespace CodexPlugin
public class ApiChecker
{
// <INSERT-OPENAPI-YAML-HASH>
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";