Class OpenApiUploadStore
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
In-memory store for OpenAPI / Swagger documents uploaded via the UI. The REST plugin reads from this store during discovery and merges the parsed services with whatever it finds via embedded discovery or URL fetching.
The store keeps raw document text only — parsing happens in the REST plugin because Kuestenlogik.Bowire core can't take a dependency on the OpenAPI reader package without dragging it into every host that uses Bowire.
public static class OpenApiUploadStore
- Inheritance
-
OpenApiUploadStore
- Inherited Members
Properties
HasUploads
True when at least one document has been uploaded.
public static bool HasUploads { get; }
Property Value
Methods
Add(string, string?)
Adds a raw document and returns the assigned id.
public static string Add(string content, string? sourceName = null)
Parameters
Returns
Clear()
Removes all uploaded documents.
public static void Clear()
GetAll()
Returns a snapshot of all currently stored documents.
public static IReadOnlyList<UploadedDoc> GetAll()