Expand description
API discovery types (response shape, pagination, field inference) API discovery domain types.
Provides generic types for reverse-engineering undocumented REST APIs.
An API prober builds a [DiscoveryReport] by analysing JSON responses
from target endpoints; the report can then be fed to
OpenApiGenerator to
produce an openapiv3::OpenAPI specification.
These types are domain-pure — no I/O, no network calls.
Structs§
- Discovery
Report - Collection of
ResponseShapes keyed by endpoint name. - Pagination
Style - Detected pagination envelope style from API response inspection.
- Response
Shape - Shape of a single discovered endpoint’s response.
Enums§
- Json
Type - Recursive enum representing an inferred JSON Schema type from a
serde_json::Value.