Netcracker · API Governance Rules

Netcracker — qubership api linter service rules

Spectral linting rules defining API design standards and conventions for Netcracker.

10 Rules warn 10
View Rules File View on GitHub

Rule Categories

components license no paths request responses schema server

Rules

warn
license-url
License URL check
$.info.license
warn
no-example-com-in-url
Url must not use example.com based domain inside
$..*
warn
server-variables-descriptions
Server variables need to be described
$.servers.variables[*]
warn
paths-description
All the paths need to be described
$.paths[*][*]
warn
request-body-description
All the request bodies need to be described
$.paths[*][*].requestBody
warn
responses-description
All the responses need to be described
$.paths[*][*].responses[*]
warn
components-security-schemas-description
All the component security schemas need to be described
$.components.securitySchemes[*]
warn
schema-description
All the schemas need to be described
$.schema[*]
warn
schema-properties-description
All the schema properties need to be described
$.schema.properties[*]
warn
schema-properties-children-description
All the schema children properties need to be described
$.schema.properties[*][*].properties

Spectral Ruleset

Raw ↑
# harvested from https://github.com/Netcracker/qubership-api-linter-service/blob/08730a6744a3efab7521aae436dbf0c9ff1a54d5/qubership-api-linter-service/resources/vacuum/rules/rules.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (Netcracker/qubership-api-linter-service); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/Netcracker/qubership-api-linter-service/blob/08730a6744a3efab7521aae436dbf0c9ff1a54d5/qubership-api-linter-service/resources/vacuum/rules/rules.yaml
# Copyright 2024-2025 NetCracker Technology Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

extends: [[spectral:oas, recommended]]
description: Qubership's rules for a high quality specification.
rules:
  license-url:
    message: "License must have an URL defined"
    description: License URL check
    formats:
        - oas3
        - oas3_1
    given: $.info.license
    howToFix: Please supply license object with "url"
    recommended: true
    resolved: true
    severity: warn
    then:
        field: url
        function: truthy
  no-example-com-in-url:
    message: "Url must not use example.com anyhow"
    description: Url must not use example.com based domain inside
    formats:
        - oas3
        - oas3_1
    given: $..*
    howToFix: Please exclude example.com from "url"
    recommended: true
    resolved: true
    severity: warn
    then:
      field: url
      function: pattern
      functionOptions:
        notMatch: example\.com
  server-variables-descriptions:
    description: Server variables need to be described
    given: $.servers.variables[*]
    howToFix: Please add 'description' field to the server variable
    recommended: true
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  paths-description:
    description: All the paths need to be described
    given: $.paths[*][*]
    howToFix: Please add 'description' field to the path
    recommended: true
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  request-body-description:
    description: All the request bodies need to be described
    given: $.paths[*][*].requestBody
    howToFix: Please add 'description' field to the request body
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  responses-description:
    description: All the responses need to be described

    given: $.paths[*][*].responses[*]
    howToFix: Please add 'description' field to the response children
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  components-security-schemas-description:
    description: All the component security schemas need to be described
    given: $.components.securitySchemes[*]
    howToFix: Please add 'description' field to all the component security schemas
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  schema-description:
    description: All the schemas need to be described
    given: $.schema[*]
    howToFix: Please add 'description' field to all the schemas
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  schema-properties-description:
    description: All the schema properties need to be described
    given: $.schema.properties[*]
    howToFix: Please add 'description' field to all the schema propertiess
    severity: warn
    then:
      field: description
      function: truthy
    type: style
  schema-properties-children-description:
    description: All the schema children properties need to be described
    given: $.schema.properties[*][*].properties
    howToFix: Please add 'description' field to all the schema children propertiess
    severity: warn
    then:
      field: description
      function: truthy
    type: style

Work with this as data

Every ruleset here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/netcracker-qubership-api-linter-service-spectral-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.