Amartus / yang2swagger

Yang to swagger generator
Eclipse Public License 1.0
32 stars 21 forks source link

Added cli flags for API content type #5

Closed sdj38 closed 6 years ago

sdj38 commented 6 years ago

Thanks for your work on this tool! I noticed that yang and RESTCONF use the content type of "application/yang-data+json" or "application/yang-data+xml" and thought it would be nice to specify in the CLI the content type that the API generates and consumes instead of going through and changing the files afterward.