我真的很難理解響應的examples部分的格式。我爲500內部服務器錯誤定義了以下響應。 500InternalServerError:
description: The server encountered an unexpected condition which prevented it from fulfilling the request
schema:
我已經要求執行HATEOAS作爲我們的休息API的一部分,這是響應如何在揚鞭規範定義 _links:
[
{
rel:
string
The relationship to the request e.g. self which contains the resource that was requested or {object name}, a link to a resource