Thanks for posting your query
It seems to be soft tissue injury
over your shin.
But swelling is still present , so examination of leg and x-ray is required to rule out any fracture
So you have to see the doctor for clinical exam and treatment plan according to that.