mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
github: fix linter configuration errors and occluded errors (#6400)
This commit is contained in:
2
.github/workflows/linter.yml
vendored
2
.github/workflows/linter.yml
vendored
@@ -28,5 +28,5 @@ jobs:
|
||||
DEFAULT_BRANCH: master
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VALIDATE_MD: true
|
||||
VALIDATE_OPAENAPI: true
|
||||
VALIDATE_OPENAPI: true
|
||||
VALIDATE_YAML: true
|
||||
|
||||
@@ -537,8 +537,7 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
example:
|
||||
["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"]
|
||||
example: "f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"
|
||||
responses:
|
||||
"200":
|
||||
description: Dialing seeds in progress. See /net_info for details
|
||||
@@ -588,8 +587,7 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
example:
|
||||
["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"]
|
||||
example: "f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"
|
||||
responses:
|
||||
"200":
|
||||
description: Dialing seeds in progress. See /net_info for details
|
||||
@@ -724,7 +722,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/BlockResultsResponse"
|
||||
$ref: "#/components/schemas/BlockSearchResponse"
|
||||
"500":
|
||||
description: Error
|
||||
content:
|
||||
@@ -1069,7 +1067,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/BlockSearchResponse"
|
||||
$ref: "#/components/schemas/BlockResultsResponse"
|
||||
"500":
|
||||
description: Error
|
||||
content:
|
||||
@@ -2747,6 +2745,33 @@ components:
|
||||
type: string
|
||||
example: "Dialing seeds in progress. See /net_info for details"
|
||||
|
||||
BlockSearchResponse:
|
||||
type: object
|
||||
required:
|
||||
- "jsonrpc"
|
||||
- "id"
|
||||
- "result"
|
||||
properties:
|
||||
jsonrpc:
|
||||
type: string
|
||||
example: "2.0"
|
||||
id:
|
||||
type: integer
|
||||
example: 0
|
||||
result:
|
||||
required:
|
||||
- "blocks"
|
||||
- "total_count"
|
||||
properties:
|
||||
blocks:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/BlockComplete"
|
||||
total_count:
|
||||
type: integer
|
||||
example: 2
|
||||
type: object
|
||||
|
||||
###### Reuseable types ######
|
||||
|
||||
# Validator type with proposer prioirty
|
||||
|
||||
Reference in New Issue
Block a user