I have an entity with some OneToOne relations:
/** * @OA\\Property(type="integer") * @Serializer\\Groups({"list", "detail"})