import { EOL } from "os" ; import type { OpenApi } from "../../../types" ; export const addComment = ( comment ? , server ? ) : string | undefined => { if ( ! server ) { return comment ; } return [ comment , server . url , server . description ] . filter ( Boolean ) . join ( EOL ) ; } ;