Skip to main content

Module discovery

Module discovery 

Source
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§

DiscoveryReport
Collection of ResponseShapes keyed by endpoint name.
PaginationStyle
Detected pagination envelope style from API response inspection.
ResponseShape
Shape of a single discovered endpoint’s response.

Enums§

JsonType
Recursive enum representing an inferred JSON Schema type from a serde_json::Value.