1
0
Fork 0

CreateRepoOption's object_format_name field is required

This commit is contained in:
Cyborus 2024-04-25 12:51:54 -04:00
parent 7ca2962b29
commit 9b784f1f95
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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?",