Git Product home page Git Product logo

Comments (3)

shanejonas avatar shanejonas commented on July 26, 2024

@vetcher if you are using golang there is this library to generate the openrpc document from your code: https://github.com/etclabscore/go-openrpc-reflect

Also the advanced section of the webinar is all about go-openrpc-reflect and generating documents from code: https://open-rpc.org/webinar/

as for client generation, the language its written in is nodejs so you definitely need nodejs, dont think there will ever be a way to get away from that, just as swagger codegen requires Java. That being said, we do have plans to move each language to its own repo to be able to be composed within this repo, and be able to provide external templates like you mentioned.

Golang client support and flutter would definitely be good additions to the current generator.

As for binaries, I've played around with https://github.com/nexe/nexe but it produces quite a big binary since it has to include all of nodejs.

from generator.

BelfordZ avatar BelfordZ commented on July 26, 2024

@vetcher Work has been started to get golang clients done. We have the generated typings already, we just need to chose a client and get the template together. If there is someone wanting to put up funding to get that done, it will happen a lot faster :).

Passing in templates is an interesting pattern and something to consider, thank you.

from generator.

stale avatar stale commented on July 26, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from generator.

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.