<commit_before>#%RAML 0.8
title: Example
version: 1
baseUri: http://example.com/{version}
documentation:
  - title: Welcome
    content: |
      Welcome to the Example Documentation. The Example API allows you
      to do stuff. See also [example.com](https://www.example.com).
  - title: Chapter two
    content: More content here. Including **bold** text!

securitySchemes:
  - oauth_1_0:
      description: OAuth 1.0 continues to be supported for all API requests, but OAuth 2.0 is now preferred.
      type: OAuth 1.0
      settings:
        requestTokenUri: https://api.dropbox.com/1/oauth/request_token
        authorizationUri: https://www.dropbox.com/1/oauth/authorize
        tokenCredentialsUri: https://api.dropbox.com/1/oauth/access_token

traits:
  - paged:
      queryParameters:
        page_size:
          description: The number of items per page
          type: number
        page:
          description: The page to return
          type: number

/account:
  displayName: ACCOUNTS

  description: |
    This is the top level description for /account.
    * One
    * Two
    * Three

  post:
    description: |
      Creates a new account. Some **bold** text here. More text. Need to fill the line, so make it longer still. Hooray!
      Line two

      Paragraph two
    body:
      application/json:
        example: |
          {
            "email": "<EMAIL>",
            "password": "<PASSWORD>",
            "name": "<NAME>"
          }
    responses:
      200:
        description: Account was created and user is now logged in

  /find:
    get:
      description: find an account
      queryParameters:
        name:
          description: name on account
          required: true
          example: Naruto Uzumaki
        gender:
          enum: ["male", "female"]
        number:
          type: integer
  /{id}:
    get:
      headers:
        Authorization:
          type: string

    put:
      description: Update the account
      body:
        application/x-www-form-urlencoded:
          formParameters:
            name:
              description: name on account
              type: string
              example: Nar<NAME>
            gender:
              enum: ["male", "female"]

    delete:
      description: Delete the account

  /login:
    post:
      description: Login with email and password
      body:
        application/json:
          example: |
            {
              "email": "<EMAIL>",
              "password": "<PASSWORD>"
            }
      responses:
        200:
          description: Login was correct
        400:
          description: Login was incorrect, please try again

  /forgot:<commit_msg>Update example.raml<commit_after>#%RAML 0.8
title: Example
version: 1
baseUri: http://example.com/{version}
documentation:
  - title: Welcome
    content: |
      Welcome to the Example Documentation. The Example API allows you
      to do stuff. See also [example.com](https://www.example.com).
  - title: Chapter two
    content: More content here. Including **bold** text!

securitySchemes:
  - oauth_1_0:
      description: OAuth 1.0 continues to be supported for all API requests, but OAuth 2.0 is now preferred.
      type: OAuth 1.0
      settings:
        requestTokenUri: https://api.dropbox.com/1/oauth/request_token
        authorizationUri: https://www.dropbox.com/1/oauth/authorize
        tokenCredentialsUri: https://api.dropbox.com/1/oauth/access_token

traits:
  - paged:
      queryParameters:
        page_size:
          description: The number of items per page
          type: number
        page:
          description: The page to return
          type: number

/account:
  displayName: ACCOUNTS

  description: |
    This is the top level description for /account.
    * One
    * Two
    * Three

  post:
    description: |
      Creates a new account. Some **bold** text here. More text. Need to fill the line, so make it longer still. Hooray!
      Line two

      Paragraph two
    body:
      application/json:
        example: |
          {
            "email": "<EMAIL>",
            "password": "<PASSWORD>",
            "name": "<NAME>"
          }
    responses:
      200:
        description: Account was created and user is now logged in

  /find:
    get:
      description: find an account
      queryParameters:
        name:
          description: name on account
          required: true
          example: <NAME>
        gender:
          enum: ["male", "female"]
        number:
          type: integer
  /{id}:
    get:
      headers:
        Authorization:
          type: string
          description: Basic authentication header
          example: |
            Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

    put:
      description: Update the account
      body:
        application/x-www-form-urlencoded:
          formParameters:
            name:
              description: name on account
              type: string
              example: <NAME>
            gender:
              enum: ["male", "female"]

    delete:
      description: Delete the account

  /login:
    post:
      description: Login with email and password
      body:
        application/json:
          example: |
            {
              "email": "<EMAIL>",
              "password": "<PASSWORD>"
            }
      responses:
        200:
          description: Login was correct
        400:
          description: Login was incorrect, please try again
        401:
          description: Not authorized
          headers:
            WWW-Authenticate:
              type: string
              description: user was not authorized
              example: |
                WWW-Authenticate: Basic realm="raml2html"

  /forgot:
{'fraction_non_alphanumeric': 0.08588850174216028, 'fraction_numerical': 0.008885017421602788, 'mean_word_length': 1.7351119580752739, 'pattern_counts': {'":': 10, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 8, 'lorem ipsum': 0, 'www.': 6, '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': '6499961', 'n_tokens_mistral': 1585, 'n_tokens_neox': 1530, 'n_words': 498}