В моем файле oas.yaml есть следующее:
components:
schemas:
ServiceError:
type: object
properties:
Message:
type: string
description: "The exception message."
ExceptionMessage:
type: string
Type:
type: string
description: "The exception type.""
InnerError:
$ref: '#/components/schemas/ServiceError'
description: "If there's an inner exception, the InnerException.
Property:
type: object
properties:
Name:
type: string
description: Name of the property.
Ему не нравится строка «описание: «Если есть внутреннее исключение, InnerException», и если я его уберу, ему не нравится строка «Свойство:». Я пробовал много вещей, и ничего не работает. Что я не понимаю?
InnerError.description
, потому что в нем нет завершающей кавычки. И, как сказал Мартин, в концеType.descritption
есть дополнительная цитата. Вам нужно исправить кавычки. - person Helen   schedule 11.05.2020