update js code gen to handle different type, format

This commit is contained in:
wing328
2016-04-11 22:20:30 +08:00
parent 68cb030609
commit 0e1f1606cd
29 changed files with 405 additions and 45 deletions

View File

@@ -221,7 +221,7 @@ var SwaggerPetstore = require('swagger-petstore');
var apiInstance = new SwaggerPetstore.UserApi()
var username = "username_example"; // {String} The name that needs to be fetched. Use user1 for testing.
var username = "username_example"; // {String} The name that needs to be fetched. Use user1 for testing.
var callback = function(error, data, response) {
@@ -238,7 +238,7 @@ api.getUserByName(username, callback);
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| The name that needs to be fetched. Use user1 for testing. |
**username** | **String**| The name that needs to be fetched. Use user1 for testing. |
### Return type