Skip to content
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 blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 0.1.76
version: 0.1.77
title: Blockfrost.io ~ API Documentation
x-logo:
url: https://staging.blockfrost.io/images/logo.svg
Expand Down Expand Up @@ -9514,6 +9514,7 @@ components:
description: Fixed tax cost of the stake pool
metadata:
type: object
nullable: true
properties:
url:
type: string
Expand Down Expand Up @@ -9546,8 +9547,6 @@ components:
example: https://stakentus.com/
description: Home page of the stake pool
required:
- pool_id
- hex
- url
- hash
- ticker
Expand All @@ -9564,6 +9563,7 @@ components:
- declared_pledge
- margin_cost
- fixed_cost
- metadata
example:
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
Expand Down
6 changes: 3 additions & 3 deletions docs/blockfrost-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.3
info:
version: 0.1.76
version: 0.1.77
title: Blockfrost.io ~ API Documentation
x-logo:
url: 'https://staging.blockfrost.io/images/logo.svg'
Expand Down Expand Up @@ -10041,6 +10041,7 @@ components:
description: Fixed tax cost of the stake pool
metadata:
type: object
nullable: true
properties:
url:
type: string
Expand Down Expand Up @@ -10074,8 +10075,6 @@ components:
example: 'https://stakentus.com/'
description: Home page of the stake pool
required:
- pool_id
- hex
- url
- hash
- ticker
Expand All @@ -10092,6 +10091,7 @@ components:
- declared_pledge
- margin_cost
- fixed_cost
- metadata
example:
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
Expand Down
2 changes: 1 addition & 1 deletion json-schema.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions openapi.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "0.1.76",
"version": "0.1.77",
"title": "Blockfrost.io ~ API Documentation",
"x-logo": {
"url": "https://staging.blockfrost.io/images/logo.svg",
Expand Down Expand Up @@ -12941,6 +12941,7 @@
},
"metadata": {
"type": "object",
"nullable": true,
"properties": {
"url": {
"type": "string",
Expand Down Expand Up @@ -12980,8 +12981,6 @@
}
},
"required": [
"pool_id",
"hex",
"url",
"hash",
"ticker",
Expand All @@ -13000,7 +12999,8 @@
"live_saturation",
"declared_pledge",
"margin_cost",
"fixed_cost"
"fixed_cost",
"metadata"
]
},
"example": [
Expand Down
6 changes: 3 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.3
info:
version: 0.1.76
version: 0.1.77
title: Blockfrost.io ~ API Documentation
x-logo:
url: 'https://staging.blockfrost.io/images/logo.svg'
Expand Down Expand Up @@ -10041,6 +10041,7 @@ components:
description: Fixed tax cost of the stake pool
metadata:
type: object
nullable: true
properties:
url:
type: string
Expand Down Expand Up @@ -10074,8 +10075,6 @@ components:
example: 'https://stakentus.com/'
description: Home page of the stake pool
required:
- pool_id
- hex
- url
- hash
- ticker
Expand All @@ -10092,6 +10091,7 @@ components:
- declared_pledge
- margin_cost
- fixed_cost
- metadata
example:
- pool_id: pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q
hex: 2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blockfrost/openapi",
"version": "0.1.76",
"version": "0.1.77",
"description": "OpenAPI specifications for blockfrost.io",
"repository": "git@github.com:blockfrost/openapi.git",
"author": "admin@blockfrost.io",
Expand Down
2 changes: 1 addition & 1 deletion src/definitions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
version: 0.1.76
version: 0.1.77
title: Blockfrost.io ~ API Documentation
x-logo:
url: https://staging.blockfrost.io/images/logo.svg
Expand Down
4 changes: 2 additions & 2 deletions src/generated-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9547,7 +9547,7 @@ export interface components {
* @example 340000000
*/
fixed_cost: string;
metadata?: {
metadata: {
/**
* @description URL to the stake pool metadata
* @example https://stakenuts.com/mainnet.json
Expand Down Expand Up @@ -9578,7 +9578,7 @@ export interface components {
* @example https://stakentus.com/
*/
homepage: string | null;
};
} | null;
}[];
/** @example [
* {
Expand Down
4 changes: 2 additions & 2 deletions src/schemas/pools/pool_list_extended.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ items:
description: Fixed tax cost of the stake pool
metadata:
type: object
nullable: true
properties:
url:
type: string
Expand Down Expand Up @@ -71,8 +72,6 @@ items:
example: "https://stakentus.com/"
description: Home page of the stake pool
required:
- pool_id
- hex
- url
- hash
- ticker
Expand All @@ -89,6 +88,7 @@ items:
- declared_pledge
- margin_cost
- fixed_cost
- metadata
example:
- pool_id: "pool19u64770wqp6s95gkajc8udheske5e6ljmpq33awxk326zjaza0q"
hex: "2f355f79ee007502d116ecb07e36f985b34cebf2d84118f5c6b455a1"
Expand Down
4 changes: 2 additions & 2 deletions test/tests/__snapshots__/get-schema-for-endpoint.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18752,6 +18752,7 @@ relative to the start of the network
"type": "number",
},
"metadata": {
"nullable": true,
"properties": {
"description": {
"description": "Description of the stake pool",
Expand Down Expand Up @@ -18791,8 +18792,6 @@ relative to the start of the network
},
},
"required": [
"pool_id",
"hex",
"url",
"hash",
"ticker",
Expand All @@ -18818,6 +18817,7 @@ relative to the start of the network
"declared_pledge",
"margin_cost",
"fixed_cost",
"metadata",
],
"type": "object",
},
Expand Down