jentic-openapi-validator-redocly 1.0.0a34__tar.gz → 1.0.0a35__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jentic-openapi-validator-redocly
3
- Version: 1.0.0a34
3
+ Version: 1.0.0a35
4
4
  Summary: Jentic OpenAPI Redocly Validator Backend
5
5
  Author: Jentic
6
6
  Author-email: Jentic <hello@jentic.com>
7
7
  License-Expression: Apache-2.0
8
8
  License-File: LICENSE
9
9
  License-File: NOTICE
10
- Requires-Dist: jentic-openapi-common~=1.0.0a34
11
- Requires-Dist: jentic-openapi-validator~=1.0.0a34
10
+ Requires-Dist: jentic-openapi-common~=1.0.0a35
11
+ Requires-Dist: jentic-openapi-validator~=1.0.0a35
12
12
  Requires-Dist: lsprotocol~=2025.0.0
13
13
  Requires-Dist: jsonpointer~=3.0.0
14
14
  Requires-Python: >=3.11
@@ -43,7 +43,7 @@ pip install jentic-openapi-validator-redocly
43
43
  The Redocly CLI will be automatically downloaded via npx on first use, or you can install it globally:
44
44
 
45
45
  ```bash
46
- npm install -g @redocly/cli@2.14.3
46
+ npm install -g @redocly/cli@2.15.1
47
47
  ```
48
48
 
49
49
  ## Quick Start
@@ -89,7 +89,7 @@ print(f"Document is valid: {result.valid}")
89
89
  validator = RedoclyValidatorBackend(redocly_path="/usr/local/bin/redocly")
90
90
 
91
91
  # Use specific version via npx
92
- validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.14.3")
92
+ validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.15.1")
93
93
  ```
94
94
 
95
95
  ### Custom Rulesets
@@ -260,7 +260,7 @@ uv run --package jentic-openapi-validator-redocly pytest packages/jentic-openapi
260
260
  class RedoclyValidatorBackend(BaseValidatorBackend):
261
261
  def __init__(
262
262
  self,
263
- redocly_path: str = "npx --yes @redocly/cli@2.14.3",
263
+ redocly_path: str = "npx --yes @redocly/cli@2.15.1",
264
264
  ruleset_path: str | None = None,
265
265
  timeout: float = 600.0,
266
266
  allowed_base_dir: str | Path | None = None,
@@ -26,7 +26,7 @@ pip install jentic-openapi-validator-redocly
26
26
  The Redocly CLI will be automatically downloaded via npx on first use, or you can install it globally:
27
27
 
28
28
  ```bash
29
- npm install -g @redocly/cli@2.14.3
29
+ npm install -g @redocly/cli@2.15.1
30
30
  ```
31
31
 
32
32
  ## Quick Start
@@ -72,7 +72,7 @@ print(f"Document is valid: {result.valid}")
72
72
  validator = RedoclyValidatorBackend(redocly_path="/usr/local/bin/redocly")
73
73
 
74
74
  # Use specific version via npx
75
- validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.14.3")
75
+ validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.15.1")
76
76
  ```
77
77
 
78
78
  ### Custom Rulesets
@@ -243,7 +243,7 @@ uv run --package jentic-openapi-validator-redocly pytest packages/jentic-openapi
243
243
  class RedoclyValidatorBackend(BaseValidatorBackend):
244
244
  def __init__(
245
245
  self,
246
- redocly_path: str = "npx --yes @redocly/cli@2.14.3",
246
+ redocly_path: str = "npx --yes @redocly/cli@2.15.1",
247
247
  ruleset_path: str | None = None,
248
248
  timeout: float = 600.0,
249
249
  allowed_base_dir: str | Path | None = None,
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "jentic-openapi-validator-redocly"
3
- version = "1.0.0-alpha.34"
3
+ version = "1.0.0-alpha.35"
4
4
  description = "Jentic OpenAPI Redocly Validator Backend"
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Jentic", email = "hello@jentic.com" }]
@@ -8,8 +8,8 @@ license = "Apache-2.0"
8
8
  license-files = ["LICENSE", "NOTICE"]
9
9
  requires-python = ">=3.11"
10
10
  dependencies = [
11
- "jentic-openapi-common~=1.0.0-alpha.34",
12
- "jentic-openapi-validator~=1.0.0-alpha.34",
11
+ "jentic-openapi-common~=1.0.0-alpha.35",
12
+ "jentic-openapi-validator~=1.0.0-alpha.35",
13
13
  "lsprotocol~=2025.0.0",
14
14
  "jsonpointer~=3.0.0"
15
15
  ]
@@ -34,7 +34,7 @@ ruleset_file = rulesets_files_dir.joinpath("redocly.yaml")
34
34
  class RedoclyValidatorBackend(BaseValidatorBackend):
35
35
  def __init__(
36
36
  self,
37
- redocly_path: str = "npx --yes @redocly/cli@2.14.3",
37
+ redocly_path: str = "npx --yes @redocly/cli@2.15.1",
38
38
  ruleset_path: str | None = None,
39
39
  timeout: float = 600.0,
40
40
  allowed_base_dir: str | Path | None = None,
@@ -44,7 +44,7 @@ class RedoclyValidatorBackend(BaseValidatorBackend):
44
44
  Initialize the RedoclyValidatorBackend.
45
45
 
46
46
  Args:
47
- redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.14.3").
47
+ redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.15.1").
48
48
  Uses shell-safe parsing to handle quoted arguments properly.
49
49
  ruleset_path: Path to a custom ruleset file. If None, uses bundled default ruleset.
50
50
  timeout: Maximum time in seconds to wait for Redocly CLI execution (default: 600.0)
@@ -0,0 +1,6 @@
1
+ extends:
2
+ - spec
3
+ - recommended
4
+
5
+ rules:
6
+ no-server-trailing-slash: warn