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
|
/// Name of the repository to create
|
||||||
pub name: String,
|
pub name: String,
|
||||||
/// ObjectFormatName of the underlying git repository
|
/// ObjectFormatName of the underlying git repository
|
||||||
pub object_format_name: Option<CreateRepoOptionObjectFormatName>,
|
pub object_format_name: CreateRepoOptionObjectFormatName,
|
||||||
/// Whether the repository is private
|
/// Whether the repository is private
|
||||||
pub private: Option<bool>,
|
pub private: Option<bool>,
|
||||||
/// Readme of the repository to create
|
/// Readme of the repository to create
|
||||||
|
|
|
@ -17348,7 +17348,7 @@
|
||||||
"CreateRepoOption": {
|
"CreateRepoOption": {
|
||||||
"description": "CreateRepoOption options when creating repository",
|
"description": "CreateRepoOption options when creating repository",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["name"],
|
"required": ["name", "object_format_name"],
|
||||||
"properties": {
|
"properties": {
|
||||||
"auto_init": {
|
"auto_init": {
|
||||||
"description": "Whether the repository should be auto-initialized?",
|
"description": "Whether the repository should be auto-initialized?",
|
||||||
|
|
Loading…
Reference in a new issue