mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
33 lines
978 B
YAML
33 lines
978 B
YAML
components:
|
|
schemas:
|
|
ErrorDetail:
|
|
type: object
|
|
description: The error detail.
|
|
properties:
|
|
code:
|
|
readOnly: true
|
|
type: string
|
|
description: The error code.
|
|
message:
|
|
readOnly: true
|
|
type: string
|
|
description: The error message.
|
|
target:
|
|
readOnly: true
|
|
type: string
|
|
description: The error target.
|
|
details:
|
|
readOnly: true
|
|
type: array
|
|
items:
|
|
$ref: "#components/schemas/ErrorDetail"
|
|
description: The error details.
|
|
ErrorResponse:
|
|
title: "Error response"
|
|
description: "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)."
|
|
type: "object"
|
|
properties:
|
|
error:
|
|
description: "The error object."
|
|
$ref: "#components/schemas/ErrorDetail"
|