Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a new type for the swagger model #483

Closed
wants to merge 1 commit into from
Closed

add a new type for the swagger model #483

wants to merge 1 commit into from

Conversation

elvismacak
Copy link

add type of {} in SwaggerModelProperty.prototype.toSampleValue @ lib/swgger.js file

i think it may need to post some sub-obejct in the model
eg.

{
  "name": "elvis",
  "children": {
    "abc1": {},
    "abc2": {},
   }
}

@fehguy
Copy link
Contributor

fehguy commented Jan 29, 2015

this is addressed in swagger-js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants