moved swagger configuration into common