Skip to content

Commit

Permalink
Deploying from phrase/openapi@0139c51d
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Dec 13, 2024
1 parent fde08ce commit 7fae83e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34195,6 +34195,19 @@ components:
description: (Optional) Requires autotranslate_enabled to be true
example: true
type: boolean
default_encoding:
description: "(Optional) Sets the default encoding for Uploads. If you leave\
\ it empty, we will try to guess it automatically for you when you Upload\
\ a file. You can still override this value by setting the <a href='#post-/projects/-project_id-/uploads'>`file_encoding`</a>\
\ parameter for Uploads."
enum:
- UTF-8
- UTF-16
- UTF-16BE
- UTF-16LE
- ISO-8859-1
example: UTF-8
type: string
title: project/update/parameters
type: object
job_locales_create_parameters:
Expand Down
1 change: 1 addition & 0 deletions docs/ProjectUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Name | Type | Description | Notes
**AutotranslateMarkAsUnverified** | **bool** | (Optional) Requires autotranslate_enabled to be true | [optional]
**AutotranslateUseMachineTranslation** | **bool** | (Optional) Requires autotranslate_enabled to be true | [optional]
**AutotranslateUseTranslationMemory** | **bool** | (Optional) Requires autotranslate_enabled to be true | [optional]
**DefaultEncoding** | **string** | (Optional) Sets the default encoding for Uploads. If you leave it empty, we will try to guess it automatically for you when you Upload a file. You can still override this value by setting the &lt;a href&#x3D;&#39;#post-/projects/-project_id-/uploads&#39;&gt;&#x60;file_encoding&#x60;&lt;/a&gt; parameter for Uploads. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 2 additions & 0 deletions model_project_update_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ type ProjectUpdateParameters struct {
AutotranslateUseMachineTranslation *bool `json:"autotranslate_use_machine_translation,omitempty"`
// (Optional) Requires autotranslate_enabled to be true
AutotranslateUseTranslationMemory *bool `json:"autotranslate_use_translation_memory,omitempty"`
// (Optional) Sets the default encoding for Uploads. If you leave it empty, we will try to guess it automatically for you when you Upload a file. You can still override this value by setting the <a href='#post-/projects/-project_id-/uploads'>`file_encoding`</a> parameter for Uploads.
DefaultEncoding string `json:"default_encoding,omitempty"`
}

0 comments on commit 7fae83e

Please sign in to comment.