Files
fastapi-openapi-to-postman/test/data/toBundleExamples/circular_reference_inline/schemas/schemas.yaml
Luis Tejeda 70ea0fe3c1 Support circularRefs inline
Support circularRefs inline
2022-07-13 15:50:39 -05:00

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"