Skip to content

[openapi] Fix: Specs breaks open api generators

Veado requested to merge veado/thornode:fix/openapi-spec into develop

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>>

Merge request reports

Loading