Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: regen openapi and format w/ golines #311

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

- API version: 1.0
- Package version: 1.0.0
- Generator version: 7.8.0-SNAPSHOT
- Generator version: 7.11.0-SNAPSHOT
- Build package: org.openapitools.codegen.languages.GoClientCodegen
For more information, please visit [https://blinklabs.io](https://blinklabs.io)

Expand Down Expand Up @@ -75,12 +75,11 @@ ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVari

## Documentation for API Endpoints

All URIs are relative to *http://localhost/api*
All URIs are relative to */api*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ChainsyncAPI* | [**ChainsyncSyncGet**](docs/ChainsyncAPI.md#chainsyncsyncget) | **Get** /chainsync/sync | Start a chain-sync using a websocket for events
*DefaultAPI* | [**LocaltxsubmissionTxPost**](docs/DefaultAPI.md#localtxsubmissiontxpost) | **Post** /localtxsubmission/tx | Submit Tx
*LocalstatequeryAPI* | [**LocalstatequeryCurrentEraGet**](docs/LocalstatequeryAPI.md#localstatequerycurrenteraget) | **Get** /localstatequery/current-era | Query Current Era
*LocalstatequeryAPI* | [**LocalstatequeryEraHistoryGet**](docs/LocalstatequeryAPI.md#localstatequeryerahistoryget) | **Get** /localstatequery/era-history | Query Era History
*LocalstatequeryAPI* | [**LocalstatequeryGenesisConfigGet**](docs/LocalstatequeryAPI.md#localstatequerygenesisconfigget) | **Get** /localstatequery/genesis-config | Query Genesis Config
Expand All @@ -90,6 +89,7 @@ Class | Method | HTTP request | Description
*LocaltxmonitorAPI* | [**LocaltxmonitorHasTxTxHashGet**](docs/LocaltxmonitorAPI.md#localtxmonitorhastxtxhashget) | **Get** /localtxmonitor/has_tx/{tx_hash} | Check if a particular TX exists in the mempool
*LocaltxmonitorAPI* | [**LocaltxmonitorSizesGet**](docs/LocaltxmonitorAPI.md#localtxmonitorsizesget) | **Get** /localtxmonitor/sizes | Get mempool capacity, size, and TX count
*LocaltxmonitorAPI* | [**LocaltxmonitorTxsGet**](docs/LocaltxmonitorAPI.md#localtxmonitortxsget) | **Get** /localtxmonitor/txs | List all transactions in the mempool
*LocaltxsubmissionAPI* | [**LocaltxsubmissionTxPost**](docs/LocaltxsubmissionAPI.md#localtxsubmissiontxpost) | **Post** /localtxsubmission/tx | Submit Tx


## Documentation For Models
Expand Down
4 changes: 3 additions & 1 deletion openapi/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ info:
title: cardano-node-api
version: "1.0"
servers:
- url: http://localhost/api
- url: /api
paths:
/chainsync/sync:
get:
Expand Down Expand Up @@ -259,6 +259,8 @@ paths:
type: string
description: Server Error
summary: Submit Tx
tags:
- localtxsubmission
components:
schemas:
api.responseApiError:
Expand Down
93 changes: 62 additions & 31 deletions openapi/api_chainsync.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading