<commit_before><?php

namespace AppBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
use FOS\RestBundle\Controller\Annotations\View as RestView;
use FOS\RestBundle\Controller\Annotations\RouteResource;

/**
 * @RouteResource("Tag")
 */
class TagsController extends Controller
{
    /**
     * @ApiDoc(
     * resource=true,
     *  description="Returns posts by slug tag",
     *  statusCodes={
     *      200="Returned when tag by {slug} found in database" ,
     *      404="Returned when tag by {slug} not found in database",
     *  },
     *  parameters={
     *      {"name"="slug", "dataType"="string", "required"=true, "description"="Unique name for every employee"}
     *  },
     *  output = "array<AppBundle\Entity\Tag>"
     * )
     *<commit_msg>fix some mistake in description ticket: https://app.asana.com/0/25002076043610/30266303723470<commit_after><?php

namespace AppBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Nelmio\ApiDocBundle\Annotation\ApiDoc;
use FOS\RestBundle\Controller\Annotations\View as RestView;
use FOS\RestBundle\Controller\Annotations\RouteResource;

/**
 * @RouteResource("Tag")
 */
class TagsController extends Controller
{
    /**
     * @ApiDoc(
     * resource=true,
     *  description="Returns posts by slug tag",
     *  statusCodes={
     *      200="Returned when tag by {slug} found in database" ,
     *      404="Returned when tag by {slug} not found in database",
     *  },
     *  parameters={
     *      {"name"="slug", "dataType"="string", "required"=true, "description"="Unique name for every tags"}
     *  },
     *  output = "array<AppBundle\Entity\Tag>"
     * )
     *
{'fraction_non_alphanumeric': 0.13505747126436782, 'fraction_numerical': 0.023563218390804597, 'mean_word_length': 3.3743718592964824, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '2391213', 'n_tokens_mistral': 555, 'n_tokens_neox': 537, 'n_words': 114}