如何解决如何重用和附加特定的文本模板
如下代码所示,我想重用文本/*
Bad request.Assert that the values provided adhere to the following order and comma separated':'originLng,originLat,destinationLng,destinationLat.
所以,它前面是&符号 如何在下面提到的其他部分中重用相同的文本。我想要类似的东西
Ref_Response_OnResponse_String_401:
description: Authorization information is missing or invalid
*descriptionOnResponseString_4XX
content:
text/*:
schema:
$ref: '#/components/schemas/Ref_Schema_PlainText'
Ref_Response_OnResponse_String_404:
description: Bad request. *descriptionOnResponseString_4XX
content:
text/*:
schema:
$ref: '#/components/schemas/Ref_Schema_PlainText'
我想附加标有 *descriptionOnResponseString_4XX 的特定文本
代码:
Ref_Response_OnResponse_String_400:
description: &descriptionOnResponseString_4XX Bad request.Assert that the values provided adhere to the following order and comma separated':'originLng,destinationLat.
content:
text/*:
schema:
$ref: '#/components/schemas/Ref_Schema_PlainText'
Ref_Response_OnResponse_String_401:
description: Authorization information is missing or invalid
content:
text/*:
schema:
$ref: '#/components/schemas/Ref_Schema_PlainText'
Ref_Response_OnResponse_String_404:
description: Bad request.
content:
text/*:
schema:
$ref: '#/components/schemas/Ref_Schema_PlainText'
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。