File tree Expand file tree Collapse file tree 1 file changed +40
-8
lines changed
Expand file tree Collapse file tree 1 file changed +40
-8
lines changed Original file line number Diff line number Diff line change 3030 "Acl" : {
3131 "description" : " A list of CIDR network addresses that are allowed to access the instance." ,
3232 "items" : {
33- "example" : " 192.168.100.0/24 " ,
33+ "example" : " 1.2.3.4/1 " ,
3434 "format" : " cidr" ,
3535 "type" : " string"
3636 },
4444 "$ref" : " #/components/schemas/Acl"
4545 },
4646 "flavor" : {
47- "description" : " Desired instance flavor. Must be one of the defined enum values" ,
48- "enum" : [
49- " git-10" ,
50- " git-100"
51- ],
52- "maxLength" : 255 ,
53- "type" : " string"
47+ "allOf" : [
48+ {
49+ "$ref" : " #/components/schemas/InstanceFlavor"
50+ }
51+ ]
5452 },
5553 "name" : {
5654 "description" : " A user chosen name to distinguish multiple STACKIT Git instances." ,
198196 " acl"
199197 ]
200198 },
199+ "InstanceFlavor" : {
200+ "description" : " Desired instance flavor. Must be one of the defined enum values." ,
201+ "enum" : [
202+ " git-10" ,
203+ " git-100"
204+ ],
205+ "maxLength" : 255 ,
206+ "type" : " string"
207+ },
201208 "InternalServerErrorResponse" : {
202209 "description" : " Internal server error." ,
203210 "properties" : {
251258 " runner-labels"
252259 ]
253260 },
261+ "PatchInstancePayload" : {
262+ "description" : " Properties to patch on an instance. All fields are optional." ,
263+ "properties" : {
264+ "acl" : {
265+ "allOf" : [
266+ {
267+ "$ref" : " #/components/schemas/Acl"
268+ }
269+ ],
270+ "nullable" : true
271+ }
272+ },
273+ "type" : " object"
274+ },
254275 "PatchOperation" : {
255276 "description" : " Request a STACKIT Git instance to be patch with these properties." ,
256277 "properties" : {
665686 "operationId" : " PatchInstance" ,
666687 "requestBody" : {
667688 "content" : {
689+ "application/json" : {
690+ "example" : {
691+ "acl" : [
692+ " 1.1.1.1/1" ,
693+ " 1.2.3.4/5"
694+ ]
695+ },
696+ "schema" : {
697+ "$ref" : " #/components/schemas/PatchInstancePayload"
698+ }
699+ },
668700 "application/json-patch+json" : {
669701 "schema" : {
670702 "example" : [
You can’t perform that action at this time.
0 commit comments