Add missing attribute to fix generated swagger.
lbs-gitea/maptology/master This commit looks good

This commit is contained in:
2018-01-10 11:33:13 +01:00
parent 374bc01c28
commit ffbcdcd561
@@ -57,7 +57,7 @@ public interface IDeviceService {
@ApiResponse(code = HttpServletResponse.SC_CREATED, message = "The device was created successfully.", response = DeviceHandle.class)
})
@PermitAll
Response createDevice(@NotNull @Valid DeviceInfo info);
Response createDevice(@ApiParam(value = "Necessary data from to create a device.", required = true) @NotNull @Valid DeviceInfo info);
/**
* Returns the current device.