chore updated route
This commit is contained in:
parent
344ffe7270
commit
0b75f34fa8
2 changed files with 99 additions and 76 deletions
|
|
@ -35,6 +35,25 @@ const models: TsoaRoute.Models = {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
},
|
},
|
||||||
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
||||||
|
"EhrFile": {
|
||||||
|
"dataType": "refObject",
|
||||||
|
"properties": {
|
||||||
|
"pathname": {"dataType":"string","required":true},
|
||||||
|
"fileName": {"dataType":"string","required":true},
|
||||||
|
"fileSize": {"dataType":"double","required":true},
|
||||||
|
"fileType": {"dataType":"string","required":true},
|
||||||
|
"title": {"dataType":"string","required":true},
|
||||||
|
"description": {"dataType":"string","required":true},
|
||||||
|
"category": {"dataType":"array","array":{"dataType":"string"},"required":true},
|
||||||
|
"keyword": {"dataType":"array","array":{"dataType":"string"},"required":true},
|
||||||
|
"updatedAt": {"dataType":"union","subSchemas":[{"dataType":"string"},{"dataType":"datetime"}],"required":true},
|
||||||
|
"updatedBy": {"dataType":"string","required":true},
|
||||||
|
"createdAt": {"dataType":"union","subSchemas":[{"dataType":"string"},{"dataType":"datetime"}],"required":true},
|
||||||
|
"createdBy": {"dataType":"string","required":true},
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
},
|
||||||
|
// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
|
||||||
};
|
};
|
||||||
const validationService = new ValidationService(models);
|
const validationService = new ValidationService(models);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,85 @@
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
|
},
|
||||||
|
"EhrFile": {
|
||||||
|
"properties": {
|
||||||
|
"pathname": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"fileName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"fileSize": {
|
||||||
|
"type": "number",
|
||||||
|
"format": "double"
|
||||||
|
},
|
||||||
|
"fileType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"category": {
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
"keyword": {
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
"updatedAt": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"updatedBy": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"createdAt": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"format": "date-time"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"createdBy": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"pathname",
|
||||||
|
"fileName",
|
||||||
|
"fileSize",
|
||||||
|
"fileType",
|
||||||
|
"title",
|
||||||
|
"description",
|
||||||
|
"category",
|
||||||
|
"keyword",
|
||||||
|
"updatedAt",
|
||||||
|
"updatedBy",
|
||||||
|
"createdAt",
|
||||||
|
"createdBy"
|
||||||
|
],
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"securitySchemes": {
|
"securitySchemes": {
|
||||||
|
|
@ -462,82 +541,7 @@
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"items": {
|
"items": {
|
||||||
"properties": {
|
"$ref": "#/components/schemas/EhrFile"
|
||||||
"createdBy": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"createdAt": {
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"updatedBy": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"updatedAt": {
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"format": "date-time"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"keyword": {
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": "array"
|
|
||||||
},
|
|
||||||
"category": {
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": "array"
|
|
||||||
},
|
|
||||||
"description": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"fileType": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"fileSize": {
|
|
||||||
"type": "number",
|
|
||||||
"format": "double"
|
|
||||||
},
|
|
||||||
"fileName": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"pathname": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"createdBy",
|
|
||||||
"createdAt",
|
|
||||||
"updatedBy",
|
|
||||||
"updatedAt",
|
|
||||||
"keyword",
|
|
||||||
"category",
|
|
||||||
"description",
|
|
||||||
"title",
|
|
||||||
"fileType",
|
|
||||||
"fileSize",
|
|
||||||
"fileName",
|
|
||||||
"pathname"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue