Skip to content

Showcase project submission #337

Description

@alexpanagides

I'm learning Odin and wanted to build some tools for Pocketsmith (personal finance). Pocketsmith had an OpenAPI spec. I couldn't find any OpenAPI code generators for Odin (https://openapi-generator.tech/docs/generators). I had Fable (AI) generate a Go program that takes an OpenAPI spec and generates an Odin library. It worked.

The reason for a Go program is because it has a good OpenAPI parser (and it's the language I'm most familiar with - 10+ years).

As the readme notes, the project is dependent on libcurl for the HTTP transport - but someone could swap that out for a native Odin HTTP implementation, for a no-dependency solution (other than Go).

I thought that this might be useful to the community.

Here's the repo: https://github.com/alexpanagides/odin-api-gen

Metadata

Metadata

Assignees

No one assigned

    Labels

    showcaseSubmission for https://odin-lang.org/games/ or https://odin-lang.org/showcase/

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions