Convert to SwaggerDoc