This repository was archived by the owner on Nov 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Thanks @petebuletza for this PR and thanks for the unit-test.
- Loading branch information
1 parent
5e3e458
commit 8836475
Showing
5 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
modules/vertx-swagger-codegen/src/test/resources/testFile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "1.0.0", | ||
"title": "test MainApiVerticle option" | ||
}, | ||
"host": "localhost", | ||
"schemes": [ | ||
"http" | ||
], | ||
"paths": { | ||
"/file/{originalFileName}": { | ||
"post": { | ||
"tags": [ | ||
"Test" | ||
], | ||
"summary": "test generator options", | ||
"operationId": "dummy", | ||
"consumes": [ | ||
"multipart/form-data" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"parameters": [ | ||
{ | ||
"name": "file", | ||
"in": "formData", | ||
"description": "file to upload", | ||
"required": false, | ||
"type": "file" | ||
} | ||
], | ||
"responses": { | ||
"default": { | ||
"schema":{ | ||
"type":"string" | ||
}, | ||
"description": "OK" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters