<commit_before>{
  "swagger": "2.0",
  "info": {
    "version": "1.0.0",
    "title": "Title API",
    "description": "Provides RESTful API access to Title resources in JSON representation"
  },
  "host": "title-api:8080",
  "basePath": "/v1",
  "schemes": [
    "http"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/titles": {
      "get": {
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "type": "string",
            "description": "Search query",
            "required": false
          },
          {
            "name": "per_page",
            "in": "query",
            "type": "integer",
            "description": "Number of results returned per page",
            "required": false,
            "default": 20
          },
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "description": "Page number",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "List of titles",
            "schema": {
              "title": "titles",
              "type": "array",
              "items": {
                "$ref": "#/definitions/TitleResponse"
              }
            }
          },
          "405": {
            "$ref": "#/responses/405"
          },
          "406": {
            "$ref": "#/responses/406"
          }
        }
      },
      "post": {
        "parameters": [
          {
            "name": "title",
            "in": "body",
            "description": "The title to be created",<commit_msg>add query params<commit_after>{
  "swagger": "2.0",
  "info": {
    "version": "1.0.0",
    "title": "Title API",
    "description": "Provides RESTful API access to Title resources in JSON representation"
  },
  "host": "title-api:8080",
  "basePath": "/v1",
  "schemes": [
    "http"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/titles": {
      "get": {
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "type": "string",
            "description": "Search query",
            "required": false
          },
          {
            "name": "per_page",
            "in": "query",
            "type": "integer",
            "description": "Number of results returned per page",
            "required": false,
            "default": 20
          },
          {
            "name": "page",
            "in": "query",
            "type": "integer",
            "description": "Page number",
            "required": true,
            "default": 1,
            "format": "int32",
            "minimum": 1
          },
          {
            "name": "sort",
            "in": "query",
            "type": "string",
            "description": "Field to sort by",
            "default": "-title_id",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "List of titles",
            "schema": {
              "title": "titles",
              "type": "array",
              "items": {
                "$ref": "#/definitions/TitleResponse"
              }
            }
          },
          "405": {
            "$ref": "#/responses/405"
          },
          "406": {
            "$ref": "#/responses/406"
          }
        }
      },
      "post": {
        "parameters": [
          {
            "name": "title",
            "in": "body",
            "description": "The title to be created",
{'fraction_non_alphanumeric': 0.1757127192982456, 'fraction_numerical': 0.015899122807017545, 'mean_word_length': 1.1968693558097532, 'pattern_counts': {'":': 103, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7450407', 'n_tokens_mistral': 1081, 'n_tokens_neox': 1048, 'n_words': 232}