diff options
-rw-r--r-- | src/generated/structs.rs | 2 | ||||
-rw-r--r-- | swagger.v1.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/generated/structs.rs b/src/generated/structs.rs index 6fc1a3a..46db7b2 100644 --- a/src/generated/structs.rs +++ b/src/generated/structs.rs @@ -687,7 +687,7 @@ pub struct CreateRepoOption { /// Name of the repository to create pub name: String, /// ObjectFormatName of the underlying git repository - pub object_format_name: Option<CreateRepoOptionObjectFormatName>, + pub object_format_name: CreateRepoOptionObjectFormatName, /// Whether the repository is private pub private: Option<bool>, /// Readme of the repository to create diff --git a/swagger.v1.json b/swagger.v1.json index e37c682..5d93ddb 100644 --- a/swagger.v1.json +++ b/swagger.v1.json @@ -17348,7 +17348,7 @@ "CreateRepoOption": { "description": "CreateRepoOption options when creating repository", "type": "object", - "required": ["name"], + "required": ["name", "object_format_name"], "properties": { "auto_init": { "description": "Whether the repository should be auto-initialized?", |