[openapi] Fix: Specs breaks open api generators
Extract items of arrays
into components
-
InboundAddressesResponse
->InboundAddress
-
ThornameResponse
->Thorname
-
KeygenMetricsResponse
->KeygenMetrics
In other cases open api generator generates generic objects
instead of specific types.
Example (note object
vs. InboundAddress
):
- Before
Observable<Array<object>>
- After
Observable<Array<InboundAddress>>