Skip to content

Use prototypes for model methods#2055

Merged
wing328 merged 1 commit intoswagger-api:masterfrom
delenius:prototype-fixed
Feb 7, 2016
Merged

Use prototypes for model methods#2055
wing328 merged 1 commit intoswagger-api:masterfrom
delenius:prototype-fixed

Conversation

@delenius
Copy link
Contributor

@delenius delenius commented Feb 6, 2016

Fixes #2044.

@wing328 wing328 added this to the v2.1.6 milestone Feb 7, 2016
wing328 added a commit that referenced this pull request Feb 7, 2016
Use prototypes for model methods
@wing328 wing328 merged commit 510a5bd into swagger-api:master Feb 7, 2016
@wing328
Copy link
Contributor

wing328 commented Feb 7, 2016

@delenius Test result looks good.

    #defaultHeaders
      ✓ should initialize default headers to be an empty object
      ✓ should put default headers in request
      ✓ should override default headers with provided header params

  PetApi
    ✓ should create and get pet (1328ms)


  18 passing (1s)

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.924 s
[INFO] Finished at: 2016-02-07T15:31:05+08:00
[INFO] Final Memory: 7M/245M
[INFO] ------------------------------------------------------------------------

PR merged. Next time please update the Javascript Petstore sample as well (ref: https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).

@delenius delenius deleted the prototype-fixed branch February 11, 2016 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants