Hi Alexey
1. A property can be of a scalar type (string, number, boolean), or it can be an object, or an array of scalars or objects.
2. In TMF Open API, we have tooling that creates swagger files automatically from underlying assets (json schemas, rules files). But if you want to hand-edit swagger files, why not.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jan 26, 2022 07:20
From: Alexey Aleynikov
Subject: Open API (Swagger 2.0, few questions)
Good afternoon colleagues, I would like to ask your advice about swagger. I have few questions:
1. In swagger 2.0 How to make nesting in properties list or is it impossible to do
2. Is it normal to make swagger file manually ? or I need to do it just by Java code to compile,
because I don't know how it is better to add in current code detailed description about every value
What is better in this case to do?
------------------------------
Alexey Aleynikov
Deutsche Telekom AG
------------------------------