What is the bode plot of an inverting op amp if you replace the resistors with caps?
I understood the question as being a standard text book inverting opamp, with R1 and R2 replaced by capacitors C1 and C2.
The resistors become complex (imaginary) impedances Z1=1/jwC1 forward and Z2=1/jwC2 feedback. The TF is the ratio -C2/C1, as already mentioned by the OP.
(I do suggest the OP update the diagram to show the intended circuit.)
I assume this is homework, and thus the OpAmp is ideal. The TF is then a constant and independent of f.
There are many tutorials, in writing and on youtube, to derive the TF of such an arrangement. It's not complicated. One example is https://masteringelectronicsdesign.com/how-to-derive-the-inverting-amplifier-transfer-function/
Here is an example to plot the TF, from http://sim.okawa-denshi.jp/en/opampkeisan.htm
Note the capacitance is in the uF range, and the resistors are near zero (calculator will not accept R=0)

and the plots are flat well into the GHz range but not beyond that, due to the non-zero R.

In reality the TF will not be constant for f, as the capacitors and the OpAmps internal resistances will interact to form low- or high-pass filters.
Also, in practice, the capacitors and inductance of the op-amp leads will interact to form resonant circuits.
So this flatness only persists up to a certain frequency, and then it becomes a battle of the parasitics.