Naked boys were swimming in the river.

Literal

Naked [attributive-の] boys [topic-が] river [in-で] were-swimming.

裸 ('naked') is a noun; 裸の + [noun] turns it into an attributive 'the naked [noun].' で marks the location of the swimming action. ~ている past ('were swimming') describes the ongoing scene observed.