Skip to content

Deno typescript OpenAPI generators #3174

@anxiousmodernman

Description

@anxiousmodernman
Description

Deno is a new TypeScript runtime built with V8 and Rust. Generating clients and servers from OpenAPI specifications would be a great feature.

The existing TypeScript fetch implementation should work for generating clients, with some modifications. I have done some research to this effect with the spec for Kubernetes. Some of the changes required to get the Deno code to build.

Deno strives for browser compatibility, so the fetch implementation is built in. But there are other networking capabilities being developed for Deno, such as dialTLS builtins. The fetch api is probably where authors of OpenAPI generators should focus first, however, as that API is well defined and is unlikely to change in big ways, I imagine.

Generating server-side Deno is something that is feasible, but that API is more likely to change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions