docs: add comprehensive API documentation with OpenAPI spec#148
Open
HuiNeng6 wants to merge 1 commit intoANAVHEOBA:mainfrom
Open
docs: add comprehensive API documentation with OpenAPI spec#148HuiNeng6 wants to merge 1 commit intoANAVHEOBA:mainfrom
HuiNeng6 wants to merge 1 commit intoANAVHEOBA:mainfrom
Conversation
Implements ANAVHEOBA#62 - Create API Documentation with OpenAPI Features: - OpenAPI 3.1 specification for all API endpoints - Postman collection for easy API testing - Contract ABI documentation - Code examples (TypeScript, cURL) - Interactive API documentation Documentation includes: - Pool operations (info, denominations) - Deposit/Withdraw flows - ZK proof generation - Merkle tree operations - Relayer services - Event queries - Health checks
Author
|
📢 Follow-up — Ready for Review (24+ Hours) This API Documentation PR is ready for review. Implementation Complete: Looking forward to your review! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements #62 - Create API Documentation with OpenAPI
This PR adds comprehensive API documentation for PrivacyLayer, enabling developers to easily integrate with the protocol.
Documentation Included
OpenAPI Specification (openapi.yaml)
Postman Collection (postman_collection.json)
Contract ABI Documentation (CONTRACT_ABI.md)
Code Examples
API Endpoints Documented
Pool Operations
Deposit Operations
Withdrawal Operations
Proof Operations
Relayer Services
Event Queries
Health
Files Added
Usage
Using with Swagger UI
Using with Postman
Using Code Examples
cd docs/api/examples/typescript npm install ts-node deposit.tsThis documentation provides everything developers need to integrate with PrivacyLayer, from API exploration to production implementation.