-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
Description
When rendering the following schema:
"properties": {
"with-title": {
"type": "string",
"title": "title"
},
"with-title-and-description": {
"type": "string",
"title": "title",
"description": "description"
},
"without-title": {
"type": "string",
"description": "description"
}
}
The titels of the properties are shown as additional object keys as shown below:
I would have expected the first column to just read:
with-titlewith-title-and-descriptionwithout-title
Is this an intended feature?
Full spec to repoduce:
{
"x-navigateMethodsByName": true,
"definitions": {
"AccountList": {
"type": "object",
"title": "AccountList",
"properties": {
"with-title": {
"type": "string",
"title": "title"
},
"with-title-and-description": {
"type": "string",
"title": "title",
"description": "description"
},
"without-title": {
"type": "string",
"description": "description"
}
}
}
},
"info": {
"title": "minimal"
},
"swagger": "2.0",
"paths": {
"/account": {
"get": {
"summary": "List accounts",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/AccountList"
}
}
}
}
}
}
}
Reactions are currently unavailable
