<commit_before>
          
   SPECCY  
          



VERSION ==>                       #0.7.2

ALTERNATIVES ==>                  #See Sway


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:             CORE              :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


LINT(SPEC_PATH|URL[, OPTS])       #Validates and lints specification, printing errors and stopping process with exit code 0|1
 ->PROMISE                        #Validates:
                                  #  - with official JSON schema (with ajv)
                                  #  - with custom JavaScript, which redoes basically same as official JSON schema
                                  #  - JSON references
                                  #  - JSON schemas (with ajv)
                                  #  - not using OpenAPI 2.0 properties
                                  #  - duplicate PARAMs, operationId
                                  #  - '/PATH', including path variables syntax is valid and they are used in PARAMs
                                  #  - SERVER_VAR_NAME is in SERVER.url
                                  #  - TAGs are unique
                                  #  - SECURITY_USES.SEC_NAME matches a SECURITY_DEF
                                  #  - MIME
                                  #  - URL
                                  #  - HEADER name
                                  #Lints:
                                  #  - with OPTS.rules ['default'] (def):
                                  #     - required: SPEC|OPERATION.tags, INFO.contact, OPERATION.operationId, PARAM.description<commit_msg>no commit message<commit_after>
          
   SPECCY  
          



VERSION ==>                       #0.7.3

ALTERNATIVES ==>                  #See Sway


                                             /=+===============================+=\
                                            /  :                               :  \
                                            )==:             CORE              :==(
                                            \  :_______________________________:  /
                                             \=+===============================+=/


LINT(SPEC_PATH|URL[, OPTS])       #Validates and lints specification, printing errors and stopping process with exit code 0|1
 ->PROMISE                        #Validates:
                                  #  - with official JSON schema (with ajv)
                                  #  - with custom JavaScript, which redoes basically same as official JSON schema
                                  #  - JSON references
                                  #  - JSON schemas (with ajv)
                                  #  - not using OpenAPI 2.0 properties
                                  #  - duplicate PARAMs, operationId
                                  #  - '/PATH', including path variables syntax is valid and they are used in PARAMs
                                  #  - SERVER_VAR_NAME is in SERVER.url
                                  #  - TAGs are unique
                                  #  - SECURITY_USES.SEC_NAME matches a SECURITY_DEF
                                  #  - MIME
                                  #  - URL
                                  #  - HEADER name
                                  #Lints:
                                  #  - with OPTS.rules ['default'] (def):
                                  #     - required: SPEC|OPERATION.tags, INFO.contact, OPERATION.operationId, PARAM.description
{'fraction_non_alphanumeric': 0.23121387283236994, 'fraction_numerical': 0.0031124944419742106, 'mean_word_length': 1.0093791871371147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 68, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '422596', 'n_tokens_mistral': 2861, 'n_tokens_neox': 2788, 'n_words': 201}