{"id":19099083,"url":"https://github.com/swagger-api/apidom-ls-client","last_synced_at":"2025-04-18T16:32:47.026Z","repository":{"id":39589863,"uuid":"506775336","full_name":"swagger-api/apidom-ls-client","owner":"swagger-api","description":"Demo client for apidom-ls OpenAPI / AsyncAPI ApiDOM validation service","archived":true,"fork":false,"pushed_at":"2023-07-13T01:45:01.000Z","size":65,"stargazers_count":3,"open_issues_count":1,"forks_count":4,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-11T21:22:12.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swagger-api.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-23T20:01:54.000Z","updated_at":"2024-09-20T12:14:13.000Z","dependencies_parsed_at":"2022-09-09T06:10:28.912Z","dependency_job_id":null,"html_url":"https://github.com/swagger-api/apidom-ls-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fapidom-ls-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fapidom-ls-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fapidom-ls-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swagger-api%2Fapidom-ls-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swagger-api","download_url":"https://codeload.github.com/swagger-api/apidom-ls-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249517982,"owners_count":21284869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:48:27.458Z","updated_at":"2025-04-18T16:32:46.770Z","avatar_url":"https://github.com/swagger-api.png","language":"TypeScript","readme":"# apidom-ls-client\n\nDemo client for apidom-ls OpenAPI / AsyncAPI ApiDOM validation service\n\n## Usage\n\n```\nnpm install\nnpm run process\n```\n\n### Providing rules\n\nAdd rules to array returned from file src/rules.ts\n\nField `given` expects an array of string representing the `element` items to apply the rules to (e.g. `schema`, `operation`)\n(TBD: jsonpath on the way)\n\n`element` is a string semantically identifying a node in the document, available elements can be found by:\n\n1. look at [this elements list](https://github.com/swagger-api/apidom/tree/main/packages/apidom-ns-openapi-3-1/src/elements) and pick\nthe `this.element` value within the file.\n2. additional `element` values with [this query](https://cs.github.com/swagger-api/apidom?q=%22classes.push%22+path%3Apackages%2Fapidom-ns-openapi-3-1%2Fsrc%2Frefractor%2Fvisitors)\n\nSeveral example of rules [here](https://github.com/swagger-api/apidom/tree/main/packages/apidom-ls/src/config/asyncapi)\n\nCore functions available in rules are available [here](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ls/src/services/validation/linter-functions.ts#L118=)\nTBD: core functions will be exported by apidom-ls e.g. to be usable/extended within custom functions.\n\nrun `npm run process` to execute with the added/updated rules\n\n#### Providing functions\n\nCustom functions can be provided either \"natively\" by adding them to the object returned by src/functions.ts \nor as evaluated functions by adding a `\u003cfunctionName\u003e.js` file to `functions` directory  ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagger-api%2Fapidom-ls-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswagger-api%2Fapidom-ls-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagger-api%2Fapidom-ls-client/lists"}