@@ -174,7 +174,7 @@ export async function setup(app: App) {
174174 operationId : 'subjectInfo' ,
175175 description : [ '获取当前的 wiki 信息' ] . join ( '\n\n' ) ,
176176 params : t . Object ( {
177- subjectID : t . Integer ( { examples : [ 363612 ] , minimum : 0 } ) ,
177+ subjectID : t . Integer ( { minimum : 1 } ) ,
178178 } ) ,
179179 security : [ { [ Security . CookiesSession ] : [ ] } ] ,
180180 response : {
@@ -367,7 +367,7 @@ export async function setup(app: App) {
367367 operationId : 'subjectEditHistorySummary' ,
368368 description : [ '获取当前的 wiki 信息' ] . join ( '\n\n' ) ,
369369 params : t . Object ( {
370- subjectID : t . Integer ( { examples : [ 8 ] , minimum : 0 } ) ,
370+ subjectID : t . Integer ( { minimum : 1 } ) ,
371371 } ) ,
372372 security : [ { [ Security . CookiesSession ] : [ ] } ] ,
373373 response : {
@@ -414,7 +414,7 @@ export async function setup(app: App) {
414414 operationId : 'putSubjectInfo' ,
415415 description : '需要 `subjectWikiEdit` 权限' ,
416416 params : t . Object ( {
417- subjectID : t . Integer ( { examples : [ 363612 ] , minimum : 0 } ) ,
417+ subjectID : t . Integer ( { minimum : 1 } ) ,
418418 } ) ,
419419 security : [ { [ Security . CookiesSession ] : [ ] } ] ,
420420 body : t . Object (
@@ -485,7 +485,7 @@ export async function setup(app: App) {
485485 tags : [ Tag . Wiki ] ,
486486 operationId : 'patchSubjectInfo' ,
487487 params : t . Object ( {
488- subjectID : t . Integer ( { examples : [ 363612 ] , minimum : 0 } ) ,
488+ subjectID : t . Integer ( { minimum : 1 } ) ,
489489 } ) ,
490490 security : [ { [ Security . CookiesSession ] : [ ] } ] ,
491491 body : t . Object (
@@ -584,7 +584,7 @@ export async function setup(app: App) {
584584 operationId : 'createEpisodes' ,
585585 description : '为条目添加新章节' ,
586586 params : t . Object ( {
587- subjectID : t . Integer ( { examples : [ 363612 ] , minimum : 0 } ) ,
587+ subjectID : t . Integer ( { minimum : 1 } ) ,
588588 } ) ,
589589 security : [ { [ Security . CookiesSession ] : [ ] , [ Security . HTTPBearer ] : [ ] } ] ,
590590 body : EpsisodesNew ,
0 commit comments