Coder Social home page Coder Social logo

OpenAPI & codegen about coinnect HOT 7 CLOSED

crackcomm avatar crackcomm commented on May 30, 2024
OpenAPI & codegen

from coinnect.

Comments (7)

hugues31 avatar hugues31 commented on May 30, 2024

Didn't know OpenAPI since now, sounds very interesting but is a huge rework of the lib :/ so if anyone is interested in following this path, I encourage them, but I personally don't have the time to invest in this potential improvement

from coinnect.

crackcomm avatar crackcomm commented on May 30, 2024

There seems to already exist a swagger-codegen template for rust.

from coinnect.

tbourvon avatar tbourvon commented on May 30, 2024

This looks to me like it should be the top priority issue. Coinnect deals with (crypto)currencies, and as such reliability, stability and easiness of maintenance are very important. I'm probably going to start investigating this and maybe work on this first (before working on adding exchanges or futures).

from coinnect.

tbourvon avatar tbourvon commented on May 30, 2024

As you can probably see, I've pushed a PR with a first sketch of a GDAX OpenAPI specification, along with the instructions to generate the Rust API from it. Please don't hesitate to comment on how you feel about this.

from coinnect.

crackcomm avatar crackcomm commented on May 30, 2024

I certainly love that :) thank you

from coinnect.

crackcomm avatar crackcomm commented on May 30, 2024

I would suggest keeping those auto-generated clients in a crate, on this type safe clients we can then implement more general traits, general for all exchanges.

I think we would need to split the traits as much as possible, eq. Ticker trait etc.

from coinnect.

crackcomm avatar crackcomm commented on May 30, 2024

I can recommend using editor.swagger.io for editing the spec, it catches all errors.

from coinnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.