We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c59fdef commit 92f7d7bCopy full SHA for 92f7d7b
catalyst-gateway/Earthfile
@@ -31,6 +31,9 @@ build-hosted:
31
32
DO github.com/input-output-hk/catalyst-ci/earthly/rust:v2.0.11+SMOKE_TEST --bin="cat-gateway"
33
34
+ # generate OpenAPI docs
35
+ RUN ./target/$TARGETARCH/release/cat-gateway docs ./target/$TARGETARCH/doc/cat-gateway-api.json
36
+
37
SAVE ARTIFACT target/$TARGETARCH/doc doc
38
SAVE ARTIFACT target/$TARGETARCH/release/cat-gateway cat-gateway
39
docs/src/api/cat-gateway/openapi.md
@@ -4,8 +4,8 @@ icon: material/server
4
5
# OpenAPI docs
6
7
+[OPEN FILE](./rust-docs/cat-gateway-api.json)
8
9
```JSON
-{
- "name": "Alex",
10
-}
+ {{ include_file('src/api/cat-gateway/rust-docs/cat-gateway-api.json') }}
11
```
0 commit comments