ContractSwagger¶
ContractSwagger¶
- class ContractSwagger(**kwargs)¶
Implements the connectionmanager api endpoints.
- address(address: Address | str, **kwargs) OpenAPISchemaModel ¶
Dynamically generates a swagger document for the contract at the given address.
OpenAPIEndpointsModel¶
OpenAPIInfoModel¶
OpenAPISchemaModel¶
- class OpenAPISchemaModel(*, openapi: str, info: OpenAPIInfoModel, paths: OpenAPIEndpointsModel, components: dict)¶
A pydantic model for the OpenAPI smart contract schema response.
- openapi: str¶
The OpenAPI version.
- info: OpenAPIInfoModel¶
Schema information.
- paths: OpenAPIEndpointsModel¶
Schema endpoint information.
- components: dict¶
Schema components.