diff --git a/spec/openapi.yaml b/spec/openapi.yaml index 29163d14..524e839c 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -2442,23 +2442,11 @@ paths: type: string fileType: description: >- - Unique identifier for the file type. To allow translation + A unique identifier for the file type. To allow translation imports, XML and JSON files must be uploaded with `source_key_paths` defined. enum: - - android - - ios - - gettext - - java_properties - - yaml - - xml - - json - - qt - - resx - - csv - - pres - - stringsdict - - srt + $ref: '#/components/schemas/FileType/enum' type: string translationState: description: | @@ -11253,34 +11241,7 @@ components: format: 'YYYY-MM-DDThh:mm:ssZ' type: string fileType: - description: The type of file - enum: - - android - - ios - - gettext - - html - - java_properties - - xliff - - xml - - json - - docx - - pptx - - xlsx - - idml - - qt - - resx - - plain_text - - csv - - srt - - stringsdict - - xls - - doc - - ppt - - pres - - madcap - - yaml - - markdown - type: string + $ref: '#/components/schemas/FileType' fileUri: description: A unique identifier for the uploaded file type: string @@ -11401,34 +11362,7 @@ components: format: 'YYYY-MM-DDThh:mm:ssZ' type: string fileType: - description: The type of file - enum: - - android - - ios - - gettext - - html - - java_properties - - xliff - - xml - - json - - docx - - pptx - - xlsx - - idml - - qt - - resx - - plain_text - - csv - - srt - - stringsdict - - xls - - doc - - ppt - - pres - - madcap - - yaml - - markdown - type: string + $ref: '#/components/schemas/FileType' fileUri: description: A unique identifier for the uploaded file type: string @@ -11513,34 +11447,7 @@ components: description: The number of excluded words in the uploaded file type: integer fileType: - description: The type of file - enum: - - android - - ios - - gettext - - html - - java_properties - - xliff - - xml - - json - - docx - - pptx - - xlsx - - idml - - qt - - resx - - plain_text - - csv - - srt - - stringsdict - - xls - - doc - - ppt - - pres - - madcap - - yaml - - markdown - type: string + $ref: '#/components/schemas/FileType' fileUri: description: A unique identifier for the uploaded file type: string