Skip to content

Commit 1e35f4b

Browse files
authored
Merge pull request #8 from conniey/add-feeds
Add support for listing QueryDescription objects
2 parents d74e607 + 96f08bd commit 1e35f4b

File tree

1 file changed

+204
-14
lines changed

1 file changed

+204
-14
lines changed

sdk/servicebus/azure-servicebus/swagger/servicebus-swagger.json

+204-14
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"AccessRights": {
7070
"description": "Access rights of the entity",
7171
"type": "string",
72-
"xml":{
72+
"xml": {
73+
"name": "AccessRights",
7374
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
7475
},
7576
"enum": [
@@ -82,29 +83,30 @@
8283
"description": "Authorization rule of an entity",
8384
"type": "object",
8485
"xml": {
86+
"name": "AuthorizationRule",
8587
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
8688
},
8789
"properties": {
88-
"ClaimType":{
90+
"ClaimType": {
8991
"type": "string",
9092
"xml": {
9193
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
9294
}
9395
},
94-
"CreatedTime":{
96+
"CreatedTime": {
9597
"type": "string",
9698
"format": "date-time",
9799
"xml": {
98100
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
99101
}
100102
},
101-
"KeyName":{
103+
"KeyName": {
102104
"type": "string",
103105
"xml": {
104106
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
105107
}
106108
},
107-
"ModifiedTime":{
109+
"ModifiedTime": {
108110
"type": "string",
109111
"format": "date-time",
110112
"xml": {
@@ -131,7 +133,7 @@
131133
"CreateQueueBody": {
132134
"description": "The request body for creating a queue.",
133135
"type": "object",
134-
"xml":{
136+
"xml": {
135137
"name": "entry",
136138
"namespace": "http://www.w3.org/2005/Atom"
137139
},
@@ -162,7 +164,7 @@
162164
"CreateTopicBody": {
163165
"description": "The request body for creating a topic.",
164166
"type": "object",
165-
"xml":{
167+
"xml": {
166168
"name": "entry",
167169
"namespace": "http://www.w3.org/2005/Atom"
168170
},
@@ -193,7 +195,7 @@
193195
"EntityAvailabilityStatus": {
194196
"description": "Availibility status of the entity",
195197
"type": "string",
196-
"xml":{
198+
"xml": {
197199
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
198200
},
199201
"enum": [
@@ -207,7 +209,7 @@
207209
"EntityStatus": {
208210
"description": "Status of a Service Bus resource",
209211
"type": "string",
210-
"xml":{
212+
"xml": {
211213
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
212214
},
213215
"enum": [
@@ -268,13 +270,15 @@
268270
}
269271
},
270272
"xml": {
273+
"name": "CountDetails",
271274
"namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus"
272275
}
273276
},
274277
"QueueDescription": {
275278
"description": "Description of a Service Bus queue resource.",
276279
"type": "object",
277280
"xml": {
281+
"name": "QueueDescription",
278282
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
279283
},
280284
"properties": {
@@ -286,6 +290,7 @@
286290
"description": "Authorization rules for resource.",
287291
"type": "array",
288292
"xml": {
293+
"name": "AuthorizationRules",
289294
"wrapped": true,
290295
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
291296
},
@@ -411,7 +416,144 @@
411416
}
412417
}
413418
},
414-
"QueueRuntimeInfo":{
419+
"QueueDescriptionEntry": {
420+
"description": "Represents an entry in the feed when querying queues",
421+
"type": "object",
422+
"properties": {
423+
"base": {
424+
"description": "Base URL for the query.",
425+
"type": "string",
426+
"xml": {
427+
"name": "base",
428+
"attribute": true,
429+
"prefix": "xml"
430+
}
431+
},
432+
"id": {
433+
"description": "The URL of the GET request",
434+
"type": "string"
435+
},
436+
"title": {
437+
"description": "The name of the queue",
438+
"$ref": "#/definitions/ResponseTitle"
439+
},
440+
"published": {
441+
"description": "The timestamp for when this queue was published",
442+
"type": "string",
443+
"format": "date-time"
444+
},
445+
"updated": {
446+
"description": "The timestamp for when this queue was last updated",
447+
"type": "string",
448+
"format": "date-time"
449+
},
450+
"author": {
451+
"$ref": "#/definitions/ResponseAuthor"
452+
},
453+
"link": {
454+
"$ref": "#/definitions/ResponseLink"
455+
},
456+
"content": {
457+
"description": "The QueueDescription",
458+
"type": "object",
459+
"properties": {
460+
"type": {
461+
"description": "Type of content in queue response",
462+
"type": "string",
463+
"xml": {
464+
"attribute": true
465+
}
466+
},
467+
"QueueDescription": {
468+
"$ref": "#/definitions/QueueDescription"
469+
}
470+
}
471+
}
472+
},
473+
"xml": {
474+
"name": "entry",
475+
"namespace": "http://www.w3.org/2005/Atom"
476+
}
477+
},
478+
"QueueDescriptionFeed": {
479+
"description": "Response from listing Service Bus queues.",
480+
"type": "object",
481+
"xml": {
482+
"name": "feed",
483+
"namespace": "http://www.w3.org/2005/Atom"
484+
},
485+
"properties": {
486+
"id": {
487+
"description": "URL of the list queues query.",
488+
"type": "string"
489+
},
490+
"title": {
491+
"description": "The entity type for the feed.",
492+
"type": "string"
493+
},
494+
"updated": {
495+
"description": "Datetime of the query.",
496+
"type": "string",
497+
"format": "date-time"
498+
},
499+
"entry": {
500+
"description": "Queue entries.",
501+
"type": "array",
502+
"items": {
503+
"$ref": "#/definitions/QueueDescriptionEntry"
504+
}
505+
}
506+
}
507+
},
508+
"QueueDescriptionResponse": {
509+
"description": "The response from a Queue_Get operation",
510+
"type": "object",
511+
"properties": {
512+
"id": {
513+
"description": "The URL of the GET request",
514+
"type": "string"
515+
},
516+
"title": {
517+
"description": "The name of the queue",
518+
"type": "string"
519+
},
520+
"published": {
521+
"description": "The timestamp for when this queue was published",
522+
"type": "string"
523+
},
524+
"updated": {
525+
"description": "The timestamp for when this queue was last updated",
526+
"type": "string"
527+
},
528+
"author": {
529+
"$ref": "#/definitions/ResponseAuthor"
530+
},
531+
"link": {
532+
"$ref": "#/definitions/ResponseLink"
533+
},
534+
"content": {
535+
"description": "Contents of a Queue_Get response",
536+
"type": "object",
537+
"properties": {
538+
"type": {
539+
"description": "Type of content in queue response",
540+
"type": "string",
541+
"xml": {
542+
"attribute": true
543+
}
544+
},
545+
"QueueDescription": {
546+
"$ref": "#/definitions/QueueDescription"
547+
}
548+
}
549+
}
550+
},
551+
"xml": {
552+
"name": "entry",
553+
"namespace": "http://www.w3.org/2005/Atom"
554+
}
555+
},
556+
"QueueRuntimeInfo": {
415557
"description": "Service Bus queue metrics.",
416558
"type": "object",
417559
"xml": {
@@ -469,6 +611,53 @@
469611
}
470612
}
471613
},
614+
"ResponseAuthor": {
615+
"description": "The author that created this resource",
616+
"type": "object",
617+
"properties": {
618+
"name": {
619+
"description": "The Service Bus namespace",
620+
"type": "string"
621+
}
622+
}
623+
},
624+
"ResponseLink": {
625+
"description": "The URL for the HTTP request",
626+
"type": "object",
627+
"properties": {
628+
"href": {
629+
"description": "The URL of the GET request",
630+
"type": "string",
631+
"xml": {
632+
"attribute": true
633+
}
634+
},
635+
"rel": {
636+
"description": "What the link href is relative to",
637+
"type": "string",
638+
"xml": {
639+
"attribute": true
640+
}
641+
}
642+
}
643+
},
644+
"ResponseTitle": {
645+
"description": "The title of the response",
646+
"type": "object",
647+
"properties": {
648+
"type": {
649+
"description": "Type of value",
650+
"type": "string",
651+
"xml": {
652+
"attribute": true
653+
}
654+
},
655+
"title": {
656+
"description": "Contents of the title.",
657+
"type": "string"
658+
}
659+
}
660+
},
472661
"ServiceBusManagementError": {
473662
"description": "The error response from Service Bus.",
474663
"type": "object",
@@ -487,6 +676,7 @@
487676
"description": "Description of a Service Bus topic resource.",
488677
"type": "object",
489678
"xml": {
679+
"name": "TopicDescription",
490680
"namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
491681
},
492682
"properties": {
@@ -622,7 +812,7 @@
622812
"responses": {
623813
"200": {
624814
"description": "OK",
625-
"schema":{
815+
"schema": {
626816
"type": "object"
627817
}
628818
},
@@ -693,7 +883,7 @@
693883
"responses": {
694884
"200": {
695885
"description": "OK",
696-
"schema":{
886+
"schema": {
697887
"type": "object"
698888
}
699889
},
@@ -743,7 +933,7 @@
743933
"responses": {
744934
"200": {
745935
"description": "OK",
746-
"schema":{
936+
"schema": {
747937
"type": "object"
748938
}
749939
},
@@ -754,4 +944,4 @@
754944
}
755945
}
756946
}
757-
}
947+
}

0 commit comments

Comments
 (0)