Skip to content

Commit

Permalink
Merge pull request #381 from blockfrost/chore/improve-cert-index
Browse files Browse the repository at this point in the history
fix: description of cert_index parameter in governance endpoints
  • Loading branch information
vladimirvolek authored Oct 31, 2024
2 parents b3f6ca2 + 492062a commit efa3b8a
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 43 deletions.
12 changes: 6 additions & 6 deletions blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1226,7 +1226,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1266,7 +1266,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1306,7 +1306,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
- in: query
name: count
Expand Down Expand Up @@ -1374,7 +1374,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index of the proposal.
description: Index of the certificate within the proposal transaction.
example: 0
responses:
'200':
Expand Down Expand Up @@ -6427,7 +6427,7 @@ components:
description: Transaction ID
cert_index:
type: integer
description: Certificate within the transaction
description: Index of the certificate within the update transaction.
action:
type: string
enum:
Expand Down
12 changes: 6 additions & 6 deletions docs/blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1325,7 +1325,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1365,7 +1365,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1405,7 +1405,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
- in: query
name: count
Expand Down Expand Up @@ -1475,7 +1475,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index of the proposal.
description: Index of the certificate within the proposal transaction.
example: 0
responses:
'200':
Expand Down Expand Up @@ -6725,7 +6725,7 @@ components:
description: Transaction ID
cert_index:
type: integer
description: Certificate within the transaction
description: Index of the certificate within the update transaction.
action:
type: string
enum:
Expand Down
22 changes: 11 additions & 11 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion json-schema.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1325,7 +1325,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1365,7 +1365,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
'200':
Expand Down Expand Up @@ -1405,7 +1405,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
- in: query
name: count
Expand Down Expand Up @@ -1475,7 +1475,7 @@ paths:
required: true
schema:
type: integer
description: Transaction index of the proposal.
description: Index of the certificate within the proposal transaction.
example: 0
responses:
'200':
Expand Down Expand Up @@ -6725,7 +6725,7 @@ components:
description: Transaction ID
cert_index:
type: integer
description: Certificate within the transaction
description: Index of the certificate within the update transaction.
action:
type: string
enum:
Expand Down
12 changes: 6 additions & 6 deletions src/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ export interface paths {
*/
tx_hash: string;
/**
* @description Transaction index.
* @description Index of the certificate within the proposal transaction.
* @example 1
*/
cert_index: number;
Expand Down Expand Up @@ -1154,7 +1154,7 @@ export interface paths {
*/
tx_hash: string;
/**
* @description Transaction index.
* @description Index of the certificate within the proposal transaction.
* @example 1
*/
cert_index: number;
Expand Down Expand Up @@ -1210,7 +1210,7 @@ export interface paths {
*/
tx_hash: string;
/**
* @description Transaction index.
* @description Index of the certificate within the proposal transaction.
* @example 1
*/
cert_index: number;
Expand Down Expand Up @@ -1275,7 +1275,7 @@ export interface paths {
*/
tx_hash: string;
/**
* @description Transaction index.
* @description Index of the certificate within the proposal transaction.
* @example 1
*/
cert_index: number;
Expand Down Expand Up @@ -1330,7 +1330,7 @@ export interface paths {
*/
tx_hash: string;
/**
* @description Transaction index of the proposal.
* @description Index of the certificate within the proposal transaction.
* @example 0
*/
cert_index: number;
Expand Down Expand Up @@ -6854,7 +6854,7 @@ export interface components {
drep_updates: {
/** @description Transaction ID */
tx_hash: string;
/** @description Certificate within the transaction */
/** @description Index of the certificate within the update transaction. */
cert_index: number;
/**
* @description Action in the certificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
"200":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
required: true
schema:
type: integer
description: Transaction index of the proposal.
description: Index of the certificate within the proposal transaction.
example: 0
responses:
"200":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
"200":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
- in: query
name: count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ get:
required: true
schema:
type: integer
description: Transaction index.
description: Index of the certificate within the proposal transaction.
example: 1
responses:
"200":
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/governance/drep_updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ items:
description: Transaction ID
cert_index:
type: integer
description: Certificate within the transaction
description: Index of the certificate within the update transaction.
action:
type: string
enum: [registered, deregistered]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11578,7 +11578,7 @@ under which it is valid
"type": "string",
},
"cert_index": {
"description": "Certificate within the transaction",
"description": "Index of the certificate within the update transaction.",
"type": "integer",
},
"tx_hash": {
Expand Down

0 comments on commit efa3b8a

Please sign in to comment.