<commit_before>---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.9.2
  creationTimestamp: null
  name: apirules.gateway.kyma-project.io
spec:
  group: gateway.kyma-project.io
  names:
    kind: APIRule
    listKind: APIRuleList
    plural: apirules
    singular: apirule
  scope: Namespaced
  conversion:
    strategy: Webhook
    webhook:
      clientConfig:
        service:
          namespace: kyma-system
          name: api-gateway-webhook-service
          path: /convert
      conversionReviewVersions:
        - v1beta1
        - v1alpha1
  versions:
  - deprecated: true
    deprecationWarning: v1alpha1 is deprecated as of Kyma 2.5.X
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: APIRule is the Schema for the apis ApiRule
        properties:
          apiVersion:
            description: 'APIVersion defines the versioned schema of this representation
              of an object. Servers should convert recognized schemas to the latest
              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
            type: string
          kind:
            description: 'Kind is a string value representing the REST resource this
              object represents. Servers may infer this from the endpoint the client
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
            type: string
          metadata:
            type: object
          spec:
            description: APIRuleSpec defines the desired state of ApiRule
            properties:
              gateway:<commit_msg>add preserve unknown fields = false (#15310)<commit_after>---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.9.2
  creationTimestamp: null
  name: apirules.gateway.kyma-project.io
spec:
  group: gateway.kyma-project.io
  names:
    kind: APIRule
    listKind: APIRuleList
    plural: apirules
    singular: apirule
  scope: Namespaced
  conversion:
    strategy: Webhook
    webhook:
      clientConfig:
        service:
          namespace: kyma-system
          name: api-gateway-webhook-service
          path: /convert
      conversionReviewVersions:
        - v1beta1
        - v1alpha1
  preserveUnknownFields: false
  versions:
  - deprecated: true
    deprecationWarning: v1alpha1 is deprecated as of Kyma 2.5.X
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: APIRule is the Schema for the apis ApiRule
        properties:
          apiVersion:
            description: 'APIVersion defines the versioned schema of this representation
              of an object. Servers should convert recognized schemas to the latest
              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
            type: string
          kind:
            description: 'Kind is a string value representing the REST resource this
              object represents. Servers may infer this from the endpoint the client
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
            type: string
          metadata:
            type: object
          spec:
            description: APIRuleSpec defines the desired state of ApiRule
            properties:
              gateway:
{'fraction_non_alphanumeric': 0.0641640042598509, 'fraction_numerical': 0.010915867944621939, 'mean_word_length': 2.369506726457399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1889944', 'n_tokens_mistral': 1045, 'n_tokens_neox': 1023, 'n_words': 308}