diff --git a/public/openapi/read.yaml b/public/openapi/read.yaml index ae2014c774..94481e01ba 100644 --- a/public/openapi/read.yaml +++ b/public/openapi/read.yaml @@ -168,7 +168,7 @@ paths: "/api/categories/{cid}/moderators": $ref: 'read/categories/cid/moderators.yaml' "/api/topic/{topic_id}/{slug}/{post_index}": - $ref: 'read/topic/topic_id/slug/post_index.yaml' + $ref: 'read/topic/topic_id.yaml' /api/recent: $ref: 'read/recent.yaml' "/api/recent/posts/{term}": diff --git a/public/openapi/read/topic/topic_id/slug/post_index.yaml b/public/openapi/read/topic/topic_id.yaml similarity index 96% rename from public/openapi/read/topic/topic_id/slug/post_index.yaml rename to public/openapi/read/topic/topic_id.yaml index 6dac531eab..c55c6888cd 100644 --- a/public/openapi/read/topic/topic_id/slug/post_index.yaml +++ b/public/openapi/read/topic/topic_id.yaml @@ -89,7 +89,7 @@ get: tags: type: array items: - $ref: ../../../../components/schemas/TagObject.yaml#/TagObject + $ref: ../../components/schemas/TagObject.yaml#/TagObject posts: type: array items: @@ -277,7 +277,7 @@ get: type: number description: The flag identifier, if this particular post has been flagged before category: - $ref: ../../../../components/schemas/CategoryObject.yaml#/CategoryObject + $ref: ../../components/schemas/CategoryObject.yaml#/CategoryObject tagWhitelist: type: array items: @@ -325,7 +325,7 @@ get: related: type: array items: - $ref: ../../../../components/schemas/TopicObject.yaml#/TopicObject + $ref: ../../components/schemas/TopicObject.yaml#/TopicObject unreplied: type: boolean icons: @@ -402,7 +402,7 @@ get: postIndex: type: number loggedInUser: - $ref: ../../../../components/schemas/UserObject.yaml#/UserObject - - $ref: ../../../../components/schemas/Pagination.yaml#/Pagination - - $ref: ../../../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs - - $ref: ../../../../components/schemas/CommonProps.yaml#/CommonProps \ No newline at end of file + $ref: ../../components/schemas/UserObject.yaml#/UserObject + - $ref: ../../components/schemas/Pagination.yaml#/Pagination + - $ref: ../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs + - $ref: ../../components/schemas/CommonProps.yaml#/CommonProps \ No newline at end of file