mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix specification of GET /story/nums/{num}
This commit is contained in:
@@ -7676,12 +7676,19 @@ def get_story_nums_num(num: int):
|
|||||||
summary: Determine whether or not there is a story chunk with the given num
|
summary: Determine whether or not there is a story chunk with the given num
|
||||||
tags:
|
tags:
|
||||||
- story
|
- story
|
||||||
|
parameters:
|
||||||
|
- name: num
|
||||||
|
in: path
|
||||||
|
description: |-2
|
||||||
|
`num` of the desired story chunk.
|
||||||
|
schema:
|
||||||
|
type: integer
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Successful request
|
description: Successful request
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema: StorySchema
|
schema: BasicBooleanSchema
|
||||||
"""
|
"""
|
||||||
if num == 0:
|
if num == 0:
|
||||||
return {"result": vars.gamestarted}
|
return {"result": vars.gamestarted}
|
||||||
|
Reference in New Issue
Block a user