Skip to content

Commit 5da4a9e

Browse files
committed
chore: generate OpenAPI specification
1 parent ea2eb11 commit 5da4a9e

1 file changed

Lines changed: 6 additions & 44 deletions

File tree

‎OpenAPI.json‎

Lines changed: 6 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6589,19 +6589,22 @@
65896589
"type": "object",
65906590
"required": [
65916591
"app",
6592-
"build",
65936592
"features",
65946593
"revolt",
6594+
"stoat",
65956595
"vapid",
65966596
"ws"
65976597
],
65986598
"properties": {
6599+
"stoat": {
6600+
"description": "Stoat API Version",
6601+
"type": "string"
6602+
},
65996603
"revolt": {
6600-
"description": "Revolt API Version",
66016604
"type": "string"
66026605
},
66036606
"features": {
6604-
"description": "Features enabled on this Revolt node",
6607+
"description": "Features enabled on this Stoat node",
66056608
"allOf": [
66066609
{
66076610
"$ref": "#/components/schemas/RevoltFeatures"
@@ -6619,14 +6622,6 @@
66196622
"vapid": {
66206623
"description": "Web Push VAPID public key",
66216624
"type": "string"
6622-
},
6623-
"build": {
6624-
"description": "Build information",
6625-
"allOf": [
6626-
{
6627-
"$ref": "#/components/schemas/BuildInformation"
6628-
}
6629-
]
66306625
}
66316626
}
66326627
},
@@ -6992,39 +6987,6 @@
69926987
}
69936988
}
69946989
},
6995-
"BuildInformation": {
6996-
"title": "Build Information",
6997-
"type": "object",
6998-
"required": [
6999-
"commit_sha",
7000-
"commit_timestamp",
7001-
"origin_url",
7002-
"semver",
7003-
"timestamp"
7004-
],
7005-
"properties": {
7006-
"commit_sha": {
7007-
"description": "Commit Hash",
7008-
"type": "string"
7009-
},
7010-
"commit_timestamp": {
7011-
"description": "Commit Timestamp",
7012-
"type": "string"
7013-
},
7014-
"semver": {
7015-
"description": "Git Semver",
7016-
"type": "string"
7017-
},
7018-
"origin_url": {
7019-
"description": "Git Origin URL",
7020-
"type": "string"
7021-
},
7022-
"timestamp": {
7023-
"description": "Build Timestamp",
7024-
"type": "string"
7025-
}
7026-
}
7027-
},
70286990
"Error": {
70296991
"title": "Error",
70306992
"description": "Error information",

0 commit comments

Comments
 (0)