jentic-openapi-validator 1.0.0a13__py3-none-any.whl → 1.0.0a14__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/core/diagnostics.py +6 -2
- {jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/METADATA +4 -4
- {jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/RECORD +7 -7
- {jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/WHEEL +0 -0
- {jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/entry_points.txt +0 -0
- {jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/licenses/LICENSE +0 -0
- {jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/licenses/NOTICE +0 -0
|
@@ -3,7 +3,11 @@ from dataclasses import dataclass, field
|
|
|
3
3
|
from lsprotocol.types import Diagnostic
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
__all__ = ["JenticDiagnostic", "ValidationResult"]
|
|
6
|
+
__all__ = ["JenticDiagnostic", "ValidationResult", "DataFieldValue"]
|
|
7
|
+
|
|
8
|
+
DataFieldValue = (
|
|
9
|
+
None | str | int | float | bool | dict[str, "DataFieldValue"] | list["DataFieldValue"]
|
|
10
|
+
)
|
|
7
11
|
|
|
8
12
|
|
|
9
13
|
class JenticDiagnostic(Diagnostic):
|
|
@@ -37,7 +41,7 @@ class JenticDiagnostic(Diagnostic):
|
|
|
37
41
|
self.data = {}
|
|
38
42
|
self.data["target"] = target
|
|
39
43
|
|
|
40
|
-
def set_data_field(self, key: str, value:
|
|
44
|
+
def set_data_field(self, key: str, value: DataFieldValue):
|
|
41
45
|
if value is None:
|
|
42
46
|
return
|
|
43
47
|
if not hasattr(self, "data") or self.data is None:
|
{jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/METADATA
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: jentic-openapi-validator
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0a14
|
|
4
4
|
Summary: Jentic OpenAPI Validator
|
|
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-parser~=1.0.
|
|
10
|
+
Requires-Dist: jentic-openapi-parser~=1.0.0a14
|
|
11
11
|
Requires-Dist: openapi-spec-validator~=0.7.2
|
|
12
12
|
Requires-Dist: lsprotocol~=2025.0.0
|
|
13
|
-
Requires-Dist: jentic-openapi-validator-redocly~=1.0.
|
|
14
|
-
Requires-Dist: jentic-openapi-validator-spectral~=1.0.
|
|
13
|
+
Requires-Dist: jentic-openapi-validator-redocly~=1.0.0a14 ; extra == 'redocly'
|
|
14
|
+
Requires-Dist: jentic-openapi-validator-spectral~=1.0.0a14 ; extra == 'spectral'
|
|
15
15
|
Requires-Python: >=3.11
|
|
16
16
|
Project-URL: Homepage, https://github.com/jentic/jentic-openapi-tools
|
|
17
17
|
Provides-Extra: redocly
|
{jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/RECORD
RENAMED
|
@@ -7,12 +7,12 @@ jentic/apitools/openapi/validator/backends/default/rules/structural.py,sha256=Fr
|
|
|
7
7
|
jentic/apitools/openapi/validator/backends/openapi_spec.py,sha256=tEboIwNHxe8BXkK65iBAAiL0SV04kvjRyDmOx5mOqpM,4468
|
|
8
8
|
jentic/apitools/openapi/validator/backends/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
jentic/apitools/openapi/validator/core/__init__.py,sha256=OOJD1Z8Zn8ya537_62xaAhdHypy8J8iFHvx0U0DpP5o,181
|
|
10
|
-
jentic/apitools/openapi/validator/core/diagnostics.py,sha256=
|
|
10
|
+
jentic/apitools/openapi/validator/core/diagnostics.py,sha256=rGsqLjfEs3OsqzRb28kraQ04P2YXFij8YMYgyoWVK5o,3193
|
|
11
11
|
jentic/apitools/openapi/validator/core/openapi_validator.py,sha256=tpNRJctDXsKk5CQW6kiLSs74cf4Wl9W3zH-IIIoRxoE,7616
|
|
12
12
|
jentic/apitools/openapi/validator/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
jentic_openapi_validator-1.0.
|
|
14
|
-
jentic_openapi_validator-1.0.
|
|
15
|
-
jentic_openapi_validator-1.0.
|
|
16
|
-
jentic_openapi_validator-1.0.
|
|
17
|
-
jentic_openapi_validator-1.0.
|
|
18
|
-
jentic_openapi_validator-1.0.
|
|
13
|
+
jentic_openapi_validator-1.0.0a14.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
14
|
+
jentic_openapi_validator-1.0.0a14.dist-info/licenses/NOTICE,sha256=pAOGW-rGw9KNc2cuuLWZkfx0GSTV4TicbgBKZSLPMIs,168
|
|
15
|
+
jentic_openapi_validator-1.0.0a14.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
16
|
+
jentic_openapi_validator-1.0.0a14.dist-info/entry_points.txt,sha256=AEkb5yAHmAQcfUWCFe1-FeuweXxwa-N2_BJZBNNx1hI,313
|
|
17
|
+
jentic_openapi_validator-1.0.0a14.dist-info/METADATA,sha256=e4RPzgthpvwWMiLkm9BDKENlQvY5YzGI3hcff0tBp2A,6263
|
|
18
|
+
jentic_openapi_validator-1.0.0a14.dist-info/RECORD,,
|
{jentic_openapi_validator-1.0.0a13.dist-info → jentic_openapi_validator-1.0.0a14.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|