jentic-openapi-validator-redocly 1.0.0a16__py3-none-any.whl → 1.0.0a17__py3-none-any.whl
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/apitools/openapi/validator/backends/redocly/__init__.py +2 -2
- {jentic_openapi_validator_redocly-1.0.0a16.dist-info → jentic_openapi_validator_redocly-1.0.0a17.dist-info}/METADATA +5 -5
- {jentic_openapi_validator_redocly-1.0.0a16.dist-info → jentic_openapi_validator_redocly-1.0.0a17.dist-info}/RECORD +7 -7
- {jentic_openapi_validator_redocly-1.0.0a16.dist-info → jentic_openapi_validator_redocly-1.0.0a17.dist-info}/WHEEL +0 -0
- {jentic_openapi_validator_redocly-1.0.0a16.dist-info → jentic_openapi_validator_redocly-1.0.0a17.dist-info}/entry_points.txt +0 -0
- {jentic_openapi_validator_redocly-1.0.0a16.dist-info → jentic_openapi_validator_redocly-1.0.0a17.dist-info}/licenses/LICENSE +0 -0
- {jentic_openapi_validator_redocly-1.0.0a16.dist-info → jentic_openapi_validator_redocly-1.0.0a17.dist-info}/licenses/NOTICE +0 -0
|
@@ -30,7 +30,7 @@ ruleset_file = rulesets_files_dir.joinpath("redocly.yaml")
|
|
|
30
30
|
class RedoclyValidatorBackend(BaseValidatorBackend):
|
|
31
31
|
def __init__(
|
|
32
32
|
self,
|
|
33
|
-
redocly_path: str = "npx --yes @redocly/cli@2.
|
|
33
|
+
redocly_path: str = "npx --yes @redocly/cli@2.11.1",
|
|
34
34
|
ruleset_path: str | None = None,
|
|
35
35
|
timeout: float = 600.0,
|
|
36
36
|
allowed_base_dir: str | Path | None = None,
|
|
@@ -39,7 +39,7 @@ class RedoclyValidatorBackend(BaseValidatorBackend):
|
|
|
39
39
|
Initialize the RedoclyValidatorBackend.
|
|
40
40
|
|
|
41
41
|
Args:
|
|
42
|
-
redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.
|
|
42
|
+
redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.11.1").
|
|
43
43
|
Uses shell-safe parsing to handle quoted arguments properly.
|
|
44
44
|
ruleset_path: Path to a custom ruleset file. If None, uses bundled default ruleset.
|
|
45
45
|
timeout: Maximum time in seconds to wait for Redocly CLI execution (default: 600.0)
|
|
@@ -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.0a17
|
|
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.0a17
|
|
11
|
+
Requires-Dist: jentic-openapi-validator~=1.0.0a17
|
|
12
12
|
Requires-Dist: lsprotocol~=2025.0.0
|
|
13
13
|
Requires-Dist: jsonpointer~=3.0.0
|
|
14
14
|
Requires-Python: >=3.11
|
|
@@ -86,7 +86,7 @@ print(f"Document is valid: {result.valid}")
|
|
|
86
86
|
validator = RedoclyValidatorBackend(redocly_path="/usr/local/bin/redocly")
|
|
87
87
|
|
|
88
88
|
# Use specific version via npx
|
|
89
|
-
validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.
|
|
89
|
+
validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.11.1")
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
### Custom Rulesets
|
|
@@ -254,7 +254,7 @@ uv run --package jentic-openapi-validator-redocly pytest packages/jentic-openapi
|
|
|
254
254
|
class RedoclyValidatorBackend(BaseValidatorBackend):
|
|
255
255
|
def __init__(
|
|
256
256
|
self,
|
|
257
|
-
redocly_path: str = "npx --yes @redocly/cli@2.
|
|
257
|
+
redocly_path: str = "npx --yes @redocly/cli@2.11.1",
|
|
258
258
|
ruleset_path: str | None = None,
|
|
259
259
|
timeout: float = 600.0,
|
|
260
260
|
allowed_base_dir: str | Path | None = None,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
jentic/apitools/openapi/validator/backends/redocly/__init__.py,sha256=
|
|
1
|
+
jentic/apitools/openapi/validator/backends/redocly/__init__.py,sha256=dJl82sdUd92NvTdfTj9QcUc9IrSE1IauWsI2p73m4XM,9395
|
|
2
2
|
jentic/apitools/openapi/validator/backends/redocly/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
jentic/apitools/openapi/validator/backends/redocly/rulesets/redocly.yaml,sha256=4YWOtk4-uXmH7Im58adZJr-VR1mJG2bFaOR1DdF1cM8,30
|
|
4
|
-
jentic_openapi_validator_redocly-1.0.
|
|
5
|
-
jentic_openapi_validator_redocly-1.0.
|
|
6
|
-
jentic_openapi_validator_redocly-1.0.
|
|
7
|
-
jentic_openapi_validator_redocly-1.0.
|
|
8
|
-
jentic_openapi_validator_redocly-1.0.
|
|
9
|
-
jentic_openapi_validator_redocly-1.0.
|
|
4
|
+
jentic_openapi_validator_redocly-1.0.0a17.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
5
|
+
jentic_openapi_validator_redocly-1.0.0a17.dist-info/licenses/NOTICE,sha256=pAOGW-rGw9KNc2cuuLWZkfx0GSTV4TicbgBKZSLPMIs,168
|
|
6
|
+
jentic_openapi_validator_redocly-1.0.0a17.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
7
|
+
jentic_openapi_validator_redocly-1.0.0a17.dist-info/entry_points.txt,sha256=wOFM-VNEwo-czDoLgOTePKT_bi0WXB9rDsb204dcFjs,131
|
|
8
|
+
jentic_openapi_validator_redocly-1.0.0a17.dist-info/METADATA,sha256=Te9dVtVgEccihBZNvYtWY4D2Z4VXXftAWJCmZFT5Ric,9109
|
|
9
|
+
jentic_openapi_validator_redocly-1.0.0a17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|