Closed apestov closed 2 months ago
Hi @apestov - I apologize for the delay in responding to this issue.
I've evaluated and this is indeed a validator bug. It will be resolved shortly.
:tada: This issue has been resolved in version 1.18.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.19.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
A runtime error is thrown when validating a schema of a SCIM-compliant API (System for Cross-domain Identity Management, RFC 7643, 7644, 7642).
Steps to reproduce:
Download OpenAPI File for Atlassian provisioning REST API ( https://developer.atlassian.com/cloud/admin/user-provisioning/rest/intro/ ) as an example SCIM-based API definition.
Execute
npx ibm-openapi-validator -r default swagger.v3.json
Observed behavior: the app unexpectedly exits with a runtime error.
Validation Results for swagger.v3.json:
[ERROR] There was a problem with spectral. [ERROR] Error running Nimma [ERROR] Additional error details: [ERROR] Cause: $ref.startsWith is not a function [ERROR] At: checkForCircularRef (@ibm-cloud\openapi-ruleset\src\functions\circular-refs.js:65:13)
RFC snippet for populated SCIM-resource: