enzonotario / vitepress-openapi

Generate VitePress API Docs from OpenAPI specifications
https://vitepress-openapi.vercel.app
MIT License
42 stars 8 forks source link

Cannot read properties of null (reading 'get') #78

Closed wspeirs closed 1 week ago

wspeirs commented 1 week ago

Current behavior

When calling the getParsedSpec() method of an useOpenapi instance, I get the following error:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'get')
    at P8e (vitepress-openapi.es.js:68526:53)
    at r (vitepress-openapi.es.js:68540:18)
    at r (vitepress-openapi.es.js:68542:18)
    at r (vitepress-openapi.es.js:68537:18)
    at r (vitepress-openapi.es.js:68542:18)
    at r (vitepress-openapi.es.js:68542:18)
    at r (vitepress-openapi.es.js:68542:18)
    at r (vitepress-openapi.es.js:68542:18)
    at I8e (vitepress-openapi.es.js:68546:10)
    at Object.i [as getParsedSpec] (vitepress-openapi.es.js:68894:22)

Desired behavior

No response

Reproduction

No response

Steps to reproduce

The open api json can be found here: https://api-docs.tacticaldefense.software/openapi.json

Minimal code to reproduce:

import { theme, useOpenapi } from 'vitepress-openapi'
import spec from 'openapi.json' assert { type: 'json' }

const openapi = useOpenapi({ spec })
openapi.getParsedSpec();

Logs and Error Messages

No response

Other Information

I noticed that @trojs/openapi-dereference is currently on v0.2.4, but your packages.json file includes 0.2.3... maybe as easy as upgrading the version?

enzonotario commented 1 week ago

Hi @wspeirs , thanks for reporting this!

I tried updating @trojs/openapi-dereference to 0.2.4 but it didn't resolve the issue. So far, I believe there might be an issue with your OpenAPI specification, specifically in your 200 responses, as it doesn't work on Scalar (https://sandbox.scalar.com/e/asdeL) either. It doesn't throw an error, but it also doesn't display the content of the 200 responses.

It also fails on the [Official Swagger Editor](https://editor.swagger.io/), where it only shows `string` as schema for the 200 responses: ``` Structural error at openapi should match pattern "^3\.0\.\d(-.+)?$" pattern: ^3\.0\.\d(-.+)?$ Jump to line 1 Structural error at paths./v1/logs/.get.parameters.0.schema.exclusiveMinimum should be boolean Jump to line 77 Structural error at paths./v1/logs/.get.parameters.1.schema.exclusiveMaximum should be boolean Jump to line 87 Structural error at paths./v1/logs/.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 88 Structural error at paths./v1/logs/.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 99 Structural error at paths./v1/logs/.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 109 Structural error at paths./v1/logs/.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 110 Structural error at paths./v1/logs/.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 120 Structural error at paths./v1/logs/.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 121 Structural error at paths./v1/logs/.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 131 Structural error at paths./v1/logs/.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 132 Structural error at paths./v1/logs/{client_uuid}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 210 Structural error at paths./v1/logs/{client_uuid}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 220 Structural error at paths./v1/logs/{client_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 221 Structural error at paths./v1/logs/{client_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 232 Structural error at paths./v1/logs/{client_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 242 Structural error at paths./v1/logs/{client_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 243 Structural error at paths./v1/logs/{client_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 253 Structural error at paths./v1/logs/{client_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 254 Structural error at paths./v1/logs/{client_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 264 Structural error at paths./v1/logs/{client_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 265 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 320 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.3.schema.exclusiveMaximum should be boolean Jump to line 330 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.3.schema.exclusiveMinimum should be boolean Jump to line 331 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 342 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 352 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 353 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 363 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 364 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 374 Structural error at paths./v1/logs/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 375 Structural error at paths./v1/logs/{log_type}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 421 Structural error at paths./v1/logs/{log_type}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 431 Structural error at paths./v1/logs/{log_type}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 432 Structural error at paths./v1/logs/{log_type}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 443 Structural error at paths./v1/logs/{log_type}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 453 Structural error at paths./v1/logs/{log_type}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 454 Structural error at paths./v1/logs/{log_type}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 464 Structural error at paths./v1/logs/{log_type}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 465 Structural error at paths./v1/logs/{log_type}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 475 Structural error at paths./v1/logs/{log_type}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 476 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 531 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.3.schema.exclusiveMaximum should be boolean Jump to line 541 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.3.schema.exclusiveMinimum should be boolean Jump to line 542 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 553 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 563 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 564 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 574 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 575 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 585 Structural error at paths./v1/logs/{log_type}/{client_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 586 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.3.schema.exclusiveMinimum should be boolean Jump to line 650 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.exclusiveMaximum should be boolean Jump to line 660 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.exclusiveMinimum should be boolean Jump to line 661 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 672 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 682 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 683 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 693 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 694 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.8.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 704 Structural error at paths./v1/logs/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.8.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 705 Structural error at paths./v1/matches/.get.parameters.0.schema.exclusiveMinimum should be boolean Jump to line 742 Structural error at paths./v1/matches/.get.parameters.1.schema.exclusiveMaximum should be boolean Jump to line 752 Structural error at paths./v1/matches/.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 753 Structural error at paths./v1/matches/.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 764 Structural error at paths./v1/matches/.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 774 Structural error at paths./v1/matches/.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 775 Structural error at paths./v1/matches/.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 785 Structural error at paths./v1/matches/.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 786 Structural error at paths./v1/matches/.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 796 Structural error at paths./v1/matches/.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 797 Structural error at paths./v1/matches/{client_uuid}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 892 Structural error at paths./v1/matches/{client_uuid}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 902 Structural error at paths./v1/matches/{client_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 903 Structural error at paths./v1/matches/{client_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 914 Structural error at paths./v1/matches/{client_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 924 Structural error at paths./v1/matches/{client_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 925 Structural error at paths./v1/matches/{client_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 935 Structural error at paths./v1/matches/{client_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 936 Structural error at paths./v1/matches/{client_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 946 Structural error at paths./v1/matches/{client_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 947 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 997 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.3.schema.exclusiveMaximum should be boolean Jump to line 1007 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.3.schema.exclusiveMinimum should be boolean Jump to line 1008 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1019 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1029 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1030 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1040 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1041 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1051 Structural error at paths./v1/matches/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1052 Structural error at paths./v1/matches/{log_type}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1093 Structural error at paths./v1/matches/{log_type}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 1103 Structural error at paths./v1/matches/{log_type}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 1104 Structural error at paths./v1/matches/{log_type}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1115 Structural error at paths./v1/matches/{log_type}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1125 Structural error at paths./v1/matches/{log_type}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1126 Structural error at paths./v1/matches/{log_type}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1136 Structural error at paths./v1/matches/{log_type}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1137 Structural error at paths./v1/matches/{log_type}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1147 Structural error at paths./v1/matches/{log_type}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1148 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 1198 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.3.schema.exclusiveMaximum should be boolean Jump to line 1208 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.3.schema.exclusiveMinimum should be boolean Jump to line 1209 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1220 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1230 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1231 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1241 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1242 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1252 Structural error at paths./v1/matches/{log_type}/{client_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1253 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.3.schema.exclusiveMinimum should be boolean Jump to line 1312 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.exclusiveMaximum should be boolean Jump to line 1322 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.exclusiveMinimum should be boolean Jump to line 1323 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1334 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1344 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1345 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1355 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1356 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.8.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1366 Structural error at paths./v1/matches/{log_type}/{client_uuid}/{agent_uuid}.get.parameters.8.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1367 Structural error at paths./v1/rules/.get.parameters.0.schema.exclusiveMinimum should be boolean Jump to line 1399 Structural error at paths./v1/rules/.get.parameters.1.schema.exclusiveMaximum should be boolean Jump to line 1409 Structural error at paths./v1/rules/.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1410 Structural error at paths./v1/rules/.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1421 Structural error at paths./v1/rules/enabled.get.parameters.0.schema.exclusiveMinimum should be boolean Jump to line 1512 Structural error at paths./v1/rules/enabled.get.parameters.1.schema.exclusiveMaximum should be boolean Jump to line 1522 Structural error at paths./v1/rules/enabled.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1523 Structural error at paths./v1/rules/enabled.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1534 Structural error at paths./v1/rules/disabled.get.parameters.0.schema.exclusiveMinimum should be boolean Jump to line 1566 Structural error at paths./v1/rules/disabled.get.parameters.1.schema.exclusiveMaximum should be boolean Jump to line 1576 Structural error at paths./v1/rules/disabled.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1577 Structural error at paths./v1/rules/disabled.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1588 Structural error at paths./v1/fim/{agent_uuid}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1701 Structural error at paths./v1/fim/{agent_uuid}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 1711 Structural error at paths./v1/fim/{agent_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 1712 Structural error at paths./v1/fim/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1723 Structural error at paths./v1/fim/changed/{agent_uuid}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1764 Structural error at paths./v1/fim/changed/{agent_uuid}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 1774 Structural error at paths./v1/fim/changed/{agent_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 1775 Structural error at paths./v1/fim/changed/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1786 Structural error at paths./v1/fim/deleted/{agent_uuid}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1827 Structural error at paths./v1/fim/deleted/{agent_uuid}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 1837 Structural error at paths./v1/fim/deleted/{agent_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 1838 Structural error at paths./v1/fim/deleted/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1849 Structural error at paths./v1/fim/history/{file_uuid}.get.parameters.1.schema.exclusiveMinimum should be boolean Jump to line 1890 Structural error at paths./v1/fim/history/{file_uuid}.get.parameters.2.schema.exclusiveMaximum should be boolean Jump to line 1900 Structural error at paths./v1/fim/history/{file_uuid}.get.parameters.2.schema.exclusiveMinimum should be boolean Jump to line 1901 Structural error at paths./v1/windows/info.get.parameters.0.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1935 Structural error at paths./v1/windows/info.get.parameters.1.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1945 Structural error at paths./v1/windows/info.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1946 Structural error at paths./v1/windows/info.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1956 Structural error at paths./v1/windows/info.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1957 Structural error at paths./v1/windows/info.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 1967 Structural error at paths./v1/windows/info.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 1968 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2015 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2025 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2026 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2036 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2037 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2047 Structural error at paths./v1/windows/process/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2048 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2103 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2113 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2114 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2124 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2125 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2135 Structural error at paths./v1/windows/process/{agent_uuid}/{proc_guid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2136 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2183 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2193 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2194 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2204 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2205 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2215 Structural error at paths./v1/windows/registry/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2216 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2263 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2273 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2274 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2284 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2285 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2295 Structural error at paths./v1/windows/file/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2296 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2343 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2353 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2354 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2364 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2365 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2375 Structural error at paths./v1/windows/network/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2376 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2423 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2433 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2434 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2444 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2445 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2455 Structural error at paths./v1/windows/logon/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2456 Structural error at paths./v1/windows/event/{event_id}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2502 Structural error at paths./v1/windows/event/{event_id}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2512 Structural error at paths./v1/windows/event/{event_id}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2513 Structural error at paths./v1/windows/event/{event_id}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2523 Structural error at paths./v1/windows/event/{event_id}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2524 Structural error at paths./v1/windows/event/{event_id}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2534 Structural error at paths./v1/windows/event/{event_id}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2535 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2582 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2592 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2593 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2603 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2604 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2614 Structural error at paths./v1/windows/privileges/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2615 Structural error at paths./v1/windows/events/{channel}.get.parameters.1.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2661 Structural error at paths./v1/windows/events/{channel}.get.parameters.2.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2671 Structural error at paths./v1/windows/events/{channel}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2672 Structural error at paths./v1/windows/events/{channel}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2682 Structural error at paths./v1/windows/events/{channel}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2683 Structural error at paths./v1/windows/events/{channel}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2693 Structural error at paths./v1/windows/events/{channel}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2694 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2749 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2759 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2760 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2770 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2771 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2781 Structural error at paths./v1/windows/events/{channel}/{client_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2782 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2846 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2856 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2857 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2867 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2868 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2878 Structural error at paths./v1/windows/events/{channel}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2879 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.2.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2933 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.3.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2943 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2944 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2954 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2955 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 2965 Structural error at paths./v1/windows/events/{channel}/{provider}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 2966 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.3.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3029 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.4.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 3039 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3040 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 3050 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3051 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 3061 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3062 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.4.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3134 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 3144 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.5.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3145 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 3155 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.6.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3156 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.0.exclusiveMinimum should be boolean Jump to line 3166 Structural error at paths./v1/windows/events/{channel}/{provider}/{client_uuid}/{agent_uuid}.get.parameters.7.schema.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3167 Structural error at components.schemas.AbsoluteTimeRange.properties.start_time.exclusiveMinimum should be boolean Jump to line 3219 Structural error at components.schemas.AbsoluteTimeRange.properties.end_time.anyOf.0.exclusiveMinimum should be boolean Jump to line 3225 Structural error at components.schemas.AbsoluteTimeRange.properties.end_time.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3226 Structural error at components.schemas.FirewallLogFilter.properties.src_ip.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3238 Structural error at components.schemas.FirewallLogFilter.properties.dest_ip.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3244 Structural error at components.schemas.FirewallLogFilter.properties.src_port.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3250 Structural error at components.schemas.FirewallLogFilter.properties.dest_port.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3256 Structural error at components.schemas.LogFilter.properties.client_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3276 Structural error at components.schemas.LogFilter.properties.agent_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3283 Structural error at components.schemas.LogFilter.properties.start_idx.exclusiveMinimum should be boolean Jump to line 3294 Structural error at components.schemas.LogFilter.properties.result_count.exclusiveMaximum should be boolean Jump to line 3300 Structural error at components.schemas.LogFilter.properties.result_count.exclusiveMinimum should be boolean Jump to line 3301 Structural error at components.schemas.LogFilter.properties.returned_fields.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3315 Structural error at components.schemas.LogFilter.properties.filter.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3323 Structural error at components.schemas.MatchFilter.properties.client_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3383 Structural error at components.schemas.MatchFilter.properties.agent_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3390 Structural error at components.schemas.RuleEnableDisable.properties.client_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3440 Structural error at components.schemas.RuleEnableDisable.properties.agent_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3447 Structural error at components.schemas.RuleFilter.properties.client_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3466 Structural error at components.schemas.RuleFilter.properties.agent_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3473 Structural error at components.schemas.RuleFilter.properties.enabled.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3479 Structural error at components.schemas.SetMatchStatus.properties.log_uuid.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3503 Structural error at components.schemas.WindowsLogFilter.properties.event_id.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3582 Structural error at components.schemas.WindowsLogFilter.properties.channel.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3588 Structural error at components.schemas.WindowsLogFilter.properties.provider.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3594 Structural error at components.schemas.WindowsLogFilter.properties.level.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3600 Structural error at components.schemas.WindowsLogFilter.properties.computer.anyOf.1.type should be equal to one of the allowed values allowedValues: array, boolean, integer, number, object, string Jump to line 3606 ```

I'll review this to ensure that exceptions are handled gracefully. However, we might not be able to determine which schema to display, considering that Scalar shows null and the Official Swagger Editor shows string.

wspeirs commented 1 week ago

Adding a response schema (just changed to text/plain for now) seems to make everything render correctly.

Do you know of a good tool that will complain loudly about these types of issues? I tried another openapi.json file with your library, and it crashed in a similar way because it was lacking security schema. Thanks!

enzonotario commented 1 week ago

mm I don't really know a good tool, as I see that even the Official Swager Editor fails on OpenAPI v3.1.0.

from this library, I need to find a library that could validate the Specification as discussed in #9 , and handle exceptions gracefully.