mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 17:15:35 +02:00
feat(openapi): refactor into indiv. files to match API & tpl routing
This commit is contained in:
18
public/openapi/api/recent/posts/term.yaml
Normal file
18
public/openapi/api/recent/posts/term.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
get:
|
||||
tags:
|
||||
- posts
|
||||
summary: Get recent posts
|
||||
parameters:
|
||||
- name: term
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: daily
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../../../components/schemas/PostsObject.yaml#/PostsObject
|
||||
Reference in New Issue
Block a user