Created
January 20, 2019 09:12
-
-
Save weburnit/d9c6319f081f97db0cd56cc013ce6607 to your computer and use it in GitHub Desktop.
SchemaLess
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
public class ModellingAPI { | |
@Autowired | |
SchemaService schemaService; | |
@RequestMapping(value = "/model", consumes = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.POST) | |
@ResponseBody | |
public Modelling createModelling(@Valid @RequestBody JsonNode data) | |
throws UnknownObjectException { | |
return schemaService.createModel(data); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment