create
@PostMapping(consumes = ["application/json" ], produces = ["application/json" ] )
@ResponseStatus(code = HttpStatus.CREATED )
Default implementation for creating a new entity from given create DTO
Return
DTO of the created entity
Parameters
create DTO
Create DTO containing data of the entity to create
path Variables
Path variables of the request
request
HTTP request