Namespace Kuestenlogik.Bowire.Protocol.Rest.OpenApi2

Classes

DiscoveredApi

Output of a successful discovery — keeps the parsed document around so the REST plugin can re-walk it during invocation without re-fetching.

OpenApi2Adapter

IBowireOpenApiAdapter implementation backed by Microsoft.OpenApi 2.x — the .NET 10 ecosystem default (ASP.NET Core 10's AddOpenApi() pins this line). Embedded hosts that mix Bowire's REST plugin with their own ASP.NET OpenAPI pipeline should reference this package instead of Kuestenlogik.Bowire.Protocol.Rest.OpenApi3 to keep a single Microsoft.OpenApi.dll version in the process.

OpenApiDiscovery

Discovers REST endpoints by fetching an OpenAPI 3 document from the user's URL and converting it into Bowire's service/method/field model so the existing form-based UI can render REST calls without any REST-specific knowledge.

Built against Microsoft.OpenApi v2 (preview), which supports both OpenAPI 3.0 and 3.1. The 3.1 type system uses a flags enum (JsonSchemaType) instead of strings, and example/default values are JsonNode instances rather than the v1 IOpenApiAny wrapper.

OpenApiRecordingBuilder

Phase 3d: turns a parsed OpenAPI document into a synthetic BowireRecording so the standard mock pipeline (matcher + replayer + chaos + stateful mode) can replay the API without any captured traffic. Each operation becomes one step whose response body is generated by OpenApiSampleGenerator.

OpenApiSampleGenerator

Phase 3d: generates a plausible JSON sample from an OpenAPI response schema so the mock can replay operations that were never recorded — the mock becomes a schema-first stub server without any hand-written responses.