diff --git a/docs/CreateRepoOption.md b/docs/CreateRepoOption.md index 980db76..669e445 100644 --- a/docs/CreateRepoOption.md +++ b/docs/CreateRepoOption.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **issueLabels** | **String** | Label-Set to use | [optional] **license** | **String** | License to use | [optional] **name** | **String** | Name of the repository to create | -**objectFormatName** | [**ObjectFormatNameEnum**](#ObjectFormatNameEnum) | ObjectFormatName of the underlying git repository | [optional] +**objectFormatName** | [**ObjectFormatNameEnum**](#ObjectFormatNameEnum) | ObjectFormatName of the underlying git repository, empty string for default (sha1) | [optional] **_private** | **Boolean** | Whether the repository is private | [optional] **readme** | **String** | Readme of the repository to create | [optional] **template** | **Boolean** | Whether the repository is template | [optional] diff --git a/src/main/java/org/gitnex/tea4j/v2/models/CreateRepoOption.java b/src/main/java/org/gitnex/tea4j/v2/models/CreateRepoOption.java index eb420fc..5fb2532 100644 --- a/src/main/java/org/gitnex/tea4j/v2/models/CreateRepoOption.java +++ b/src/main/java/org/gitnex/tea4j/v2/models/CreateRepoOption.java @@ -48,7 +48,7 @@ public class CreateRepoOption implements Serializable { @SerializedName("name") private String name = null; - /** ObjectFormatName of the underlying git repository */ + /** ObjectFormatName of the underlying git repository, empty string for default (sha1) */ @JsonAdapter(ObjectFormatNameEnum.Adapter.class) public enum ObjectFormatNameEnum { SHA1("sha1"), @@ -294,11 +294,13 @@ public class CreateRepoOption implements Serializable { } /** - * ObjectFormatName of the underlying git repository + * ObjectFormatName of the underlying git repository, empty string for default (sha1) * * @return objectFormatName */ - @Schema(description = "ObjectFormatName of the underlying git repository") + @Schema( + description = + "ObjectFormatName of the underlying git repository, empty string for default (sha1)") public ObjectFormatNameEnum getObjectFormatName() { return objectFormatName; }