World number one Iga Swiatek is optimistic a thigh injury will not prevent her from attempting to defend her French Open title.