openai-openapi icon indicating copy to clipboard operation
openai-openapi copied to clipboard

Add AsyncAPI spec for Realtime API

Open HavenDV opened this issue 1 year ago • 3 comments

Specification: https://www.asyncapi.com/en Example: https://github.com/AssemblyAI/assemblyai-api-spec/blob/main/asyncapi.yml

HavenDV avatar Oct 07 '24 22:10 HavenDV

added in #356

StephenHodgson avatar Oct 17 '24 20:10 StephenHodgson

Duplicate of #341

StephenHodgson avatar Oct 17 '24 20:10 StephenHodgson

Although schemas have been added to OpenAPI spec and that's great, I think it still makes sense because the OpenAPI spec doesn't describe Realtime interactions, while the AsyncAPI spec is aimed at this and fully describes each step, and client code can be generated and maintained automatically as complexity increases. This is supported by some generators already (e.g. fern - https://buildwithfern.com/), I also plan to support it in my generator - https://github.com/tryAGI/AutoSDK This may also be a motivator for other generators

HavenDV avatar Oct 17 '24 23:10 HavenDV