docs: Add full Swagger JSDoc coverage

This commit is contained in:
Maksim Eltyshev
2025-09-08 16:20:27 +02:00
parent e6b4c33542
commit 5ad3134519
128 changed files with 7610 additions and 0 deletions

View File

@@ -10,6 +10,42 @@
* @docs :: https://sailsjs.com/docs/concepts/models-and-orm/models
*/
/**
* @swagger
* components:
* schemas:
* BaseCustomFieldGroup:
* type: object
* required:
* - projectId
* - name
* properties:
* id:
* type: string
* description: Unique identifier for the base custom field group
* example: 1357158568008091264
* projectId:
* type: string
* description: ID of the project the base custom field group belongs to
* example: 1357158568008091265
* name:
* type: string
* description: Name/title of the base custom field group
* example: Base Properties
* createdAt:
* type: string
* format: date-time
* nullable: true
* description: When the base custom field group was created
* example: 2024-01-01T00:00:00.000Z
* updatedAt:
* type: string
* format: date-time
* nullable: true
* description: When the base custom field group was last updated
* example: 2024-01-01T00:00:00.000Z
*/
module.exports = {
attributes: {
// ╔═╗╦═╗╦╔╦╗╦╔╦╗╦╦ ╦╔═╗╔═╗