u
This commit is contained in:
@@ -42,14 +42,23 @@
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* iso639:
|
||||
* type: string
|
||||
* name:
|
||||
* type: string
|
||||
* rootCategoryId:
|
||||
* type: integer
|
||||
* nullable: true
|
||||
* languageId:
|
||||
* type: integer
|
||||
* nullable: true
|
||||
* iso639:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* taxrate:
|
||||
* type: number
|
||||
* reducedtaxrate:
|
||||
* type: number
|
||||
* taxfreerate:
|
||||
* type: number
|
||||
* SuccessResponse:
|
||||
* type: object
|
||||
* required: [ok]
|
||||
@@ -513,6 +522,9 @@
|
||||
* thumbHash:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* articleCount:
|
||||
* type: integer
|
||||
* description: Number of articles assigned directly to this category
|
||||
* posterminalIds:
|
||||
* type: array
|
||||
* items:
|
||||
|
||||
@@ -74,7 +74,7 @@ export function register(app, basePath = '') {
|
||||
* x-markdown: category/tree.md
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Tree and articles for the selected company
|
||||
* description: Tree and article count for the selected company
|
||||
* content:
|
||||
* application/json:
|
||||
* schema:
|
||||
@@ -86,10 +86,9 @@ export function register(app, basePath = '') {
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/CategoryTreeNode'
|
||||
* articles:
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/CategoryArticle'
|
||||
* articleCount:
|
||||
* type: integer
|
||||
* description: Total number of parent articles across the category tree
|
||||
* 400:
|
||||
* description: No company selected
|
||||
* content:
|
||||
|
||||
Reference in New Issue
Block a user