CreateRepoOption
's object_format_name
field is required
This commit is contained in:
parent
7ca2962b29
commit
9b784f1f95
|
@ -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
|
||||
|
|
|
@ -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?",
|
||||
|
|
Loading…
Reference in a new issue