Comments (5)
https://github.com/algorand/indexer/blob/develop/api/indexer.oas3.yml
^ the OpenAPI config file.
I haven't had a chance to see if algonaut does any of that codegen stuff, so feel free to close if it does.
from algonaut.
I was told that the initial indexer API was generated automatically, but I don't know how. To my knowledge, there's nothing in our code base to do this.
Noting that the generated code had some issues, like unnecessary use of Box
, non ideal use of Option
(e.g. when just a Vec
makes more sense), lack of types (conversion to Address
), etc. It might be possible to customize it.
from algonaut.
@manuelmauro maybe you want to add something - just saw your OpenApi clients linked in #10. It might be worth going through e.g. https://openapi-generator.tech/docs/customization/ to see if it's possible to customize it to match our current more idiomatic API.
from algonaut.
Yes, I can confirm that I built the current API looking at Algorand's developer documentation and the generated OAS. But I tried to improve the ergonomics addressing issues like those @ivanschuetz highlighted in the previous comment.
from algonaut.
Will be solved as part of #164 and #165
from algonaut.
Related Issues (20)
- `Transaction::note` is a base64 string, but should probably be decoded. HOT 1
- ABI support
- Atomic Transaction Composer support
- Consider adding checked arithmetic operations to `MicroAlgos`
- Populate `PendingTransaction.txn`
- Newtypes for app id, asset id, tx id HOT 5
- OpenAPI basic functionality
- OpenAPI types customization
- Add traits for a leaner transaction creation API HOT 4
- Support request retry?
- Add GetApplicationAddress from Algorand SDK HOT 2
- Automated tests stopped working
- Review crate structure HOT 1
- Example `key_reg` stopped working
- Add support for Boxes HOT 11
- Build error when importing `algonaut_transaction` HOT 2
- Implement Logic Crate HOT 2
- querying by tx id fails HOT 1
- Implement Clone on Algod
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algonaut.