jentic-openapi-validator-redocly 1.0.0a33__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.
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/PKG-INFO +6 -6
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/README.md +3 -3
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/pyproject.toml +6 -6
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/src/jentic/apitools/openapi/validator/backends/redocly/__init__.py +2 -2
- jentic_openapi_validator_redocly-1.0.0a35/src/jentic/apitools/openapi/validator/backends/redocly/rulesets/redocly.yaml +6 -0
- jentic_openapi_validator_redocly-1.0.0a33/src/jentic/apitools/openapi/validator/backends/redocly/rulesets/redocly.yaml +0 -3
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/LICENSE +0 -0
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/NOTICE +0 -0
- {jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/src/jentic/apitools/openapi/validator/backends/redocly/py.typed +0 -0
{jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/PKG-INFO
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jentic-openapi-validator-redocly
|
|
3
|
-
Version: 1.0.
|
|
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.
|
|
11
|
-
Requires-Dist: jentic-openapi-validator~=1.0.
|
|
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.
|
|
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.
|
|
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.
|
|
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,
|
{jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/README.md
RENAMED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
12
|
-
"jentic-openapi-validator~=1.0.0-alpha.
|
|
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
|
]
|
|
@@ -24,6 +24,9 @@ package = true
|
|
|
24
24
|
namespace = true
|
|
25
25
|
module-name = "jentic.apitools.openapi.validator.backends.redocly"
|
|
26
26
|
module-root = "src/"
|
|
27
|
+
# Include ruleset files for Redocly validation
|
|
28
|
+
source-include = ["rulesets/*.yaml", "rulesets/*.yml"]
|
|
29
|
+
wheel-include = ["rulesets/*.yaml", "rulesets/*.yml"]
|
|
27
30
|
|
|
28
31
|
[tool.uv.sources]
|
|
29
32
|
jentic-openapi-common = { workspace = true }
|
|
@@ -35,6 +38,3 @@ build-backend = "uv_build"
|
|
|
35
38
|
|
|
36
39
|
[project.entry-points."jentic.apitools.openapi.validator.backends"]
|
|
37
40
|
redocly = "jentic.apitools.openapi.validator.backends.redocly:RedoclyValidatorBackend"
|
|
38
|
-
|
|
39
|
-
[tool.setuptools.package-data]
|
|
40
|
-
"jentic.apitools.openapi.validator.backends.redocly" = ["rulesets/*.yaml", "rulesets/*.yml"]
|
|
@@ -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.
|
|
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.
|
|
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)
|
{jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/LICENSE
RENAMED
|
File without changes
|
{jentic_openapi_validator_redocly-1.0.0a33 → jentic_openapi_validator_redocly-1.0.0a35}/NOTICE
RENAMED
|
File without changes
|