Class UploadController
java.lang.Object
org.joinfaces.docs.server.controller.UploadController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionuploadDocs
(String version, String path, InputStream inputStream)
-
Constructor Details
-
UploadController
public UploadController()
-
-
Method Details
-
uploadDocs
@PreAuthorize("isAuthenticated()") @PutMapping("/api/{version}") public ResponseEntity<Void> uploadDocs(@PathVariable String version, @RequestParam(required=false) String path, InputStream inputStream) throws IOException - Throws:
IOException
-