This commit is contained in:
seb
2026-10-12 18:36:55 +02:00
parent 3748020b03
commit 77367b7716
8 changed files with 97 additions and 103 deletions

View File

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

View File

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