Skip to content

Commit 6952404

Browse files
committed
Merge pull request #10 from lostinthestory/master
Declare datatype for body param schemas
2 parents 1671258 + 9d744ce commit 6952404

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swagger/swagger.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@
791791
properties[name] = property;
792792
});
793793
param.schema = {};
794+
param.schema.type = "object";
794795
if(Object.keys(properties).length > 0){
795796
param.schema.properties = properties;
796797
}

0 commit comments

Comments
 (0)