UNPKG

@microsoft.azure/autorest.testserver

Version:

This project contains a set of OpenAPI definitions and a server implementing the corresponding API. Use this to test compliance of AutoRest generators.

1,502 lines 64.8 kB
{ "swagger": "2.0", "info": { "title": "AutoRest Swagger BAT dictionary Service", "description": "Test Infrastructure for AutoRest Swagger BAT", "version": "1.0.0" }, "host": "localhost:3000", "schemes": [ "http" ], "produces": [ "application/json" ], "consumes": [ "application/json" ], "paths": { "/dictionary/null": { "get": { "operationId": "dictionary_getNull", "description": "Get null dictionary value", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The null dictionary value", "schema": { "description": "The null dictionary value", "type": "object", "additionalProperties": { "type": "integer" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/empty": { "get": { "operationId": "dictionary_getEmpty", "description": "Get empty dictionary value {}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The empty dictionary value {}", "schema": { "description": "The empty dictionary value {}", "type": "object", "additionalProperties": { "type": "integer" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putEmpty", "description": "Set dictionary value empty {}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The empty dictionary value {}", "type": "object", "additionalProperties": { "type": "string" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/nullvalue": { "get": { "operationId": "dictionary_getNullValue", "description": "Get Dictionary with null value", "responses": { "200": { "description": "The Dictionary with null value", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/nullkey": { "get": { "operationId": "dictionary_getNullKey", "description": "Get Dictionary with null key", "responses": { "200": { "description": "The Dictionary with null key", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/keyemptystring": { "get": { "operationId": "dictionary_getEmptyStringKey", "description": "Get Dictionary with key as empty string", "responses": { "200": { "description": "The Dictionary with key as empty string", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/invalid": { "get": { "operationId": "dictionary_getInvalid", "description": "Get invalid Dictionary value", "responses": { "200": { "description": "The invalid Dictionary value", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/boolean/tfft": { "get": { "operationId": "dictionary_getBooleanTfft", "description": "Get boolean dictionary value {\"0\": true, \"1\": false, \"2\": false, \"3\": true }", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": true, \"1\": false, \"2\": false, \"3\": true }", "schema": { "description": "The dictionary value {\"0\": true, \"1\": false, \"2\": false, \"3\": true }", "type": "object", "additionalProperties": { "type": "boolean" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putBooleanTfft", "description": "Set dictionary value empty {\"0\": true, \"1\": false, \"2\": false, \"3\": true }", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": true, \"1\": false, \"2\": false, \"3\": true }", "type": "object", "additionalProperties": { "type": "boolean" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/boolean/true.null.false": { "get": { "operationId": "dictionary_getBooleanInvalidNull", "description": "Get boolean dictionary value {\"0\": true, \"1\": null, \"2\": false }", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": true, \"1\": null, \"2\": false }", "schema": { "description": "The dictionary value {\"0\": true, \"1\": null, \"2\": false }", "type": "object", "additionalProperties": { "type": "boolean" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/boolean/true.boolean.false": { "get": { "operationId": "dictionary_getBooleanInvalidString", "description": "Get boolean dictionary value '{\"0\": true, \"1\": \"boolean\", \"2\": false}'", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value '{\"0\": true, \"1\": \"boolean\", \"2\": false}'", "schema": { "description": "The dictionary value [true, 'boolean', false]", "type": "object", "additionalProperties": { "type": "boolean" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/integer/1.-1.3.300": { "get": { "operationId": "dictionary_getIntegerValid", "description": "Get integer dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "type": "object", "additionalProperties": { "type": "integer" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putIntegerValid", "description": "Set dictionary value empty {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "type": "object", "additionalProperties": { "type": "integer" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/integer/1.null.zero": { "get": { "operationId": "dictionary_getIntInvalidNull", "description": "Get integer dictionary value {\"0\": 1, \"1\": null, \"2\": 0}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1, \"1\": null, \"2\": 0}", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": null, \"2\": 0}", "type": "object", "additionalProperties": { "type": "integer" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/integer/1.integer.0": { "get": { "operationId": "dictionary_getIntInvalidString", "description": "Get integer dictionary value {\"0\": 1, \"1\": \"integer\", \"2\": 0}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1, \"1\": \"integer\", \"2\": 0}", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": \"integer\", \"2\": 0}", "type": "object", "additionalProperties": { "type": "integer" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/long/1.-1.3.300": { "get": { "operationId": "dictionary_getLongValid", "description": "Get integer dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putLongValid", "description": "Set dictionary value empty {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": -1, \"2\": 3, \"3\": 300}", "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/long/1.null.zero": { "get": { "operationId": "dictionary_getLongInvalidNull", "description": "Get long dictionary value {\"0\": 1, \"1\": null, \"2\": 0}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1, \"1\": null, \"2\": 0}", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": null, \"2\": 0}", "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/long/1.integer.0": { "get": { "operationId": "dictionary_getLongInvalidString", "description": "Get long dictionary value {\"0\": 1, \"1\": \"integer\", \"2\": 0}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1, \"1\": \"integer\", \"2\": 0}", "schema": { "description": "The dictionary value {\"0\": 1, \"1\": \"integer\", \"2\": 0}", "type": "object", "additionalProperties": { "type": "integer", "format": "int64" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/float/0--0.01-1.2e20": { "get": { "operationId": "dictionary_getFloatValid", "description": "Get float dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "schema": { "description": "The dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "type": "object", "additionalProperties": { "type": "number", "format": "float" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putFloatValid", "description": "Set dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "type": "object", "additionalProperties": { "type": "number", "format": "float" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/float/0.0-null-1.2e20": { "get": { "operationId": "dictionary_getFloatInvalidNull", "description": "Get float dictionary value {\"0\": 0.0, \"1\": null, \"2\": 1.2e20}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 0.0, \"1\": null, \"2\": 1.2e20}", "schema": { "description": "The dictionary value {\"0\": 0.0, \"1\": null, \"2\": 1.2e20}", "type": "object", "additionalProperties": { "type": "number", "format": "float" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/float/1.number.0": { "get": { "operationId": "dictionary_getFloatInvalidString", "description": "Get boolean dictionary value {\"0\": 1.0, \"1\": \"number\", \"2\": 0.0}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1.0, \"1\": \"number\", \"2\": 0.0}", "schema": { "description": "The dictionary value {\"0\": 1.0, \"1\": \"number\", \"2\": 0.0}", "type": "object", "additionalProperties": { "type": "number", "format": "float" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/double/0--0.01-1.2e20": { "get": { "operationId": "dictionary_getDoubleValid", "description": "Get float dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "schema": { "description": "The dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putDoubleValid", "description": "Set dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": 0, \"1\": -0.01, \"2\": 1.2e20}", "type": "object", "additionalProperties": { "type": "number", "format": "double" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/double/0.0-null-1.2e20": { "get": { "operationId": "dictionary_getDoubleInvalidNull", "description": "Get float dictionary value {\"0\": 0.0, \"1\": null, \"2\": 1.2e20}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 0.0, \"1\": null, \"2\": 1.2e20}", "schema": { "description": "The dictionary value {\"0\": 0.0, \"1\": null, \"2\": 1.2e20}", "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/double/1.number.0": { "get": { "operationId": "dictionary_getDoubleInvalidString", "description": "Get boolean dictionary value {\"0\": 1.0, \"1\": \"number\", \"2\": 0.0}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": 1.0, \"1\": \"number\", \"2\": 0.0}", "schema": { "description": "The dictionary value {\"0\": 1.0, \"1\": \"number\", \"2\": 0.0}", "type": "object", "additionalProperties": { "type": "number", "format": "double" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/string/foo1.foo2.foo3": { "get": { "operationId": "dictionary_getStringValid", "description": "Get string dictionary value {\"0\": \"foo1\", \"1\": \"foo2\", \"2\": \"foo3\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"foo1\", \"1\": \"foo2\", \"2\": \"foo3\"}", "schema": { "description": "The dictionary value {\"0\": \"foo1\", \"1\": \"foo2\", \"2\": \"foo3\"}", "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putStringValid", "description": "Set dictionary value {\"0\": \"foo1\", \"1\": \"foo2\", \"2\": \"foo3\"}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": \"foo1\", \"1\": \"foo2\", \"2\": \"foo3\"}", "type": "object", "additionalProperties": { "type": "string" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/string/foo.null.foo2": { "get": { "operationId": "dictionary_getStringWithNull", "description": "Get string dictionary value {\"0\": \"foo\", \"1\": null, \"2\": \"foo2\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"foo\", \"1\": null, \"2\": \"foo2\"}", "schema": { "description": "The dictionary value {\"0\": \"foo\", \"1\": null, \"2\": \"foo2\"}", "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/string/foo.123.foo2": { "get": { "operationId": "dictionary_getStringWithInvalid", "description": "Get string dictionary value {\"0\": \"foo\", \"1\": 123, \"2\": \"foo2\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"foo\", \"1\": 123, \"2\": \"foo2\"}", "schema": { "description": "The dictionary value {\"0\": \"foo\", \"1\": 123, \"2\": \"foo2\"}", "type": "object", "additionalProperties": { "type": "string" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date/valid": { "get": { "operationId": "dictionary_getDateValid", "description": "Get integer dictionary value {\"0\": \"2000-12-01\", \"1\": \"1980-01-02\", \"2\": \"1492-10-12\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"2000-12-01\", \"1\": \"1980-01-02\", \"2\": \"1492-10-12\"}", "schema": { "description": "The dictionary value {\"0\": \"2000-12-01\", \"1\": \"1980-01-02\", \"2\": \"1492-10-12\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putDateValid", "description": "Set dictionary value {\"0\": \"2000-12-01\", \"1\": \"1980-01-02\", \"2\": \"1492-10-12\"}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": \"2000-12-01\", \"1\": \"1980-01-02\", \"2\": \"1492-10-12\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date/invalidnull": { "get": { "operationId": "dictionary_getDateInvalidNull", "description": "Get date dictionary value {\"0\": \"2012-01-01\", \"1\": null, \"2\": \"1776-07-04\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"2012-01-01\", \"1\": null, \"2\": \"1776-07-04\"}", "schema": { "description": "The dictionary value {\"0\": \"2012-01-01\", \"1\": null, \"2\": \"1776-07-04\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date/invalidchars": { "get": { "operationId": "dictionary_getDateInvalidChars", "description": "Get date dictionary value {\"0\": \"2011-03-22\", \"1\": \"date\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"2011-03-22\", \"1\": \"date\"}", "schema": { "description": "The dictionary value {\"0\": \"2011-03-22\", \"1\": \"date\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date-time/valid": { "get": { "operationId": "dictionary_getDateTimeValid", "description": "Get date-time dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"1980-01-02T00:11:35+01:00\", \"2\": \"1492-10-12T10:15:01-08:00\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"1980-01-02T00:11:35+01:00\", \"2\": \"1492-10-12T10:15:01-08:00\"}", "schema": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"1980-01-02T00:11:35+01:00\", \"2\": \"1492-10-12T10:15:01-08:00\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date-time" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putDateTimeValid", "description": "Set dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"1980-01-02T00:11:35+01:00\", \"2\": \"1492-10-12T10:15:01-08:00\"}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"1980-01-02T00:11:35+01:00\", \"2\": \"1492-10-12T10:15:01-08:00\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date-time" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date-time/invalidnull": { "get": { "operationId": "dictionary_getDateTimeInvalidNull", "description": "Get date dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": null}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": null}", "schema": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": null}", "type": "object", "additionalProperties": { "type": "string", "format": "date-time" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date-time/invalidchars": { "get": { "operationId": "dictionary_getDateTimeInvalidChars", "description": "Get date dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"date-time\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"date-time\"}", "schema": { "description": "The dictionary value {\"0\": \"2000-12-01t00:00:01z\", \"1\": \"date-time\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date-time" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/date-time-rfc1123/valid": { "get": { "operationId": "dictionary_getDateTimeRfc1123Valid", "description": "Get date-time-rfc1123 dictionary value {\"0\": \"Fri, 01 Dec 2000 00:00:01 GMT\", \"1\": \"Wed, 02 Jan 1980 00:11:35 GMT\", \"2\": \"Wed, 12 Oct 1492 10:15:01 GMT\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"Fri, 01 Dec 2000 00:00:01 GMT\", \"1\": \"Wed, 02 Jan 1980 00:11:35 GMT\", \"2\": \"Wed, 12 Oct 1492 10:15:01 GMT\"}", "schema": { "description": "The dictionary value {\"0\": \"Fri, 01 Dec 2000 00:00:01 GMT\", \"1\": \"Wed, 02 Jan 1980 00:11:35 GMT\", \"2\": \"Wed, 12 Oct 1492 10:15:01 GMT\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date-time-rfc1123" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putDateTimeRfc1123Valid", "description": "Set dictionary value empty {\"0\": \"Fri, 01 Dec 2000 00:00:01 GMT\", \"1\": \"Wed, 02 Jan 1980 00:11:35 GMT\", \"2\": \"Wed, 12 Oct 1492 10:15:01 GMT\"}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": \"Fri, 01 Dec 2000 00:00:01 GMT\", \"1\": \"Wed, 02 Jan 1980 00:11:35 GMT\", \"2\": \"Wed, 12 Oct 1492 10:15:01 GMT\"}", "type": "object", "additionalProperties": { "type": "string", "format": "date-time-rfc1123" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/duration/valid": { "get": { "operationId": "dictionary_getDurationValid", "description": "Get duration dictionary value {\"0\": \"P123DT22H14M12.011S\", \"1\": \"P5DT1H0M0S\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": \"P123DT22H14M12.011S\", \"1\": \"P5DT1H0M0S\"}", "schema": { "description": "The dictionary value {\"0\": \"P123DT22H14M12.011S\", \"1\": \"P5DT1H0M0S\"}", "type": "object", "additionalProperties": { "type": "string", "format": "duration" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putDurationValid", "description": "Set dictionary value {\"0\": \"P123DT22H14M12.011S\", \"1\": \"P5DT1H0M0S\"}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": \"P123DT22H14M12.011S\", \"1\": \"P5DT1H0M0S\"}", "type": "object", "additionalProperties": { "type": "string", "format": "duration" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/byte/valid": { "get": { "operationId": "dictionary_getByteValid", "description": "Get byte dictionary value {\"0\": hex(FF FF FF FA), \"1\": hex(01 02 03), \"2\": hex (25, 29, 43)} with each item encoded in base64", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The dictionary value {\"0\": hex(FF FF FF FA), \"1\": hex(01 02 03), \"2\": hex (25, 29, 43)} with each elementencoded in base 64", "schema": { "description": "The dictionary value {\"0\": hex(FF FF FF FA), \"1\": hex(01 02 03), \"2\": hex (25, 29, 43)} with each elementencoded in base 64", "type": "object", "additionalProperties": { "type": "string", "format": "byte" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putByteValid", "description": "Put the dictionary value {\"0\": hex(FF FF FF FA), \"1\": hex(01 02 03), \"2\": hex (25, 29, 43)} with each elementencoded in base 64", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "The dictionary value {\"0\": hex(FF FF FF FA), \"1\": hex(01 02 03), \"2\": hex (25, 29, 43)} with each elementencoded in base 64", "type": "object", "additionalProperties": { "type": "string", "format": "byte" } }, "required": true } ], "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "Empty Response" }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/byte/invalidnull": { "get": { "operationId": "dictionary_getByteInvalidNull", "description": "Get byte dictionary value {\"0\": hex(FF FF FF FA), \"1\": null} with the first item base64 encoded", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The byte dictionary value {\"0\": hex(FF FF FF FA), \"1\": null} with the first item base64 encoded", "schema": { "description": "The byte dictionary value {\"0\": hex(FF FF FF FA), \"1\": null} with the first item base64 encoded", "type": "object", "additionalProperties": { "type": "string", "format": "byte" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/prim/base64url/valid": { "get": { "operationId": "dictionary_getBase64Url", "description": "Get base64url dictionary value {\"0\": \"a string that gets encoded with base64url\", \"1\": \"test string\", \"2\": \"Lorem ipsum\"}", "tags": [ "Dictionary operations" ], "responses": { "200": { "description": "The base64url dictionary value {\"0\": \"a string that gets encoded with base64url\", \"1\": \"test string\", \"2\": \"Lorem ipsum\"}", "schema": { "description": "The base64url dictionary value {\"0\": \"a string that gets encoded with base64url\", \"1\": \"test string\", \"2\": \"Lorem ipsum\"}", "type": "object", "additionalProperties": { "type": "string", "format": "base64url" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/complex/null": { "get": { "operationId": "dictionary_getComplexNull", "description": "Get dictionary of complex type null value", "tags": [ "Dictionary Operations" ], "responses": { "200": { "description": "Dictionary of complex type with null value", "schema": { "description": "Dictionary of complex type with null value", "type": "object", "additionalProperties": { "$ref": "#/definitions/Widget" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/complex/empty": { "get": { "operationId": "dictionary_getComplexEmpty", "description": "Get empty dictionary of complex type {}", "tags": [ "Dictionary Operations" ], "responses": { "200": { "description": "Empty dictionary of complex type {}", "schema": { "description": "Empty dictionary of complex type {}", "type": "object", "additionalProperties": { "$ref": "#/definitions/Widget" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/complex/itemnull": { "get": { "operationId": "dictionary_getComplexItemNull", "description": "Get dictionary of complex type with null item {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1\": null, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "tags": [ "Dictionary Operations" ], "responses": { "200": { "description": "Dictionary of complex type with null item {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1\": null, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "schema": { "description": "Dictionary of complex type with null item [{'integer': 1 'string': '2'}, null, {'integer': 5, 'string': '6'}]", "type": "object", "additionalProperties": { "$ref": "#/definitions/Widget" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/complex/itemempty": { "get": { "operationId": "dictionary_getComplexItemEmpty", "description": "Get dictionary of complex type with empty item {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1:\" {}, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "tags": [ "Dictionary Operations" ], "responses": { "200": { "description": "Dictionary of complex type with empty item {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1:\" {}, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "schema": { "description": "Dictionary of complex type with empty item [{'integer': 1 'string': '2'}, {}, {'integer': 5, 'string': '6'}]", "type": "object", "additionalProperties": { "$ref": "#/definitions/Widget" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } }, "/dictionary/complex/valid": { "get": { "operationId": "dictionary_getComplexValid", "description": "Get dictionary of complex type with {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1\": {\"integer\": 3, \"string\": \"4\"}, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "tags": [ "Dictionary Operations" ], "responses": { "200": { "description": "Dictionary of complex type with {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1\": {\"integer\": 3, \"string\": \"4\"}, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "schema": { "description": "Dictionary of complex type with [{'integer': 1 'string': '2'}, {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}]", "type": "object", "additionalProperties": { "$ref": "#/definitions/Widget" } } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } }, "put": { "operationId": "dictionary_putComplexValid", "description": "Put an dictionary of complex type with values {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1\": {\"integer\": 3, \"string\": \"4\"}, \"2\": {\"integer\": 5, \"string\": \"6\"}}", "parameters": [ { "name": "arrayBody", "in": "body", "schema": { "description": "Dictionary of complex type with {\"0\": {\"integer\": 1, \"string\": \"2\"}, \"1\": {\"integer\": 3, \"string\": \"4\"}, \"2\": {\"integer\": 5, \"string\": \"6\"}}",