Skip to content

Commit adbdce5

Browse files
committed
openapi: rebuild OpenAPI spec
Signed-off-by: Hank Donnay <[email protected]>
1 parent 8c833ec commit adbdce5

31 files changed

+5548
-2197
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
cmd/build.go export-subst
22
*.go diff=golang
3+
Documentation/reference/api.md linguist-generated

Documentation/howto/api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# API Definition
22

3-
Clair provides its API definition via an OpenAPI specification. You can view our OpenAPI spec [here](https://raw.githubusercontent.com/quay/clair/main/openapi.yaml)
3+
Clair provides its API definition via an OpenAPI specification. You can view our OpenAPI spec [here][openapi_v1].
44

55
The OpenAPI spec can be used in a variety of ways.
66
* Generating http clients for your application
@@ -11,3 +11,5 @@ The OpenAPI spec can be used in a variety of ways.
1111
See [Testing Clair](./testing.md) to learn how the local dev tooling starts a local swagger editor. This is handy for making changes to the spec in real time.
1212

1313
See [API Reference](../reference/api.md) for a markdown rendered API reference.
14+
15+
[openapi_v1]: https://github.com/quay/clair/tree/main/httptransport/api/v1

0 commit comments

Comments
 (0)