Fix specification of GET /story/nums/{num}

This commit is contained in:
vfbd 2022-08-10 21:09:29 -04:00
parent 6853625570
commit 1527db894e

View File

@ -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}