Sindbad~EG File Manager
/**
* @swagger
* components:
* schemas:
* AdditionalInfo:
* type: object
* properties:
* policy_source:
* type: string
* description: The source of the policy
* source_detail:
* type: string
* description: Detailed information about the source
* related_x_date:
* type: string
* description: Related date for the context
* agent:
* type: string
* description: The agent associated with the policy
* csr:
* type: string
* description: The CSR associated with the policy
* owner:
* type: string
* description: The owner of the policy
* producer:
* type: string
* description: The producer related to the policy
* remark_number:
* type: string
* description: The number related to remarks
* high_impact:
* type: boolean
* description: Indicates if the policy has high impact
* remarks:
* type: string
* description: Additional remarks
* policy_id:
* type: string
* description: Reference to the Policy ID
* example:
* policy_source: "Internal Document"
* source_detail: "Policy details sourced from internal reports"
* related_x_date: "2024-08-21"
* agent: "John Doe"
* csr: "CSR123"
* owner: "Company XYZ"
* producer: "ABC Productions"
* remark_number: "R12345"
* high_impact: true
* remarks: "Important policy update"
* policy_id: "60d5f6d8c6e8b22f63b2e8b0"
*/
/**
* @swagger
* tags:
* - name: AdditionalInfo
* description: Operations related to Additional Information
*/
/**
* @swagger
* /additional-info/list:
* get:
* summary: Returns the list of additional information entries
* tags: [AdditionalInfo]
* security:
* - bearerAuth: []
* parameters:
* - in: query
* name: policy_id
* schema:
* type: string
* required: true
* description: ID of the policy to filter additional info by
* responses:
* 200:
* description: A list of additional information entries
* content:
* application/json:
* schema:
* type: array
* items:
* $ref: '#/components/schemas/AdditionalInfo'
*/
/**
* @swagger
* /additional-info/add:
* post:
* summary: Create a new additional information entry
* tags: [AdditionalInfo]
* security:
* - bearerAuth: []
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/AdditionalInfo'
* responses:
* 201:
* description: The additional information entry was successfully created
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/AdditionalInfo'
*/
/**
* @swagger
* /additional-info/edit/{id}:
* put:
* summary: Update an additional information entry by ID
* tags: [AdditionalInfo]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the additional information entry
* requestBody:
* required: true
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/AdditionalInfo'
* responses:
* 200:
* description: The additional information entry was successfully updated
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/UpdateResponse'
*/
/**
* @swagger
* /additional-info/delete/{id}:
* delete:
* summary: Delete an additional information entry by ID
* tags: [AdditionalInfo]
* security:
* - bearerAuth: []
* parameters:
* - in: path
* name: id
* schema:
* type: string
* required: true
* description: The ID of the additional information entry
* responses:
* 200:
* description: The additional information entry was successfully deleted
* content:
* application/json:
* schema:
* $ref: '#/components/schemas/DeleteResponse'
*/
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists