Skip to content

Commit 15071ca

Browse files
committed
fixes on structures for open api 3.x
1 parent 3379f38 commit 15071ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

models/OpenAPI/Util.cfc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ component name="OpenAPIUtil" accessors="true" {
3434
{ "servers" : [] },
3535
{ "paths" : structNew( "ordered" ) },
3636
{ "components" : structNew( "ordered" ) },
37-
{ "security" : structNew( "ordered" ) },
37+
{ "security" : [] },
3838
{ "tags" : [] },
39-
{ "externalDocs" : {} }
39+
{ "externalDocs" : {
40+
"description" : "",
41+
"url" : ""
42+
} }
4043
];
4144

4245
for( var templateDefault in templateDefaults ){

0 commit comments

Comments
 (0)