Skip to content

Instantly share code, notes, and snippets.

@willprice76
Created August 27, 2020 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willprice76/becbba6cb8ba36e83e41e38e7b48e6ef to your computer and use it in GitHub Desktop.
Save willprice76/becbba6cb8ba36e83e41e38e7b48e6ef to your computer and use it in GitHub Desktop.
Stub controller for Spark NLP
package org.example.sparknlp;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class SparkNlpController {
@GetMapping("/hello")
public String hello() {
return "Hello world";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment