My post-op diet was liquids for the first week, right back on solids the next week, so it may not be a physical danger for you, but your doctor surely had a reason for the diet you were given. What's done is done, but definitely talk it out with your doctor. You'll have to take the responsibility for the decision you made, explain why and talk it out with him or her. Don't start out making this a prisoner/warden relationship with your doctor, s/he is there to help you, not belittle you, and perhaps if you are feeling up to solids you may even be able to be cleared for them.
Be safe, and make the best choices you can for yourself, that's all we can do.