There are three ways to define an array of objects in OpenAPI. You can define them inline, as referenced components or a combination of both. Find out when to use or avoid and other considerations.
OpenAPI Tips
Additional properties define the rules in an OpenAPI definition for handling unstructured data. Translated into code, additional properties become a dictionary, map, hashmap, or associative array.

OpenAPI
Additional Properties
OperationIds are how we identify each HTTP method and path as a distinct operation in an OpenAPI definition. They make it easier to reference and work with each API operation programmatically.

OpenAPI
OperationId
OpenAPI uses the primitive type string to represent simple textual data at either the parameter, request body, response, or schema level. Setting the string format further clarifies the data structure.

OpenAPI
String Type