From 9b784f1f955003d555dceeb2ccd58e2ac563526b Mon Sep 17 00:00:00 2001 From: Cyborus Date: Thu, 25 Apr 2024 12:51:54 -0400 Subject: `CreateRepoOption`'s `object_format_name` field is required --- src/generated/structs.rs | 2 +- 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, + pub object_format_name: CreateRepoOptionObjectFormatName, /// Whether the repository is private pub private: Option, /// 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?", -- cgit v1.2.3