You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this the correct way to create a swagger json only for service_specific* yang files ?
Since i added the filter i got swagger file which have the service specific requests, the but the heading of the file is mentioned with common.yang, also the request paths is incorrect wherever i have a parameter in line ( in line parameter ).
Please let me know is this correct way to create a swagger file for the service specific yang models.
The text was updated successfully, but these errors were encountered:
mbj4668
changed the title
issue when imported parent modules
swagger: issue when imported parent modules
Aug 21, 2020
We have 2 types of yang files, common.yang and and service_specific*.yang files, The common yang is imported in all service_specific yang modules
i need to create a api documentation only for the service specific yang and i ran the below command to create a swagger file,
yanger -f swagger -t expand --swagger-path-filter="/data/common:customer/service_specific" --deviation-module=service_specific*.yang common.yang --swagger-basepath https://localhost:8080/restconf -o output.json
Is this the correct way to create a swagger json only for service_specific* yang files ?
Since i added the filter i got swagger file which have the service specific requests, the but the heading of the file is mentioned with common.yang, also the request paths is incorrect wherever i have a parameter in line ( in line parameter ).
Please let me know is this correct way to create a swagger file for the service specific yang models.
The text was updated successfully, but these errors were encountered: