Open zikalino opened 5 years ago
@tjprescott @yugangw-msft do you have any comments?
@zikalino if I understand correctly, this would simply wrap the autorest generation of the SDK? Or are you talking about generating the code purely from analysis of the swagger? If it is the first option, I think that would make a lot of sense.
So this is a proposal to add new parameters to the command:
--autorest-input-file (json or md file within locally cloned azure-rest-api-specs)
If the parameter is added, azdev would run following docker command:
docker run -ti -v azure-rest-api-specs-folder:/azure-rest-api-specs -v output-folder:/generated zikalino/autorest.devops /azure-rest-api-specs/path-to-md-file.md azdev
The command will produce following files in output-folder:
These files can be used to replace scaffolded files with complete prototype implementation of command module.