You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed behavior: the app unexpectedly exits with a runtime error.
IBM OpenAPI Validator (validator: 1.16.10), @Copyright IBM Corporation 2017, 2024.
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)
SCIM Background
SCIM data model uses $ref as an attribute name that could be a confusion for OpenAPI-tools.
The OpenAPI file mentioned in reproduction step 1 contains declaration for the resource per standard with $ref attribute as follows:
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.
SCIM Background
SCIM data model uses
$ref
as an attribute name that could be a confusion for OpenAPI-tools.The OpenAPI file mentioned in reproduction step 1 contains declaration for the resource per standard with
$ref
attribute as follows:RFC snippet for populated SCIM-resource:
The text was updated successfully, but these errors were encountered: