Die Erfindung betrifft ein optisches System (20) eines Endoskops (2), ein Endoskop (2), ein Stereo-Videoendoskop und ein Verfahren zum Herstellen eines optischen Systems (20). Das optische System (20) umfasst eine distale und eine proximale optische Baugruppe (24, 26), wobei aus einem Objektraum (11) einfallende Lichtbündel von den optischen Baugruppen (24, 26) entlang eines Strahlengangs geführt werden. Eine Umlenkprismengruppe (30) umfasst ein erstes und ein zweites Prisma (32, 34), wobei eine erste Austrittsseite (38) des ersten Prismas (32) und/oder eine zweite Eintrittsseite (40) des zweiten Prismas (34) in einem Bereich (58) außerhalb des Strahlengangs mit einer Beschichtung (60) versehen ist und im Bereich des Strahlengangs zwischen der ersten Austrittsseite (38) und der zweiten Eintrittsseite (40) ein Luftspalt (54) vorhanden ist.The invention relates to an optical system (20) of an endoscope (2), an endoscope (2), a stereo video endoscope and a method for producing an optical system (20). The optical system (20) comprises a distal and a proximal optical subassembly (24, 26), wherein light bundles incident from an object space (11) are guided by the optical subassemblies (24, 26) along a beam path. A deflecting prism group (30) comprises a first and a second prism (32, 34), wherein a first outlet side (38) of the first prism (32) and / or a second inlet side (40) of the second prism (34) in a region ( 58) is provided outside the beam path with a coating (60) and in the region of the beam path between the first outlet side (38) and the second inlet side (40) an air gap (54) is present.