mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-13 06:08:12 +09:00
Add operationId to more convinience
This commit is contained in:
parent
f614a32c57
commit
9979f71441
@ -390,6 +390,7 @@ export function genOpenapiSpec(lang = 'ja-JP') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const info = {
|
const info = {
|
||||||
|
operationId: endpoint.name,
|
||||||
summary: endpoint.name,
|
summary: endpoint.name,
|
||||||
description: endpoint.meta.desc ? endpoint.meta.desc[lang] : 'No description provided.',
|
description: endpoint.meta.desc ? endpoint.meta.desc[lang] : 'No description provided.',
|
||||||
externalDocs: {
|
externalDocs: {
|
||||||
|
Loading…
Reference in New Issue
Block a user