<commit_before>package scorex.api.http

import akka.actor.ActorRefFactory
import com.gettyimages.spray.swagger.SwaggerHttpService
import com.wordnik.swagger.model.ApiInfo
import spray.routing.HttpService._

import scala.reflect.runtime.universe.Type

trait SwaggerService {

  implicit val context: ActorRefFactory
  val swaggerApiTypes: Seq[Type]

  val swaggerService = new SwaggerHttpService {
    override def apiTypes = swaggerApiTypes

    override def apiVersion = "1.0.0"

    override def baseUrl = "/" // let swagger-ui determine the host and port

    override def docsPath = "api-docs"

    override def actorRefFactory = context

    override def apiInfo = Some(
      new ApiInfo(
        "Scorex API",
        "Swagger service to describe Scorex API/",
        "TOC Url",
        "<EMAIL>",
        "Creative Commons CC0",
        "https://github.com/ScorexProject/Scorex-Lagonaki/blob/master/COPYING")
    )
<commit_msg>no ToC, license link text edited<commit_after>package scorex.api.http

import akka.actor.ActorRefFactory
import com.gettyimages.spray.swagger.SwaggerHttpService
import com.wordnik.swagger.model.ApiInfo
import spray.routing.HttpService._

import scala.reflect.runtime.universe.Type

trait SwaggerService {

  implicit val context: ActorRefFactory
  val swaggerApiTypes: Seq[Type]

  val swaggerService = new SwaggerHttpService {
    override def apiTypes = swaggerApiTypes

    override def apiVersion = "1.0.0"

    override def baseUrl = "/" // let swagger-ui determine the host and port

    override def docsPath = "api-docs"

    override def actorRefFactory = context

    override def apiInfo = Some(
      new ApiInfo(
        "Scorex API",
        "The Web Interface to the Scorex API/",
        null,
        "<EMAIL>",
        "License: Creative Commons CC0",
        "https://github.com/ScorexProject/Scorex-Lagonaki/blob/master/COPYING")
    )

{'fraction_non_alphanumeric': 0.08668076109936575, 'fraction_numerical': 0.004228329809725159, 'mean_word_length': 3.27313769751693, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7660036', 'n_tokens_mistral': 582, 'n_tokens_neox': 568, 'n_words': 150}