Closed damianoneill closed 3 years ago
The multiple generated documents are described in the script https://github.com/OpenNetworkingFoundation/TAPI/blob/develop_v2_1/YANG/yang2oas213.txt used for OAS generation, where the dependencies between YANG modules are specified. There are two important aspects: 1) The order in which YANG modules are listed, which specifies the dependencies between modules. 2) The last YANG module in the row becomes the generated YAML module, e.g.
[6]='tapi-common tapi-notification tapi-topology tapi-path-computation tapi-connectivity'
generates the tapi-connectivity.yaml file.
Per OAS Document Structure definition can the OAS output be updated to include a root document, openapi.yaml that includes the multiple documents that are generated in OAS