Skip to content

Commit

Permalink
Deprecate the pattern property for SDS Standard Pattern Attributes (#…
Browse files Browse the repository at this point in the history
…1893)

Co-authored-by: ci.datadog-api-spec <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Mar 5, 2024
1 parent eac267b commit 689207b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-29 14:49:25.092326",
"spec_repo_commit": "bb5305bc"
"regenerated": "2024-03-05 16:47:49.304618",
"spec_repo_commit": "acf036aa"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-29 14:49:25.138459",
"spec_repo_commit": "bb5305bc"
"regenerated": "2024-03-05 16:47:49.330020",
"spec_repo_commit": "acf036aa"
}
}
}
5 changes: 4 additions & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18316,7 +18316,10 @@ components:
description: Name of the standard pattern.
type: string
pattern:
description: Regex to match.
deprecated: true
description: (Deprecated) Regex to match, optionally documented for older
standard rules. Refer to the `description` field to understand what the
rule does.
type: string
priority:
description: Integer from 1 (high) to 5 (low) indicating standard pattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
:param name: Name of the standard pattern.
:type name: str, optional
:param pattern: Regex to match.
:param pattern: (Deprecated) Regex to match, optionally documented for older standard rules. Refer to the ``description`` field to understand what the rule does. **Deprecated**.
:type pattern: str, optional
:param priority: Integer from 1 (high) to 5 (low) indicating standard pattern issue severity.
Expand Down

0 comments on commit 689207b

Please sign in to comment.