Skip to content

Commit c146c26

Browse files
Fix shouldn't have Content-Type header
1 parent 276d658 commit c146c26

File tree

4 files changed

+0
-297
lines changed

4 files changed

+0
-297
lines changed

specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json

Lines changed: 0 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -111,17 +111,6 @@
111111
"$ref": "#/definitions/KeyListResult"
112112
},
113113
"headers": {
114-
"Content-Type": {
115-
"type": "string",
116-
"description": "Content-Type header",
117-
"enum": [
118-
"application/vnd.microsoft.appconfig.keyset+json",
119-
"application/problem+json"
120-
],
121-
"x-ms-enum": {
122-
"modelAsString": false
123-
}
124-
},
125114
"Sync-Token": {
126115
"type": "string",
127116
"description": "Used to guarantee real-time consistency between requests."
@@ -373,17 +362,6 @@
373362
"$ref": "#/definitions/KeyValueListResult"
374363
},
375364
"headers": {
376-
"Content-Type": {
377-
"type": "string",
378-
"description": "Content-Type header",
379-
"enum": [
380-
"application/vnd.microsoft.appconfig.kvset+json",
381-
"application/problem+json"
382-
],
383-
"x-ms-enum": {
384-
"modelAsString": false
385-
}
386-
},
387365
"ETag": {
388366
"type": "string",
389367
"description": "A value representing the current state of the resource."
@@ -741,17 +719,6 @@
741719
"$ref": "#/definitions/KeyValue"
742720
},
743721
"headers": {
744-
"Content-Type": {
745-
"type": "string",
746-
"description": "Content-Type header",
747-
"enum": [
748-
"application/vnd.microsoft.appconfig.kv+json",
749-
"application/problem+json"
750-
],
751-
"x-ms-enum": {
752-
"modelAsString": false
753-
}
754-
},
755722
"ETag": {
756723
"type": "string",
757724
"description": "A value representing the current state of the resource."
@@ -865,17 +832,6 @@
865832
"$ref": "#/definitions/KeyValue"
866833
},
867834
"headers": {
868-
"Content-Type": {
869-
"type": "string",
870-
"description": "Content-Type header",
871-
"enum": [
872-
"application/vnd.microsoft.appconfig.kv+json",
873-
"application/problem+json"
874-
],
875-
"x-ms-enum": {
876-
"modelAsString": false
877-
}
878-
},
879835
"ETag": {
880836
"type": "string",
881837
"description": "A value representing the current state of the resource."
@@ -956,17 +912,6 @@
956912
"$ref": "#/definitions/KeyValue"
957913
},
958914
"headers": {
959-
"Content-Type": {
960-
"type": "string",
961-
"description": "Content-Type header",
962-
"enum": [
963-
"application/vnd.microsoft.appconfig.kv+json",
964-
"application/problem+json"
965-
],
966-
"x-ms-enum": {
967-
"modelAsString": false
968-
}
969-
},
970915
"ETag": {
971916
"type": "string",
972917
"description": "A value representing the current state of the resource."
@@ -1244,17 +1189,6 @@
12441189
"$ref": "#/definitions/LabelListResult"
12451190
},
12461191
"headers": {
1247-
"Content-Type": {
1248-
"type": "string",
1249-
"description": "Content-Type header",
1250-
"enum": [
1251-
"application/vnd.microsoft.appconfig.labelset+json",
1252-
"application/problem+json"
1253-
],
1254-
"x-ms-enum": {
1255-
"modelAsString": false
1256-
}
1257-
},
12581192
"Sync-Token": {
12591193
"type": "string",
12601194
"description": "Used to guarantee real-time consistency between requests."
@@ -1433,17 +1367,6 @@
14331367
"$ref": "#/definitions/KeyValue"
14341368
},
14351369
"headers": {
1436-
"Content-Type": {
1437-
"type": "string",
1438-
"description": "Content-Type header",
1439-
"enum": [
1440-
"application/vnd.microsoft.appconfig.kv+json",
1441-
"application/problem+json"
1442-
],
1443-
"x-ms-enum": {
1444-
"modelAsString": false
1445-
}
1446-
},
14471370
"ETag": {
14481371
"type": "string",
14491372
"description": "A value representing the current state of the resource."
@@ -1532,17 +1455,6 @@
15321455
"$ref": "#/definitions/KeyValue"
15331456
},
15341457
"headers": {
1535-
"Content-Type": {
1536-
"type": "string",
1537-
"description": "Content-Type header",
1538-
"enum": [
1539-
"application/vnd.microsoft.appconfig.kv+json",
1540-
"application/problem+json"
1541-
],
1542-
"x-ms-enum": {
1543-
"modelAsString": false
1544-
}
1545-
},
15461458
"ETag": {
15471459
"type": "string",
15481460
"description": "A value representing the current state of the resource."
@@ -1753,17 +1665,6 @@
17531665
"$ref": "#/definitions/KeyValueListResult"
17541666
},
17551667
"headers": {
1756-
"Content-Type": {
1757-
"type": "string",
1758-
"description": "Content-Type header",
1759-
"enum": [
1760-
"application/vnd.microsoft.appconfig.kvset+json",
1761-
"application/problem+json"
1762-
],
1763-
"x-ms-enum": {
1764-
"modelAsString": false
1765-
}
1766-
},
17671668
"ETag": {
17681669
"type": "string",
17691670
"description": "A value representing the current state of the resource."
@@ -2121,17 +2022,6 @@
21212022
"$ref": "#/definitions/SnapshotListResult"
21222023
},
21232024
"headers": {
2124-
"Content-Type": {
2125-
"type": "string",
2126-
"description": "Content-Type header",
2127-
"enum": [
2128-
"application/vnd.microsoft.appconfig.snapshotset+json",
2129-
"application/problem+json"
2130-
],
2131-
"x-ms-enum": {
2132-
"modelAsString": false
2133-
}
2134-
},
21352025
"Sync-Token": {
21362026
"type": "string",
21372027
"description": "Used to guarantee real-time consistency between requests."
@@ -2348,17 +2238,6 @@
23482238
"$ref": "#/definitions/Snapshot"
23492239
},
23502240
"headers": {
2351-
"Content-Type": {
2352-
"type": "string",
2353-
"description": "Content-Type header",
2354-
"enum": [
2355-
"application/vnd.microsoft.appconfig.snapshot+json",
2356-
"application/problem+json"
2357-
],
2358-
"x-ms-enum": {
2359-
"modelAsString": false
2360-
}
2361-
},
23622241
"ETag": {
23632242
"type": "string",
23642243
"description": "A value representing the current state of the resource."
@@ -2450,17 +2329,6 @@
24502329
"$ref": "#/definitions/Snapshot"
24512330
},
24522331
"headers": {
2453-
"Content-Type": {
2454-
"type": "string",
2455-
"description": "Content-Type header",
2456-
"enum": [
2457-
"application/vnd.microsoft.appconfig.snapshot+json",
2458-
"application/problem+json"
2459-
],
2460-
"x-ms-enum": {
2461-
"modelAsString": false
2462-
}
2463-
},
24642332
"ETag": {
24652333
"type": "string",
24662334
"description": "A value representing the current state of the resource."
@@ -2562,17 +2430,6 @@
25622430
"$ref": "#/definitions/Snapshot"
25632431
},
25642432
"headers": {
2565-
"Content-Type": {
2566-
"type": "string",
2567-
"description": "Content-Type header",
2568-
"enum": [
2569-
"application/vnd.microsoft.appconfig.snapshot+json",
2570-
"application/problem+json"
2571-
],
2572-
"x-ms-enum": {
2573-
"modelAsString": false
2574-
}
2575-
},
25762433
"ETag": {
25772434
"type": "string",
25782435
"description": "A value representing the current state of the resource."

specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2021-10/schemaregistry.json

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -374,17 +374,6 @@
374374
"type": "file"
375375
},
376376
"headers": {
377-
"Content-Type": {
378-
"type": "string",
379-
"description": "The content type for given schema.",
380-
"enum": [
381-
"application/json; serialization=Avro"
382-
],
383-
"x-ms-enum": {
384-
"modelAsString": false
385-
},
386-
"x-nullable": false
387-
},
388377
"Location": {
389378
"type": "string",
390379
"description": "URL location of schema, identified by schema group, schema name, and version."
@@ -460,17 +449,6 @@
460449
"type": "file"
461450
},
462451
"headers": {
463-
"Content-Type": {
464-
"type": "string",
465-
"description": "The content type for given schema.",
466-
"enum": [
467-
"application/json; serialization=Avro"
468-
],
469-
"x-ms-enum": {
470-
"modelAsString": false
471-
},
472-
"x-nullable": false
473-
},
474452
"Location": {
475453
"type": "string",
476454
"description": "URL location of schema, identified by schema group, schema name, and version."

specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2022-10/schemaregistry.json

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -380,36 +380,6 @@
380380
"type": "file"
381381
},
382382
"headers": {
383-
"Content-Type": {
384-
"type": "string",
385-
"description": "The content type for given schema.",
386-
"enum": [
387-
"application/json; serialization=Avro",
388-
"application/json; serialization=Json",
389-
"text/plain; charset=utf-8"
390-
],
391-
"x-ms-enum": {
392-
"name": "SchemaContentTypeValues",
393-
"modelAsString": false,
394-
"values": [
395-
{
396-
"name": "avro",
397-
"value": "application/json; serialization=Avro",
398-
"description": "Avro encoding."
399-
},
400-
{
401-
"name": "json",
402-
"value": "application/json; serialization=Json",
403-
"description": "JSON encoding"
404-
},
405-
{
406-
"name": "custom",
407-
"value": "text/plain; charset=utf-8",
408-
"description": "Plain text custom encoding."
409-
}
410-
]
411-
}
412-
},
413383
"Location": {
414384
"type": "string",
415385
"description": "URL location of schema, identified by schema group, schema name, and version."
@@ -487,36 +457,6 @@
487457
"type": "file"
488458
},
489459
"headers": {
490-
"Content-Type": {
491-
"type": "string",
492-
"description": "The content type for given schema.",
493-
"enum": [
494-
"application/json; serialization=Avro",
495-
"application/json; serialization=Json",
496-
"text/plain; charset=utf-8"
497-
],
498-
"x-ms-enum": {
499-
"name": "SchemaContentTypeValues",
500-
"modelAsString": false,
501-
"values": [
502-
{
503-
"name": "avro",
504-
"value": "application/json; serialization=Avro",
505-
"description": "Avro encoding."
506-
},
507-
{
508-
"name": "json",
509-
"value": "application/json; serialization=Json",
510-
"description": "JSON encoding"
511-
},
512-
{
513-
"name": "custom",
514-
"value": "text/plain; charset=utf-8",
515-
"description": "Plain text custom encoding."
516-
}
517-
]
518-
}
519-
},
520460
"Location": {
521461
"type": "string",
522462
"description": "URL location of schema, identified by schema group, schema name, and version."

0 commit comments

Comments
 (0)