I got these three below curl commands on github https://github.com/apigeecs/smartdocs_service to create a model,import and publish json on devloperportal.
a)curl -X POST -u username:pass -H "Content-Type: multipart/form-data;" -F "description=Sample Kronos Model" -F "name=sample" -F "display_name=sample" -F "version=1.0" "http://portal.loc/smartdocs/apis/models"
b)curl -X POST -u username:pass -H "Content-Type: multipart/form-data;" -F "api_definition=@json" "http://portal.loc/smartdocs/apis/models/sample/import"
c)curl -X POST -u username:pass "http://portal.loc/smartdocs/apis/models/sample/render".
While running these commands through postman,they are not working.
Is there corresponding restcalls to create model,import and publish swagger json on developer portal.