Skip to content

Commit

Permalink
chore: merge mithrill
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirvolek committed Jul 18, 2024
2 parents d2cf91b + e3b2472 commit ab7df17
Show file tree
Hide file tree
Showing 17 changed files with 21,860 additions and 3,725 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Lovelaces",
"Milkomeda",
"mirs",
"Mithril",
"nutlink",
"Ogmios",
"openapi",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Unreleased changes are in the `master` branch.

## [Unreleased]

## [0.1.64] - 2024-06-27

### Added

- `/txs/{hash}/cbor` endpoint

## [0.1.63] - 2024-03-14

### Changed
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ Released documentation can be found at [docs.blockfrost.io](https://docs.blockfr

## Development

Final [`openapi.yaml`](openapi.yaml) specification is generated from all yaml files in `src` directory.
Blockfrost OpenAPI [`blockfrost-openapi.yaml`](blockfrost-openapi.yaml) specification is generated from all yaml files in `src` directory.
Then there is Mithril Aggregator API spec [`mithril.yaml`](mithril.yaml) which can be downloaded from [Mithril Github](https://github.com/input-output-hk/mithril).
These two specs are then merged together via `openapi-merge-cli` (configuration is inside [`openapi-merge.json`](openapi-merge.json)).
Only the Mithril endpoints with a tag `Cardano » Mithril` are included into the final spec.

> Tag `Cardano » Mithril` needs to be added manually to each relevant endpoint in Mithril OpenAPI spec.
If you add a new file then don't forget to add it to `paths` in [`src/definitions.yaml`](src/definitions.yaml).

Edit the source yaml files and build the package:
Expand Down
Loading

0 comments on commit ab7df17

Please sign in to comment.