mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-01-31 17:54:57 +01:00
Fix specification of GET /story/nums/{num}
This commit is contained in:
parent
6853625570
commit
1527db894e
@ -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
|
||||
tags:
|
||||
- story
|
||||
parameters:
|
||||
- name: num
|
||||
in: path
|
||||
description: |-2
|
||||
`num` of the desired story chunk.
|
||||
schema:
|
||||
type: integer
|
||||
responses:
|
||||
200:
|
||||
description: Successful request
|
||||
content:
|
||||
application/json:
|
||||
schema: StorySchema
|
||||
schema: BasicBooleanSchema
|
||||
"""
|
||||
if num == 0:
|
||||
return {"result": vars.gamestarted}
|
||||
|
Loading…
x
Reference in New Issue
Block a user