forked from lthn/blockchain
This pull request introduces a comprehensive new API interface for the blockchain, leveraging OpenAPI v3 to facilitate direct consumption of chain data by GUI and web applications. This change significantly refines the project's build infrastructure, incorporating Conan for dependency management and CMake for configuration, alongside the integration of an OpenAPI Generator to produce SDKs for multiple languages. ### Highlights * **New API Interface**: Introduced a new API interface using OpenAPI v3 to enable GUI/WEB development to consume chain data without needing custom server applications. * **Build System Enhancements**: Significant updates to the build system, including Makefile, CMake, and Conan configurations, to streamline the build process and support new functionalities. * **Multi-language SDK Generation**: Integrated OpenAPI Generator to automatically create SDKs for various programming languages, including Go, Angular, and PHP, simplifying client-side integration.
37 lines
1.7 KiB
Python
Generated
37 lines
1.7 KiB
Python
Generated
# coding: utf-8
|
|
|
|
# flake8: noqa
|
|
"""
|
|
Lethean Blockchain API
|
|
|
|
OpenAPI for Lethean Blockchain
|
|
|
|
The version of the OpenAPI document: 6.0.1
|
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
|
|
Do not edit the class manually.
|
|
""" # noqa: E501
|
|
|
|
# import models into model package
|
|
from lthn.models.block_details_model import BlockDetailsModel
|
|
from lthn.models.block_processing_performance_model import BlockProcessingPerformanceModel
|
|
from lthn.models.block_template_model import BlockTemplateModel
|
|
from lthn.models.block_template_request_model import BlockTemplateRequestModel
|
|
from lthn.models.db_stat_info_model import DbStatInfoModel
|
|
from lthn.models.height_model import HeightModel
|
|
from lthn.models.info_model import InfoModel
|
|
from lthn.models.maintainers_info_model import MaintainersInfoModel
|
|
from lthn.models.performance_model import PerformanceModel
|
|
from lthn.models.pos_entry_model import PosEntryModel
|
|
from lthn.models.submit_block_request_model import SubmitBlockRequestModel
|
|
from lthn.models.submit_block_response_model import SubmitBlockResponseModel
|
|
from lthn.models.transaction_attachment_model import TransactionAttachmentModel
|
|
from lthn.models.transaction_details_model import TransactionDetailsModel
|
|
from lthn.models.transaction_extra_model import TransactionExtraModel
|
|
from lthn.models.transaction_input_model import TransactionInputModel
|
|
from lthn.models.transaction_output_model import TransactionOutputModel
|
|
from lthn.models.tx_generation_context_model import TxGenerationContextModel
|
|
from lthn.models.tx_pool_performance_model import TxPoolPerformanceModel
|
|
from lthn.models.tx_processing_performance_model import TxProcessingPerformanceModel
|
|
from lthn.models.version_model import VersionModel
|
|
|