I would be very thankful if someone could tell me if I can describe a string in Data Structures, because what I'm writing (in the sample below) doesn't work as it should. "Date" and "Point" are repeated a lot of times in different responses through my document, that's why I thought about taking it to the Data Structures. Is it even possible to get not an object but a string in this situation?
+ Response 200 (application/json)
+ Attributes
+ Date (Date)
+ Point (Point)
+ id: 123 (number)
# Data Structures
## Date
+ Date: `01.01.2019` (string) - or "2019-01-01"
## Point
+ Point: `(35.7545174,38.9170445)` (string)
This gives me the following structure in the Body:
{
"Date": {
"Date": "01.01.2019"
},
"Point": {
"Point": "(35.7545174,38.9170445)"
},
"id": 123
}
But I need this:
{
"Date": "01.01.2019",
"Point": "(35.7545174,38.9170445)",
"id": 123
}