Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[API] Add Poem as an alternative backend (aptos-labs#1906)
* [API] Add crate to help types self-describe for the OpenAPI spec generator * [API] Add boilerplate for using Poem as an alternative backend * [API] Add support for index with Poem backend * [API] Add TLS support to Poem backend * [API] Add CORS for Poem API backend * [API] Add support for logging middleware to the Poem backend * [API] Add response status tracking to Poem backend * [API] Break APIs up in Poem backend * [API] Make a BCS payload type * [API] Make all API types self-describe for generating an OpenAPI spec * [API] Fix up Rosetta following adding IdentifierWrapper * [API] Add request and response types for the JSON / BCS enum * [API] Add headers to response in Poem backend * [API] Add endpoint for get_account for Poem backend * [API] Add /accounts/{address}/resources endpoint * [API] Add /accounts/{address}/modules endpoint * [API] Add /events/{event_key} endpoint * [API] Add /accounts/{address}/events/{event_handle_struct}/{field_name} endpoint * [API] Run both APIs alongside each other * [API] Add GET /transactions * fixup: Remove use_poem_backend_flag * Add comments explaining what the aptos-openapi macros do
- Loading branch information