mofalabs / aptos

A cross-platform Aptos SDK for Mobile, Web and Desktop
MIT License
10 stars 8 forks source link

Use OpenApi generator #1

Open mpoplavkov opened 1 year ago

mpoplavkov commented 1 year ago

Hello, amazing repo! As a suggestion, you can consider using https://github.com/OpenAPITools/openapi-generator to generate a client for interaction with Aptos API. You can export the spec from {aptos_node_url}/v1/spec#/. This might save you some time and reduce the amount of boilerplate code.

PS: I'm building a project in Aptos ecosystem with a small team. We're using dart & flutter. We would love to talk to you about a potential collaboration. Let me know if you're interested, let's have a call :) You can find my email in the profile

movebuilder commented 1 year ago

@mpoplavkov Thanks for your suggestion, I have sent you an email, please check it.

banool commented 1 year ago

I've got a project that does this already: https://github.com/banool/aptos_api_dart. We could consider using that here, though it'd be worth first discussing how we can unify on a single SDK package. Discussion here: https://github.com/0xmove/aptos/issues/6.