Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Cannot use custom model in paramPost #29

Closed
jakul opened this issue Jan 9, 2013 · 1 comment
Closed

Cannot use custom model in paramPost #29

jakul opened this issue Jan 9, 2013 · 1 comment

Comments

@jakul
Copy link
Contributor

jakul commented Jan 9, 2013

I'm trying to use a custom mode in paramPost, so that the documentation shows a different structure for POST requests than it shows for GET requests.

I have created an demo which shows this problem - https://github.com/jakul/swagger-node-express/tree/ui_model_demo

show_custom_model_as_data_type

@fehguy
Copy link
Contributor

fehguy commented Jan 9, 2013

The post model type is not being added to the required model list. Investigating...

fehguy added a commit that referenced this issue Jan 9, 2013
@fehguy fehguy closed this as completed Jan 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants