Pin diode switches require a DC current source which is usually applied after an RF bypass capacitor to isolate the current source from the RF. The DC current must be high enough so that the RF current that flows in the diode cannot bring the diode out of forward conduction. Inadequate DC current can lead to 3rd order modulation distortion and, sometimes, the destruction of the diode.
capacitor banks help and enable flow , provided you know the expected signal strength to drive the diode to a level so as to derive the required/expected outcome
To keep PIN diode in operating condition while "ON", it requires DC bias. However the DC supply is to be protected from RF. Same time, other part of RF circuit is to be protected from DC. DC blocking is done using appropriate capacitor and RF blocking is done using RF choke. Values of capacitance and inductance are based on operating frequency. RF choke act as a low resistance (or zero resistance) path for DC and high impedance for RF and vice versa for capacitor
See "Investigations on Multifrequency and Reconfigurable Antennas for Wireless Applications" - Ph.D. thesis submitted by Sayantan Dhar to Jadavpur University, India in 2015.