File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " crosswalk" ,
3- "version" : " 2.2.1 " ,
3+ "version" : " 2.2.3 " ,
44 "description" : " Type-safe express routing with TypeScript" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
1515 },
1616 "repository" : {
1717 "type" : " git" ,
18- "url" : " https://github.com/danvk/crosswalk.git"
18+ "url" : " git+ https://github.com/danvk/crosswalk.git"
1919 },
2020 "bugs" : {
2121 "url" : " https://github.com/danvk/crosswalk/issues"
Original file line number Diff line number Diff line change @@ -75,6 +75,22 @@ exports[`Open API V3 should have the expected endpoints: open-api-v3 1`] = `
7575 ],
7676 " type" : " object" ,
7777 },
78+ " FileUpload" : {
79+ " additionalProperties" : false ,
80+ " properties" : {
81+ " file" : {
82+ " $ref" : " #/components/schemas/File" ,
83+ },
84+ " source" : {
85+ " type" : " string" ,
86+ },
87+ },
88+ " required" : [
89+ " source" ,
90+ " file" ,
91+ ],
92+ " type" : " object" ,
93+ },
7894 " Location" : {
7995 " additionalProperties" : false ,
8096 " properties" : {
@@ -715,6 +731,22 @@ exports[`Open API integration should have the expected endpoints: open-api 1`] =
715731 ],
716732 " type" : " object" ,
717733 },
734+ " FileUpload" : {
735+ " additionalProperties" : false ,
736+ " properties" : {
737+ " file" : {
738+ " $ref" : " #/definitions/File" ,
739+ },
740+ " source" : {
741+ " type" : " string" ,
742+ },
743+ },
744+ " required" : [
745+ " source" ,
746+ " file" ,
747+ ],
748+ " type" : " object" ,
749+ },
718750 " Location" : {
719751 " additionalProperties" : false ,
720752 " properties" : {
@@ -972,20 +1004,7 @@ exports[`Open API integration should have the expected endpoints: open-api 1`] =
9721004 " in" : " body" ,
9731005 " name" : " body" ,
9741006 " schema" : {
975- " additionalProperties" : false ,
976- " properties" : {
977- " file" : {
978- " $ref" : " #/definitions/File" ,
979- },
980- " source" : {
981- " type" : " string" ,
982- },
983- },
984- " required" : [
985- " source" ,
986- " file" ,
987- ],
988- " type" : " object" ,
1007+ " $ref" : " #/definitions/FileUpload" ,
9891008 },
9901009 },
9911010 ],
You can’t perform that action at this time.
0 commit comments