Skip to content

Commit

Permalink
docs: Merge pull request #2674 from input-output-hk/piotr/adp-925/tes…
Browse files Browse the repository at this point in the history
…t-failfetch-metadata

Add test checking fail to fetch asset metadata 7426ccc
  • Loading branch information
William King Noel Bot committed May 27, 2021
1 parent 9ada112 commit 81dfc44
Show file tree
Hide file tree
Showing 3 changed files with 5,586 additions and 0 deletions.
28 changes: 28 additions & 0 deletions api/v2021-05-26/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# API Specification

The specification is written using [Swagger 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) (known today as OpenAPI).

# How to

## Preview a local specification file

Serve the content of this directory through any HTTP server, for instance:

```
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
```

```
$ python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...
```

Then, browse your localhost on port 8000.


## Preview a specification file hosted on a remote machine

- Visit https://rebilly.github.io/ReDoc/
- Provide a URL to the spec file
- Click on 'TRY IT'
19 changes: 19 additions & 0 deletions api/v2021-05-26/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html lang="en">
<head>
<title>Cardano Wallet Backend API Documentation</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Swagger-generated API Reference Documentation for Cardano Wallet Backend API" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Cardano Wallet Backend API Documentation" />
<meta property="og:description" content="Swagger-generated API Reference Documentation for Cardano Wallet Backend API" />
<meta property="og:image" content="https://cardanodocs.com/img/cardano.png" />
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
<style> body { margin: 0; padding: 0; } </style>
</head>
<body>
<redoc spec-url="./swagger.yaml"></redoc>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundles/redoc.standalone.js" async defer></script>
</body>
</html>
Loading

0 comments on commit 81dfc44

Please sign in to comment.