D
D
Dark_Dante2022-03-21 14:26:54
API
Dark_Dante, 2022-03-21 14:26:54

How to designate a dynamic property name?

Hello. I am writing documentation in the form of openAPI 3.0 The
request creates an Excel file with data. The data is transmitted in this way

{
  "document_name": "Document Name",
  "general_count": 1,
  "data": {
    "fields": {
        "fields": {
            "A": "какое то значение"
        },
        "string_number": 10
    }
  }
}

Where in fileds "A" is the name of the column in excel. But since there are a lot of columns in Excel, all the letters are listed in the documentation, well, like this. How to make it clear that the property name is dynamic?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question