<commit_before>Feature: RESTful paradigm check
  In order to interact with RESTful API
  As a user-agent
  The service needs to respond in a RESTful manner

  We interact with the allegedly RESTful API with a domain object: notes

  We interact with the allegedly RESTful API with a domain object: notes
  GET  ->   http://localhost:9001/api/v1/notes
  GET  ->   http://localhost:9001/api/v1/notes/{id}
  POST ->   http://localhost:9001/api/v1/notes
  PUT ->   http://localhost:9001/api/v1/notes/{id}
  DELETE -> http://localhost:9001/api/v1/notes/{id}

  Scenario: Getting an existing note
    When I send a GET request to "notes/2"
    Then the response code should be 200
    And the response should contain json:
    """
    {
      "id": "2",
      "note": "two-modified"
    }
    """

  @wip @samjestesrest
  Scenario: Getting a not existing note
    When I send a GET request to "notes/100000"
    Then the response code should be 404
<commit_msg><NAME>es restful - restless<commit_after>Feature: RESTful paradigm check
  In order to interact with RESTful API
  As a user-agent
  The service needs to respond in a RESTful manner

  We interact with the allegedly RESTful API with a domain object: notes

  We interact with the allegedly RESTful API with a domain object: notes
  GET  ->   http://localhost:9001/api/v1/notes
  GET  ->   http://localhost:9001/api/v1/notes/{id}
  POST ->   http://localhost:9001/api/v1/notes
  PUT ->   http://localhost:9001/api/v1/notes/{id}
  DELETE -> http://localhost:9001/api/v1/notes/{id}

  Scenario: Getting an existing note
    When I send a GET request to "notes/2"
    Then the response code should be 200
    And the response should contain json:
    """
    {
      "id": "2",
      "note": "two-modified"
    }
    """

  @wip @restless
  Scenario: Getting a not existing note
    When I send a GET request to "notes/100000"
    Then the response code should be 404

{'fraction_non_alphanumeric': 0.09744658676393955, 'fraction_numerical': 0.04064616988014591, 'mean_word_length': 2.894523326572008, 'pattern_counts': {'":': 4, '<': 4, '<?xml version=': 0, '>': 14, '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': '2460401', 'n_tokens_mistral': 661, 'n_tokens_neox': 584, 'n_words': 222}