diff --git a/api/middleware.yaml b/api/middleware.yaml index 16df821..9cc36bd 100644 --- a/api/middleware.yaml +++ b/api/middleware.yaml @@ -69,22 +69,28 @@ paths: content: application/ld+json: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string application/rdf+xml: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string text/turtle: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string "412": description: Invalid request parameters security: @@ -99,22 +105,28 @@ paths: content: application/ld+json: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string application/rdf+xml: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string text/turtle: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string required: true responses: "200": @@ -150,22 +162,28 @@ paths: content: application/ld+json: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string application/rdf+xml: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string text/turtle: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string "412": description: Invalid request parameters security: @@ -239,22 +257,28 @@ paths: content: application/ld+json: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string application/rdf+xml: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string text/turtle: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string "412": description: Invalid request parameters security: @@ -314,10 +338,12 @@ paths: content: application/ld+json: schema: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string required: true responses: "200": @@ -437,10 +463,12 @@ components: type: string description: The entity URI. model: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string private: type: boolean description: Whether the entity should be hidden from Linked Data and GraphQL. @@ -467,10 +495,12 @@ components: description: "The property to apply the operation, JSONPath formatted (leading\ \ slash) on, e.g. `/https://schema.org/image (note the leading slash)." value: - type: array description: A model containing the Structured Data. - items: - type: object + oneOf: + - type: array + items: + type: object + - type: string AutocompleteResult: type: object properties: