> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://akamai.ferndocs.com/demo-apis/api/operation/doc-issues/put-op-desc-links-self/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://akamai.ferndocs.com/_mcp/server. # Operation links to itself PUT http://{hostname}/test-suite/v2/op-desc-links-self Content-Type: application/json [This op-level link is self-referential](https://techdocs.akamai.com/internal-ux-writing/reference/put-op-desc-links-self). Reference: https://akamai.ferndocs.com/demo-apis/api/operation/doc-issues/put-op-desc-links-self ## Request ### Query parameters - `linksSelf` (boolean, optional) — [This query param-level link is self-referential](https://techdocs.akamai.com/internal-ux-writing/reference/put-op-desc-links-self). - `accountSwitchKey` (string, optional) — For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). ### Body (application/json) This endpoint expects an object. - `badly formatted key` (boolean, optional) — Should trigger the `schema-name-malformed` test for a bad key name. - `enumValue` (enum, optional) — Unclear what this tests: `Value1`. - Allowed values: `Value1` - `false` (string, optional) — A boolean name that needs quotes. Should trigger a `schema-name-boolean` warning. - `lang-desc-link-invalid` (string, optional) — Here we have a [malformed doc slug prefix](docs:malformed-slug) and some (completely inverted link syntax)[ref:inverted-syntax]. - `lang-desc-numbered-slug` (string, optional) — This description provides a link with a `-1` slug [DOC](https://techdocs.akamai.com/project/segment#slug-numbered-1) and other [doc numbered slug](https://techdocs.akamai.com/internal-ux-writing/docs/slug-numbered-1). - `openapi-html-comment` (boolean, optional) — \ - `openapi-schema-ref-allof` (boolean, optional) - `openapi-schema-ref-conflict` (boolean, optional, default: false) — This schema is $ref linked. - `openapi-schema-ref-conflict-allof` (boolean, optional, default: false) - `openapi-schema-ref-overload` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaOpenapiSchemaRefOverload, optional) — Test different ways to arrange descriptions along with $ref links. - `random-yaml` (enum, optional) — This schema placed in an arbitrary YAML wrapper is $ref-linked with 'randomly-arranged.yaml#/yuccaPudooType' from another schema. - Allowed values: `GROUCHO`, `HARPO`, `CHICO` - `ref-overload` (string, optional) — __Read-only__ Test to confirm that because this description is present, lack of a `description` in the target `$ref` schema is _not_ flagged as an error. Also check if additional schema logic is defined outside the `$ref`, you should get an error. - `schema-desc-links-self` (string, optional) — [This schema-level link is self-referential](https://techdocs.akamai.com/internal-ux-writing/reference/get-schema-desc-links-self). - `schema-desc-malformed-para` (string, optional) — TBD description has punctuation and is a full sentence. - `schema-desc-missing` (string, optional) - `schema-example-redundant` (string, optional) — This schema should not embed an `example` that's redundant with separate sample data. - `schema-get-put-mismatch` (string, optional) — TBD GET rsp & PUT req should link same schema. - `schema-invalid-against-sample` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSchemaInvalidAgainstSample, optional) — Simple membership test to check if the CLI validates sample data against the schema. - `schema-name-case-sensitive` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSchemaNameCaseSensitive, optional) — Complain about all these schema names varying in case. - `schema-name-malformed` (string, optional) — Complain about this schema name not being camelCase. - `schema-name-misspelled` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSchemaNameMisspelled, optional) — There are typos in nested camelCase member names. There is `Content-Type`. Adn There is and Content-Type. and ContentType: - `schema-name-parroted` (string, optional) — Complain about the `schema-name-parroted` name appearing again in the description. - `schema-operation-links-self` (string, optional) — [This schema-level link is self-referential](https://techdocs.akamai.com/internal-ux-writing/reference/put-op-desc-links-self). - `schema-orphaned` (string, optional) — TBD schema file is an unreferenced orphan. - `schema-poly-anonymous` (string, optional) — TBD oneOf/anyOf: each scenario needs a label. - `schema-redundant` (string, optional) — TBD redundant schema, normalized for description. - `schema-redundant-membership` (string, optional) — TBD schema is redundant, same set of members. - `schema-type-missing` (any, optional) — This schema lacks a `type`. - `svc-tally-named-obj-keys` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeys, optional) — Test variance among same-named object schemas' set of defined members. - `svc-tally-obj-keys` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyObjKeys, optional) — Complain that this set of keys is defined in more than one schema file. - `svc-tally-schema-desc` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDesc, optional) — Test variance among schema descriptions. - `svc-tally-schema-enum-values` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValues, optional) — Test variance among schemas' enum values. Also check for when an enum is both defined and undefined for the same data member. The test needs to account for irrelevant variance in enum sort order. - `svc-tally-schema-type` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaType, optional) — Test variance among schema types. ## Response ### 200 Success - `badly formatted key` (boolean, optional) — Should trigger the `schema-name-malformed` test for a bad key name. - `enumValue` (enum, optional) — Unclear what this tests: `Value1`. - Allowed values: `Value1` - `false` (string, optional) — A boolean name that needs quotes. Should trigger a `schema-name-boolean` warning. - `lang-desc-link-invalid` (string, optional) — Here we have a [malformed doc slug prefix](docs:malformed-slug) and some (completely inverted link syntax)[ref:inverted-syntax]. - `lang-desc-numbered-slug` (string, optional) — This description provides a link with a `-1` slug [DOC](https://techdocs.akamai.com/project/segment#slug-numbered-1) and other [doc numbered slug](https://techdocs.akamai.com/internal-ux-writing/docs/slug-numbered-1). - `openapi-html-comment` (boolean, optional) — \ - `openapi-schema-ref-allof` (boolean, optional) - `openapi-schema-ref-conflict` (boolean, optional, default: false) — This schema is $ref linked. - `openapi-schema-ref-conflict-allof` (boolean, optional, default: false) - `openapi-schema-ref-overload` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaOpenapiSchemaRefOverload, optional) — Test different ways to arrange descriptions along with $ref links. - `random-yaml` (enum, optional) — This schema placed in an arbitrary YAML wrapper is $ref-linked with 'randomly-arranged.yaml#/yuccaPudooType' from another schema. - Allowed values: `GROUCHO`, `HARPO`, `CHICO` - `ref-overload` (string, optional) — __Read-only__ Test to confirm that because this description is present, lack of a `description` in the target `$ref` schema is _not_ flagged as an error. Also check if additional schema logic is defined outside the `$ref`, you should get an error. - `schema-desc-links-self` (string, optional) — [This schema-level link is self-referential](https://techdocs.akamai.com/internal-ux-writing/reference/get-schema-desc-links-self). - `schema-desc-malformed-para` (string, optional) — TBD description has punctuation and is a full sentence. - `schema-desc-missing` (string, optional) - `schema-example-redundant` (string, optional) — This schema should not embed an `example` that's redundant with separate sample data. - `schema-get-put-mismatch` (string, optional) — TBD GET rsp & PUT req should link same schema. - `schema-invalid-against-sample` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSchemaInvalidAgainstSample, optional) — Simple membership test to check if the CLI validates sample data against the schema. - `schema-name-case-sensitive` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSchemaNameCaseSensitive, optional) — Complain about all these schema names varying in case. - `schema-name-malformed` (string, optional) — Complain about this schema name not being camelCase. - `schema-name-misspelled` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSchemaNameMisspelled, optional) — There are typos in nested camelCase member names. There is `Content-Type`. Adn There is and Content-Type. and ContentType: - `schema-name-parroted` (string, optional) — Complain about the `schema-name-parroted` name appearing again in the description. - `schema-operation-links-self` (string, optional) — [This schema-level link is self-referential](https://techdocs.akamai.com/internal-ux-writing/reference/put-op-desc-links-self). - `schema-orphaned` (string, optional) — TBD schema file is an unreferenced orphan. - `schema-poly-anonymous` (string, optional) — TBD oneOf/anyOf: each scenario needs a label. - `schema-redundant` (string, optional) — TBD redundant schema, normalized for description. - `schema-redundant-membership` (string, optional) — TBD schema is redundant, same set of members. - `schema-type-missing` (any, optional) — This schema lacks a `type`. - `svc-tally-named-obj-keys` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeys, optional) — Test variance among same-named object schemas' set of defined members. - `svc-tally-obj-keys` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyObjKeys, optional) — Complain that this set of keys is defined in more than one schema file. - `svc-tally-schema-desc` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDesc, optional) — Test variance among schema descriptions. - `svc-tally-schema-enum-values` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValues, optional) — Test variance among schemas' enum values. Also check for when an enum is both defined and undefined for the same data member. The test needs to account for irrelevant variance in enum sort order. - `svc-tally-schema-type` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaType, optional) — Test variance among schema types. ## Types ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaOpenapiSchemaRefOverload Test different ways to arrange descriptions along with $ref links. - `refOrderedCorrectly` (boolean, optional) — Placing this description before the $ref is correct, so this does not trigger an error. - `refOrderedIncorrectly` (boolean, optional) — Placing this description after the $ref is incorrect, so this triggers an error. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSchemaInvalidAgainstSample Simple membership test to check if the CLI validates sample data against the schema. - `bar` (boolean, required) — All work and no play makes Jack a dull boy. - `foo` (boolean, required) — All work and no play makes Jack a dull boy. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSchemaNameCaseSensitive Complain about all these schema names varying in case. - `BADSCHEMANAME` (boolean, optional) - `BadSchemaName` (boolean, optional) - `badSchemaName` (boolean, optional) - `badschemaname` (boolean, optional) - `sourceIP` (string, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSchemaNameMisspelled There are typos in nested camelCase member names. There is `Content-Type`. Adn There is and Content-Type. and ContentType: - `certficateName` (string, optional) — All work and no play makes Jack a dull boy. - `operationid` (string, optional) — All work and no play makes Jack a dull boy. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeys Test variance among same-named object schemas' set of defined members. - `batchOne` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOne, optional) - `batchTwo` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwo, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyObjKeys Complain that this set of keys is defined in more than one schema file. - `chico` (string, optional) — Chico description. - `groucho` (string, optional) — Groucho description. - `harpo` (string, optional) — Harpo description. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDesc Test variance among schema descriptions. - `batchOne` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDescBatchOne, optional) - `batchThree` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDescBatchThree, optional) - `batchTwo` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDescBatchTwo, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValues Test variance among schemas' enum values. Also check for when an enum is both defined and undefined for the same data member. The test needs to account for irrelevant variance in enum sort order. - `batchFour` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchFour, optional) - `batchOne` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchOne, optional) - `batchThree` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchThree, optional) - `batchTwo` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchTwo, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaType Test variance among schema types. - `batchOne` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaTypeBatchOne, optional) - `batchTwo` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaTypeBatchTwo, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaOpenapiSchemaRefOverload Test different ways to arrange descriptions along with $ref links. - `refOrderedCorrectly` (boolean, optional) — Placing this description before the $ref is correct, so this does not trigger an error. - `refOrderedIncorrectly` (boolean, optional) — Placing this description after the $ref is incorrect, so this triggers an error. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSchemaInvalidAgainstSample Simple membership test to check if the CLI validates sample data against the schema. - `bar` (boolean, required) — All work and no play makes Jack a dull boy. - `foo` (boolean, required) — All work and no play makes Jack a dull boy. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSchemaNameCaseSensitive Complain about all these schema names varying in case. - `BADSCHEMANAME` (boolean, optional) - `BadSchemaName` (boolean, optional) - `badSchemaName` (boolean, optional) - `badschemaname` (boolean, optional) - `sourceIP` (string, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSchemaNameMisspelled There are typos in nested camelCase member names. There is `Content-Type`. Adn There is and Content-Type. and ContentType: - `certficateName` (string, optional) — All work and no play makes Jack a dull boy. - `operationid` (string, optional) — All work and no play makes Jack a dull boy. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeys Test variance among same-named object schemas' set of defined members. - `batchOne` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOne, optional) - `batchTwo` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwo, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyObjKeys Complain that this set of keys is defined in more than one schema file. - `chico` (string, optional) — Chico description. - `groucho` (string, optional) — Groucho description. - `harpo` (string, optional) — Harpo description. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDesc Test variance among schema descriptions. - `batchOne` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDescBatchOne, optional) - `batchThree` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDescBatchThree, optional) - `batchTwo` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDescBatchTwo, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValues Test variance among schemas' enum values. Also check for when an enum is both defined and undefined for the same data member. The test needs to account for irrelevant variance in enum sort order. - `batchFour` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchFour, optional) - `batchOne` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchOne, optional) - `batchThree` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchThree, optional) - `batchTwo` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchTwo, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaType Test variance among schema types. - `batchOne` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaTypeBatchOne, optional) - `batchTwo` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaTypeBatchTwo, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOne - `beatles` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOneBeatles, optional) — Defines all members. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwo - `beatles` (OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwoBeatles, optional) — Defines members still alive. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDescBatchOne - `varyingDescription` (string, optional) — All work and no play makes Jeremy a dull boy. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDescBatchThree - `varyingDescription` (string, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaDescBatchTwo - `varyingDescription` (string, optional) — All twerk and no play makes Jack a dull boy. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchFour - `varyingEnumValues` (string, optional) — This schema's set of enum values varies from another with the same name. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchOne - `varyingEnumValues` (enum, optional) — This schema's set of enum values varies from another with the same name. - Allowed values: `GROUCHO`, `HARPO`, `CHICO`, `ZEPPO`, `GUMMO` ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchThree - `varyingEnumValues` (enum, optional) — This schema's set of enum values varies from another with the same name. - Allowed values: `GROUCHO`, `CHICO`, `HARPO` ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchTwo - `varyingEnumValues` (enum, optional) — This schema's set of enum values varies from another with the same name. - Allowed values: `CHICO`, `GROUCHO`, `GUMMO`, `HARPO`, `ZEPPO` ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaTypeBatchOne - `varyingType` (string, optional) — This schema's type varies from another with the same name. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallySchemaTypeBatchTwo - `varyingType` (list of string, optional) — This schema's type varies from another with the same name. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOne - `beatles` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOneBeatles, optional) — Defines all members. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwo - `beatles` (OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwoBeatles, optional) — Defines members still alive. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDescBatchOne - `varyingDescription` (string, optional) — All work and no play makes Jeremy a dull boy. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDescBatchThree - `varyingDescription` (string, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaDescBatchTwo - `varyingDescription` (string, optional) — All twerk and no play makes Jack a dull boy. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchFour - `varyingEnumValues` (string, optional) — This schema's set of enum values varies from another with the same name. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchOne - `varyingEnumValues` (enum, optional) — This schema's set of enum values varies from another with the same name. - Allowed values: `GROUCHO`, `HARPO`, `CHICO`, `ZEPPO`, `GUMMO` ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchThree - `varyingEnumValues` (enum, optional) — This schema's set of enum values varies from another with the same name. - Allowed values: `GROUCHO`, `CHICO`, `HARPO` ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaEnumValuesBatchTwo - `varyingEnumValues` (enum, optional) — This schema's set of enum values varies from another with the same name. - Allowed values: `CHICO`, `GROUCHO`, `GUMMO`, `HARPO`, `ZEPPO` ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaTypeBatchOne - `varyingType` (string, optional) — This schema's type varies from another with the same name. ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallySchemaTypeBatchTwo - `varyingType` (list of string, optional) — This schema's type varies from another with the same name. ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOneBeatles Defines all members. - `george` (string, optional) - `john` (string, optional) - `paul` (string, optional) - `ringo` (string, optional) ### OpDescLinksSelfPutRequestBodyContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwoBeatles Defines members still alive. - `paul` (string, optional) - `ringo` (string, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchOneBeatles Defines all members. - `george` (string, optional) - `john` (string, optional) - `paul` (string, optional) - `ringo` (string, optional) ### OpDescLinksSelfPutResponsesContentApplicationJsonSchemaSvcTallyNamedObjKeysBatchTwoBeatles Defines members still alive. - `paul` (string, optional) - `ringo` (string, optional) ## Examples **Request** ```json { "badly formatted key": false, "enumValue": "Value1", "false": "false-string-value", "lang-desc-link-invalid": "Example of malformed doc slug and inverted link syntax", "lang-desc-numbered-slug": "Reference to numbered slug documentation for segment-1", "openapi-html-comment": true, "openapi-schema-ref-allof": true, "openapi-schema-ref-conflict": false, "openapi-schema-ref-conflict-allof": true, "openapi-schema-ref-overload": { "refOrderedCorrectly": true, "refOrderedIncorrectly": false }, "random-yaml": "HARPO", "ref-overload": "Read-only string example for ref-overload property", "schema-desc-links-self": "Self-referential schema-level link example", "schema-desc-malformed-para": "This is a properly punctuated description sentence.", "schema-desc-missing": "Description missing example text", "schema-example-redundant": "This is messed up!", "schema-get-put-mismatch": "Mismatch example for GET response and PUT request", "schema-invalid-against-sample": { "bar": false, "foo": true }, "schema-name-case-sensitive": { "BADSCHEMANAME": true, "BadSchemaName": false, "badSchemaName": true, "badschemaname": false, "sourceIP": "192.168.1.1" }, "schema-name-malformed": "NonCamelCaseNameExample", "schema-name-misspelled": { "certficateName": "SSL Certificate", "operationid": "op-123" }, "schema-name-parroted": "Repeated schema-name-parroted description example", "schema-operation-links-self": "Operation-level self-referential link example", "schema-orphaned": "Orphaned schema file example", "schema-poly-anonymous": "OneOf/AnyOf scenario label example", "schema-redundant": "Redundant schema normalized description", "schema-redundant-membership": "Redundant membership schema example", "svc-tally-named-obj-keys": { "batchOne": { "beatles": { "george": "Harrison", "john": "Lennon", "paul": "McCartney", "ringo": "Starr" } }, "batchTwo": { "beatles": { "paul": "McCartney", "ringo": "Starr" } } }, "svc-tally-obj-keys": { "chico": "Chico Marx description", "groucho": "Groucho Marx description", "harpo": "Harpo Marx description" }, "svc-tally-schema-desc": { "batchOne": { "varyingDescription": "All work and no play makes Jeremy a dull boy." }, "batchThree": { "varyingDescription": "Generic description text." }, "batchTwo": { "varyingDescription": "All twerk and no play makes Jack a dull boy." } }, "svc-tally-schema-enum-values": { "batchFour": { "varyingEnumValues": "GROUCHO" }, "batchOne": { "varyingEnumValues": "HARPO" }, "batchThree": { "varyingEnumValues": "CHICO" }, "batchTwo": { "varyingEnumValues": "ZEPPO" } }, "svc-tally-schema-type": { "batchOne": { "varyingType": "string" }, "batchTwo": { "varyingType": [ "string", "integer" ] } }, "id": "op-desc-12345" } ``` **Response** ```json { "badly formatted key": true, "enumValue": "Value1", "false": "false-response-string", "lang-desc-link-invalid": "Response example with malformed doc slug and inverted link syntax", "lang-desc-numbered-slug": "Response reference to numbered slug documentation for segment-1", "openapi-html-comment": false, "openapi-schema-ref-allof": false, "openapi-schema-ref-conflict": true, "openapi-schema-ref-conflict-allof": false, "openapi-schema-ref-overload": { "refOrderedCorrectly": false, "refOrderedIncorrectly": true }, "random-yaml": "CHICO", "ref-overload": "Read-only response string example for ref-overload property", "schema-desc-links-self": "Response self-referential schema-level link example", "schema-desc-malformed-para": "Response description with proper punctuation.", "schema-desc-missing": "Response description missing example text", "schema-example-redundant": "This is messed up!", "schema-get-put-mismatch": "Response mismatch example for GET response and PUT request", "schema-invalid-against-sample": { "bar": true, "foo": false }, "schema-name-case-sensitive": { "BADSCHEMANAME": false, "BadSchemaName": true, "badSchemaName": false, "badschemaname": true, "sourceIP": "10.0.0.1" }, "schema-name-malformed": "AnotherNonCamelCaseExample", "schema-name-misspelled": { "certficateName": "TLS Certificate", "operationid": "op-456" }, "schema-name-parroted": "Response repeated schema-name-parroted description example", "schema-operation-links-self": "Response operation-level self-referential link example", "schema-orphaned": "Response orphaned schema file example", "schema-poly-anonymous": "Response OneOf/AnyOf scenario label example", "schema-redundant": "Response redundant schema normalized description", "schema-redundant-membership": "Response redundant membership schema example", "svc-tally-named-obj-keys": { "batchOne": { "beatles": { "george": "Harrison", "john": "Lennon", "paul": "McCartney", "ringo": "Starr" } }, "batchTwo": { "beatles": { "paul": "McCartney", "ringo": "Starr" } } }, "svc-tally-obj-keys": { "chico": "Chico Marx response description", "groucho": "Groucho Marx response description", "harpo": "Harpo Marx response description" }, "svc-tally-schema-desc": { "batchOne": { "varyingDescription": "All work and no play makes Jeremy a dull boy." }, "batchThree": { "varyingDescription": "Generic response description text." }, "batchTwo": { "varyingDescription": "All twerk and no play makes Jack a dull boy." } }, "svc-tally-schema-enum-values": { "batchFour": { "varyingEnumValues": "GUMMO" }, "batchOne": { "varyingEnumValues": "ZEPPO" }, "batchThree": { "varyingEnumValues": "HARPO" }, "batchTwo": { "varyingEnumValues": "GROUCHO" } }, "svc-tally-schema-type": { "batchOne": { "varyingType": "string" }, "batchTwo": { "varyingType": [ "string", "boolean" ] } }, "id": "op-desc-12345" } ``` **SDK Code** ```python import requests url = "http://{hostname}/test-suite/v2/op-desc-links-self" payload = { "badly formatted key": False, "enumValue": "Value1", "false": "false-string-value", "lang-desc-link-invalid": "Example of malformed doc slug and inverted link syntax", "lang-desc-numbered-slug": "Reference to numbered slug documentation for segment-1", "openapi-html-comment": True, "openapi-schema-ref-allof": True, "openapi-schema-ref-conflict": False, "openapi-schema-ref-conflict-allof": True, "openapi-schema-ref-overload": { "refOrderedCorrectly": True, "refOrderedIncorrectly": False }, "random-yaml": "HARPO", "ref-overload": "Read-only string example for ref-overload property", "schema-desc-links-self": "Self-referential schema-level link example", "schema-desc-malformed-para": "This is a properly punctuated description sentence.", "schema-desc-missing": "Description missing example text", "schema-example-redundant": "This is messed up!", "schema-get-put-mismatch": "Mismatch example for GET response and PUT request", "schema-invalid-against-sample": { "bar": False, "foo": True }, "schema-name-case-sensitive": { "BADSCHEMANAME": True, "BadSchemaName": False, "badSchemaName": True, "badschemaname": False, "sourceIP": "192.168.1.1" }, "schema-name-malformed": "NonCamelCaseNameExample", "schema-name-misspelled": { "certficateName": "SSL Certificate", "operationid": "op-123" }, "schema-name-parroted": "Repeated schema-name-parroted description example", "schema-operation-links-self": "Operation-level self-referential link example", "schema-orphaned": "Orphaned schema file example", "schema-poly-anonymous": "OneOf/AnyOf scenario label example", "schema-redundant": "Redundant schema normalized description", "schema-redundant-membership": "Redundant membership schema example", "svc-tally-named-obj-keys": { "batchOne": { "beatles": { "george": "Harrison", "john": "Lennon", "paul": "McCartney", "ringo": "Starr" } }, "batchTwo": { "beatles": { "paul": "McCartney", "ringo": "Starr" } } }, "svc-tally-obj-keys": { "chico": "Chico Marx description", "groucho": "Groucho Marx description", "harpo": "Harpo Marx description" }, "svc-tally-schema-desc": { "batchOne": { "varyingDescription": "All work and no play makes Jeremy a dull boy." }, "batchThree": { "varyingDescription": "Generic description text." }, "batchTwo": { "varyingDescription": "All twerk and no play makes Jack a dull boy." } }, "svc-tally-schema-enum-values": { "batchFour": { "varyingEnumValues": "GROUCHO" }, "batchOne": { "varyingEnumValues": "HARPO" }, "batchThree": { "varyingEnumValues": "CHICO" }, "batchTwo": { "varyingEnumValues": "ZEPPO" } }, "svc-tally-schema-type": { "batchOne": { "varyingType": "string" }, "batchTwo": { "varyingType": ["string", "integer"] } }, "id": "op-desc-12345" } headers = {"Content-Type": "application/json"} response = requests.put(url, json=payload, headers=headers) print(response.json()) ``` ```javascript const url = 'http://{hostname}/test-suite/v2/op-desc-links-self'; const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"badly formatted key":false,"enumValue":"Value1","false":"false-string-value","lang-desc-link-invalid":"Example of malformed doc slug and inverted link syntax","lang-desc-numbered-slug":"Reference to numbered slug documentation for segment-1","openapi-html-comment":true,"openapi-schema-ref-allof":true,"openapi-schema-ref-conflict":false,"openapi-schema-ref-conflict-allof":true,"openapi-schema-ref-overload":{"refOrderedCorrectly":true,"refOrderedIncorrectly":false},"random-yaml":"HARPO","ref-overload":"Read-only string example for ref-overload property","schema-desc-links-self":"Self-referential schema-level link example","schema-desc-malformed-para":"This is a properly punctuated description sentence.","schema-desc-missing":"Description missing example text","schema-example-redundant":"This is messed up!","schema-get-put-mismatch":"Mismatch example for GET response and PUT request","schema-invalid-against-sample":{"bar":false,"foo":true},"schema-name-case-sensitive":{"BADSCHEMANAME":true,"BadSchemaName":false,"badSchemaName":true,"badschemaname":false,"sourceIP":"192.168.1.1"},"schema-name-malformed":"NonCamelCaseNameExample","schema-name-misspelled":{"certficateName":"SSL Certificate","operationid":"op-123"},"schema-name-parroted":"Repeated schema-name-parroted description example","schema-operation-links-self":"Operation-level self-referential link example","schema-orphaned":"Orphaned schema file example","schema-poly-anonymous":"OneOf/AnyOf scenario label example","schema-redundant":"Redundant schema normalized description","schema-redundant-membership":"Redundant membership schema example","svc-tally-named-obj-keys":{"batchOne":{"beatles":{"george":"Harrison","john":"Lennon","paul":"McCartney","ringo":"Starr"}},"batchTwo":{"beatles":{"paul":"McCartney","ringo":"Starr"}}},"svc-tally-obj-keys":{"chico":"Chico Marx description","groucho":"Groucho Marx description","harpo":"Harpo Marx description"},"svc-tally-schema-desc":{"batchOne":{"varyingDescription":"All work and no play makes Jeremy a dull boy."},"batchThree":{"varyingDescription":"Generic description text."},"batchTwo":{"varyingDescription":"All twerk and no play makes Jack a dull boy."}},"svc-tally-schema-enum-values":{"batchFour":{"varyingEnumValues":"GROUCHO"},"batchOne":{"varyingEnumValues":"HARPO"},"batchThree":{"varyingEnumValues":"CHICO"},"batchTwo":{"varyingEnumValues":"ZEPPO"}},"svc-tally-schema-type":{"batchOne":{"varyingType":"string"},"batchTwo":{"varyingType":["string","integer"]}},"id":"op-desc-12345"}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "http://{hostname}/test-suite/v2/op-desc-links-self" payload := strings.NewReader("{\n \"badly formatted key\": false,\n \"enumValue\": \"Value1\",\n \"false\": \"false-string-value\",\n \"lang-desc-link-invalid\": \"Example of malformed doc slug and inverted link syntax\",\n \"lang-desc-numbered-slug\": \"Reference to numbered slug documentation for segment-1\",\n \"openapi-html-comment\": true,\n \"openapi-schema-ref-allof\": true,\n \"openapi-schema-ref-conflict\": false,\n \"openapi-schema-ref-conflict-allof\": true,\n \"openapi-schema-ref-overload\": {\n \"refOrderedCorrectly\": true,\n \"refOrderedIncorrectly\": false\n },\n \"random-yaml\": \"HARPO\",\n \"ref-overload\": \"Read-only string example for ref-overload property\",\n \"schema-desc-links-self\": \"Self-referential schema-level link example\",\n \"schema-desc-malformed-para\": \"This is a properly punctuated description sentence.\",\n \"schema-desc-missing\": \"Description missing example text\",\n \"schema-example-redundant\": \"This is messed up!\",\n \"schema-get-put-mismatch\": \"Mismatch example for GET response and PUT request\",\n \"schema-invalid-against-sample\": {\n \"bar\": false,\n \"foo\": true\n },\n \"schema-name-case-sensitive\": {\n \"BADSCHEMANAME\": true,\n \"BadSchemaName\": false,\n \"badSchemaName\": true,\n \"badschemaname\": false,\n \"sourceIP\": \"192.168.1.1\"\n },\n \"schema-name-malformed\": \"NonCamelCaseNameExample\",\n \"schema-name-misspelled\": {\n \"certficateName\": \"SSL Certificate\",\n \"operationid\": \"op-123\"\n },\n \"schema-name-parroted\": \"Repeated schema-name-parroted description example\",\n \"schema-operation-links-self\": \"Operation-level self-referential link example\",\n \"schema-orphaned\": \"Orphaned schema file example\",\n \"schema-poly-anonymous\": \"OneOf/AnyOf scenario label example\",\n \"schema-redundant\": \"Redundant schema normalized description\",\n \"schema-redundant-membership\": \"Redundant membership schema example\",\n \"svc-tally-named-obj-keys\": {\n \"batchOne\": {\n \"beatles\": {\n \"george\": \"Harrison\",\n \"john\": \"Lennon\",\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n },\n \"batchTwo\": {\n \"beatles\": {\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n }\n },\n \"svc-tally-obj-keys\": {\n \"chico\": \"Chico Marx description\",\n \"groucho\": \"Groucho Marx description\",\n \"harpo\": \"Harpo Marx description\"\n },\n \"svc-tally-schema-desc\": {\n \"batchOne\": {\n \"varyingDescription\": \"All work and no play makes Jeremy a dull boy.\"\n },\n \"batchThree\": {\n \"varyingDescription\": \"Generic description text.\"\n },\n \"batchTwo\": {\n \"varyingDescription\": \"All twerk and no play makes Jack a dull boy.\"\n }\n },\n \"svc-tally-schema-enum-values\": {\n \"batchFour\": {\n \"varyingEnumValues\": \"GROUCHO\"\n },\n \"batchOne\": {\n \"varyingEnumValues\": \"HARPO\"\n },\n \"batchThree\": {\n \"varyingEnumValues\": \"CHICO\"\n },\n \"batchTwo\": {\n \"varyingEnumValues\": \"ZEPPO\"\n }\n },\n \"svc-tally-schema-type\": {\n \"batchOne\": {\n \"varyingType\": \"string\"\n },\n \"batchTwo\": {\n \"varyingType\": [\n \"string\",\n \"integer\"\n ]\n }\n },\n \"id\": \"op-desc-12345\"\n}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("http://{hostname}/test-suite/v2/op-desc-links-self") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Put.new(url) request["Content-Type"] = 'application/json' request.body = "{\n \"badly formatted key\": false,\n \"enumValue\": \"Value1\",\n \"false\": \"false-string-value\",\n \"lang-desc-link-invalid\": \"Example of malformed doc slug and inverted link syntax\",\n \"lang-desc-numbered-slug\": \"Reference to numbered slug documentation for segment-1\",\n \"openapi-html-comment\": true,\n \"openapi-schema-ref-allof\": true,\n \"openapi-schema-ref-conflict\": false,\n \"openapi-schema-ref-conflict-allof\": true,\n \"openapi-schema-ref-overload\": {\n \"refOrderedCorrectly\": true,\n \"refOrderedIncorrectly\": false\n },\n \"random-yaml\": \"HARPO\",\n \"ref-overload\": \"Read-only string example for ref-overload property\",\n \"schema-desc-links-self\": \"Self-referential schema-level link example\",\n \"schema-desc-malformed-para\": \"This is a properly punctuated description sentence.\",\n \"schema-desc-missing\": \"Description missing example text\",\n \"schema-example-redundant\": \"This is messed up!\",\n \"schema-get-put-mismatch\": \"Mismatch example for GET response and PUT request\",\n \"schema-invalid-against-sample\": {\n \"bar\": false,\n \"foo\": true\n },\n \"schema-name-case-sensitive\": {\n \"BADSCHEMANAME\": true,\n \"BadSchemaName\": false,\n \"badSchemaName\": true,\n \"badschemaname\": false,\n \"sourceIP\": \"192.168.1.1\"\n },\n \"schema-name-malformed\": \"NonCamelCaseNameExample\",\n \"schema-name-misspelled\": {\n \"certficateName\": \"SSL Certificate\",\n \"operationid\": \"op-123\"\n },\n \"schema-name-parroted\": \"Repeated schema-name-parroted description example\",\n \"schema-operation-links-self\": \"Operation-level self-referential link example\",\n \"schema-orphaned\": \"Orphaned schema file example\",\n \"schema-poly-anonymous\": \"OneOf/AnyOf scenario label example\",\n \"schema-redundant\": \"Redundant schema normalized description\",\n \"schema-redundant-membership\": \"Redundant membership schema example\",\n \"svc-tally-named-obj-keys\": {\n \"batchOne\": {\n \"beatles\": {\n \"george\": \"Harrison\",\n \"john\": \"Lennon\",\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n },\n \"batchTwo\": {\n \"beatles\": {\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n }\n },\n \"svc-tally-obj-keys\": {\n \"chico\": \"Chico Marx description\",\n \"groucho\": \"Groucho Marx description\",\n \"harpo\": \"Harpo Marx description\"\n },\n \"svc-tally-schema-desc\": {\n \"batchOne\": {\n \"varyingDescription\": \"All work and no play makes Jeremy a dull boy.\"\n },\n \"batchThree\": {\n \"varyingDescription\": \"Generic description text.\"\n },\n \"batchTwo\": {\n \"varyingDescription\": \"All twerk and no play makes Jack a dull boy.\"\n }\n },\n \"svc-tally-schema-enum-values\": {\n \"batchFour\": {\n \"varyingEnumValues\": \"GROUCHO\"\n },\n \"batchOne\": {\n \"varyingEnumValues\": \"HARPO\"\n },\n \"batchThree\": {\n \"varyingEnumValues\": \"CHICO\"\n },\n \"batchTwo\": {\n \"varyingEnumValues\": \"ZEPPO\"\n }\n },\n \"svc-tally-schema-type\": {\n \"batchOne\": {\n \"varyingType\": \"string\"\n },\n \"batchTwo\": {\n \"varyingType\": [\n \"string\",\n \"integer\"\n ]\n }\n },\n \"id\": \"op-desc-12345\"\n}" response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.put("http://{hostname}/test-suite/v2/op-desc-links-self") .header("Content-Type", "application/json") .body("{\n \"badly formatted key\": false,\n \"enumValue\": \"Value1\",\n \"false\": \"false-string-value\",\n \"lang-desc-link-invalid\": \"Example of malformed doc slug and inverted link syntax\",\n \"lang-desc-numbered-slug\": \"Reference to numbered slug documentation for segment-1\",\n \"openapi-html-comment\": true,\n \"openapi-schema-ref-allof\": true,\n \"openapi-schema-ref-conflict\": false,\n \"openapi-schema-ref-conflict-allof\": true,\n \"openapi-schema-ref-overload\": {\n \"refOrderedCorrectly\": true,\n \"refOrderedIncorrectly\": false\n },\n \"random-yaml\": \"HARPO\",\n \"ref-overload\": \"Read-only string example for ref-overload property\",\n \"schema-desc-links-self\": \"Self-referential schema-level link example\",\n \"schema-desc-malformed-para\": \"This is a properly punctuated description sentence.\",\n \"schema-desc-missing\": \"Description missing example text\",\n \"schema-example-redundant\": \"This is messed up!\",\n \"schema-get-put-mismatch\": \"Mismatch example for GET response and PUT request\",\n \"schema-invalid-against-sample\": {\n \"bar\": false,\n \"foo\": true\n },\n \"schema-name-case-sensitive\": {\n \"BADSCHEMANAME\": true,\n \"BadSchemaName\": false,\n \"badSchemaName\": true,\n \"badschemaname\": false,\n \"sourceIP\": \"192.168.1.1\"\n },\n \"schema-name-malformed\": \"NonCamelCaseNameExample\",\n \"schema-name-misspelled\": {\n \"certficateName\": \"SSL Certificate\",\n \"operationid\": \"op-123\"\n },\n \"schema-name-parroted\": \"Repeated schema-name-parroted description example\",\n \"schema-operation-links-self\": \"Operation-level self-referential link example\",\n \"schema-orphaned\": \"Orphaned schema file example\",\n \"schema-poly-anonymous\": \"OneOf/AnyOf scenario label example\",\n \"schema-redundant\": \"Redundant schema normalized description\",\n \"schema-redundant-membership\": \"Redundant membership schema example\",\n \"svc-tally-named-obj-keys\": {\n \"batchOne\": {\n \"beatles\": {\n \"george\": \"Harrison\",\n \"john\": \"Lennon\",\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n },\n \"batchTwo\": {\n \"beatles\": {\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n }\n },\n \"svc-tally-obj-keys\": {\n \"chico\": \"Chico Marx description\",\n \"groucho\": \"Groucho Marx description\",\n \"harpo\": \"Harpo Marx description\"\n },\n \"svc-tally-schema-desc\": {\n \"batchOne\": {\n \"varyingDescription\": \"All work and no play makes Jeremy a dull boy.\"\n },\n \"batchThree\": {\n \"varyingDescription\": \"Generic description text.\"\n },\n \"batchTwo\": {\n \"varyingDescription\": \"All twerk and no play makes Jack a dull boy.\"\n }\n },\n \"svc-tally-schema-enum-values\": {\n \"batchFour\": {\n \"varyingEnumValues\": \"GROUCHO\"\n },\n \"batchOne\": {\n \"varyingEnumValues\": \"HARPO\"\n },\n \"batchThree\": {\n \"varyingEnumValues\": \"CHICO\"\n },\n \"batchTwo\": {\n \"varyingEnumValues\": \"ZEPPO\"\n }\n },\n \"svc-tally-schema-type\": {\n \"batchOne\": {\n \"varyingType\": \"string\"\n },\n \"batchTwo\": {\n \"varyingType\": [\n \"string\",\n \"integer\"\n ]\n }\n },\n \"id\": \"op-desc-12345\"\n}") .asString(); ``` ```php request('PUT', 'http://{hostname}/test-suite/v2/op-desc-links-self', [ 'body' => '{ "badly formatted key": false, "enumValue": "Value1", "false": "false-string-value", "lang-desc-link-invalid": "Example of malformed doc slug and inverted link syntax", "lang-desc-numbered-slug": "Reference to numbered slug documentation for segment-1", "openapi-html-comment": true, "openapi-schema-ref-allof": true, "openapi-schema-ref-conflict": false, "openapi-schema-ref-conflict-allof": true, "openapi-schema-ref-overload": { "refOrderedCorrectly": true, "refOrderedIncorrectly": false }, "random-yaml": "HARPO", "ref-overload": "Read-only string example for ref-overload property", "schema-desc-links-self": "Self-referential schema-level link example", "schema-desc-malformed-para": "This is a properly punctuated description sentence.", "schema-desc-missing": "Description missing example text", "schema-example-redundant": "This is messed up!", "schema-get-put-mismatch": "Mismatch example for GET response and PUT request", "schema-invalid-against-sample": { "bar": false, "foo": true }, "schema-name-case-sensitive": { "BADSCHEMANAME": true, "BadSchemaName": false, "badSchemaName": true, "badschemaname": false, "sourceIP": "192.168.1.1" }, "schema-name-malformed": "NonCamelCaseNameExample", "schema-name-misspelled": { "certficateName": "SSL Certificate", "operationid": "op-123" }, "schema-name-parroted": "Repeated schema-name-parroted description example", "schema-operation-links-self": "Operation-level self-referential link example", "schema-orphaned": "Orphaned schema file example", "schema-poly-anonymous": "OneOf/AnyOf scenario label example", "schema-redundant": "Redundant schema normalized description", "schema-redundant-membership": "Redundant membership schema example", "svc-tally-named-obj-keys": { "batchOne": { "beatles": { "george": "Harrison", "john": "Lennon", "paul": "McCartney", "ringo": "Starr" } }, "batchTwo": { "beatles": { "paul": "McCartney", "ringo": "Starr" } } }, "svc-tally-obj-keys": { "chico": "Chico Marx description", "groucho": "Groucho Marx description", "harpo": "Harpo Marx description" }, "svc-tally-schema-desc": { "batchOne": { "varyingDescription": "All work and no play makes Jeremy a dull boy." }, "batchThree": { "varyingDescription": "Generic description text." }, "batchTwo": { "varyingDescription": "All twerk and no play makes Jack a dull boy." } }, "svc-tally-schema-enum-values": { "batchFour": { "varyingEnumValues": "GROUCHO" }, "batchOne": { "varyingEnumValues": "HARPO" }, "batchThree": { "varyingEnumValues": "CHICO" }, "batchTwo": { "varyingEnumValues": "ZEPPO" } }, "svc-tally-schema-type": { "batchOne": { "varyingType": "string" }, "batchTwo": { "varyingType": [ "string", "integer" ] } }, "id": "op-desc-12345" }', 'headers' => [ 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("http://{hostname}/test-suite/v2/op-desc-links-self"); var request = new RestRequest(Method.PUT); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{\n \"badly formatted key\": false,\n \"enumValue\": \"Value1\",\n \"false\": \"false-string-value\",\n \"lang-desc-link-invalid\": \"Example of malformed doc slug and inverted link syntax\",\n \"lang-desc-numbered-slug\": \"Reference to numbered slug documentation for segment-1\",\n \"openapi-html-comment\": true,\n \"openapi-schema-ref-allof\": true,\n \"openapi-schema-ref-conflict\": false,\n \"openapi-schema-ref-conflict-allof\": true,\n \"openapi-schema-ref-overload\": {\n \"refOrderedCorrectly\": true,\n \"refOrderedIncorrectly\": false\n },\n \"random-yaml\": \"HARPO\",\n \"ref-overload\": \"Read-only string example for ref-overload property\",\n \"schema-desc-links-self\": \"Self-referential schema-level link example\",\n \"schema-desc-malformed-para\": \"This is a properly punctuated description sentence.\",\n \"schema-desc-missing\": \"Description missing example text\",\n \"schema-example-redundant\": \"This is messed up!\",\n \"schema-get-put-mismatch\": \"Mismatch example for GET response and PUT request\",\n \"schema-invalid-against-sample\": {\n \"bar\": false,\n \"foo\": true\n },\n \"schema-name-case-sensitive\": {\n \"BADSCHEMANAME\": true,\n \"BadSchemaName\": false,\n \"badSchemaName\": true,\n \"badschemaname\": false,\n \"sourceIP\": \"192.168.1.1\"\n },\n \"schema-name-malformed\": \"NonCamelCaseNameExample\",\n \"schema-name-misspelled\": {\n \"certficateName\": \"SSL Certificate\",\n \"operationid\": \"op-123\"\n },\n \"schema-name-parroted\": \"Repeated schema-name-parroted description example\",\n \"schema-operation-links-self\": \"Operation-level self-referential link example\",\n \"schema-orphaned\": \"Orphaned schema file example\",\n \"schema-poly-anonymous\": \"OneOf/AnyOf scenario label example\",\n \"schema-redundant\": \"Redundant schema normalized description\",\n \"schema-redundant-membership\": \"Redundant membership schema example\",\n \"svc-tally-named-obj-keys\": {\n \"batchOne\": {\n \"beatles\": {\n \"george\": \"Harrison\",\n \"john\": \"Lennon\",\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n },\n \"batchTwo\": {\n \"beatles\": {\n \"paul\": \"McCartney\",\n \"ringo\": \"Starr\"\n }\n }\n },\n \"svc-tally-obj-keys\": {\n \"chico\": \"Chico Marx description\",\n \"groucho\": \"Groucho Marx description\",\n \"harpo\": \"Harpo Marx description\"\n },\n \"svc-tally-schema-desc\": {\n \"batchOne\": {\n \"varyingDescription\": \"All work and no play makes Jeremy a dull boy.\"\n },\n \"batchThree\": {\n \"varyingDescription\": \"Generic description text.\"\n },\n \"batchTwo\": {\n \"varyingDescription\": \"All twerk and no play makes Jack a dull boy.\"\n }\n },\n \"svc-tally-schema-enum-values\": {\n \"batchFour\": {\n \"varyingEnumValues\": \"GROUCHO\"\n },\n \"batchOne\": {\n \"varyingEnumValues\": \"HARPO\"\n },\n \"batchThree\": {\n \"varyingEnumValues\": \"CHICO\"\n },\n \"batchTwo\": {\n \"varyingEnumValues\": \"ZEPPO\"\n }\n },\n \"svc-tally-schema-type\": {\n \"batchOne\": {\n \"varyingType\": \"string\"\n },\n \"batchTwo\": {\n \"varyingType\": [\n \"string\",\n \"integer\"\n ]\n }\n },\n \"id\": \"op-desc-12345\"\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Content-Type": "application/json"] let parameters = [ "badly formatted key": false, "enumValue": "Value1", "false": "false-string-value", "lang-desc-link-invalid": "Example of malformed doc slug and inverted link syntax", "lang-desc-numbered-slug": "Reference to numbered slug documentation for segment-1", "openapi-html-comment": true, "openapi-schema-ref-allof": true, "openapi-schema-ref-conflict": false, "openapi-schema-ref-conflict-allof": true, "openapi-schema-ref-overload": [ "refOrderedCorrectly": true, "refOrderedIncorrectly": false ], "random-yaml": "HARPO", "ref-overload": "Read-only string example for ref-overload property", "schema-desc-links-self": "Self-referential schema-level link example", "schema-desc-malformed-para": "This is a properly punctuated description sentence.", "schema-desc-missing": "Description missing example text", "schema-example-redundant": "This is messed up!", "schema-get-put-mismatch": "Mismatch example for GET response and PUT request", "schema-invalid-against-sample": [ "bar": false, "foo": true ], "schema-name-case-sensitive": [ "BADSCHEMANAME": true, "BadSchemaName": false, "badSchemaName": true, "badschemaname": false, "sourceIP": "192.168.1.1" ], "schema-name-malformed": "NonCamelCaseNameExample", "schema-name-misspelled": [ "certficateName": "SSL Certificate", "operationid": "op-123" ], "schema-name-parroted": "Repeated schema-name-parroted description example", "schema-operation-links-self": "Operation-level self-referential link example", "schema-orphaned": "Orphaned schema file example", "schema-poly-anonymous": "OneOf/AnyOf scenario label example", "schema-redundant": "Redundant schema normalized description", "schema-redundant-membership": "Redundant membership schema example", "svc-tally-named-obj-keys": [ "batchOne": ["beatles": [ "george": "Harrison", "john": "Lennon", "paul": "McCartney", "ringo": "Starr" ]], "batchTwo": ["beatles": [ "paul": "McCartney", "ringo": "Starr" ]] ], "svc-tally-obj-keys": [ "chico": "Chico Marx description", "groucho": "Groucho Marx description", "harpo": "Harpo Marx description" ], "svc-tally-schema-desc": [ "batchOne": ["varyingDescription": "All work and no play makes Jeremy a dull boy."], "batchThree": ["varyingDescription": "Generic description text."], "batchTwo": ["varyingDescription": "All twerk and no play makes Jack a dull boy."] ], "svc-tally-schema-enum-values": [ "batchFour": ["varyingEnumValues": "GROUCHO"], "batchOne": ["varyingEnumValues": "HARPO"], "batchThree": ["varyingEnumValues": "CHICO"], "batchTwo": ["varyingEnumValues": "ZEPPO"] ], "svc-tally-schema-type": [ "batchOne": ["varyingType": "string"], "batchTwo": ["varyingType": ["string", "integer"]] ], "id": "op-desc-12345" ] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "http://{hostname}/test-suite/v2/op-desc-links-self")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "PUT" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```