doc: Swagger for custom attribute APIs (#4382)

This commit is contained in:
Muhsin Keloth
2022-04-07 19:01:31 +05:30
committed by GitHub
parent d4a046a21e
commit dfb56f6bb8
11 changed files with 453 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
tags:
- Custom Attributes
operationId: add-new-custom-attribute-to-account
summary: Add a new custom attribute
description: Add a new custom attribute to account
security:
- userApiKey: []
parameters:
- name: data
in: body
required: true
schema:
$ref: '#/definitions/custom_attribute_create_update_payload'
responses:
200:
description: Success
schema:
$ref: '#/definitions/custom_attribute'
403:
description: Access denied