Skip to content

Commit

Permalink
Rename "doc" to "openapi" in info JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
cmil committed Feb 2, 2024
1 parent 07c26cd commit fbf7492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ paths:
"status": "stable",
"existdb": "6.2.0",
"base": "https://dracor.org/api/v1",
"doc": "https://dracor.org/api/v1/openapi.yaml"
"openapi": "https://dracor.org/api/v1/openapi.yaml"
}
schema:
$ref: '#/components/schemas/Info'
Expand Down Expand Up @@ -1168,7 +1168,7 @@ components:
base:
type: string
format: url
doc:
openapi:
type: string
format: url
WordCounts:
Expand Down
2 changes: 1 addition & 1 deletion modules/api.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function api:info() {
"status": $repo/repo:status/string(),
"existdb": system:get-version(),
"base": $config:api-base,
"doc": $config:api-base || "/openapi.yaml"
"openapi": $config:api-base || "/openapi.yaml"
}
};

Expand Down

0 comments on commit fbf7492

Please sign in to comment.