The Meta type used by your Api metadata definition (SimpleMeta is sufficient)
Your Api metadata definition
Optional additionalSwag: anyextend the generated api spec however you want, so that the output of this function is
a valid spec. Should probably at least provide {info: {title: "Your Title", version: "1.0.0"}}
Optional endpointMapping: ((currentSwaggerJson: Record<string, unknown>, currentMeta: Meta) => Record<string, unknown>)method to postprocess the OpenAPI object representing a specific endopint given its current metadata, useful for reacting to custom Metadata used in your project
Generated using TypeDoc
Given an Api metadata definition, this generates anOpenApi specification JSON blob, which then can be used by a variety of tooling. For estuary-rpc projects, getting documentation through one of these projects is quite straightforward
Returns
A
Example