Groupe BPCE · API Governance Rules

Groupe BPCE API Rules

Spectral linting rules defining API design standards and conventions for Groupe BPCE.

2 Rules error 1 warn 1
Published by Groupe BPCE Served by the provider at https://github.com/BPCE/bpce-api-guidelines-rulesets/blob/14005808ecd2f75f7c05c67f4625cb4e6542e65a/rulesets/oas-ruleset.yaml; the copy below was fetched from there.
View Rules File View on GitHub

Rule Categories

oas2 oas31

Rules

error
oas31-version
OAS 3.1 is not supported - Only 3.0.X should be used
$
warn
oas2-version
Swagger/ OAS2 is considered legacy - consider upgrading to OAS3
$

Spectral Ruleset

Raw ↑
# harvested from https://github.com/BPCE/bpce-api-guidelines-rulesets/blob/14005808ecd2f75f7c05c67f4625cb4e6542e65a/rulesets/oas-ruleset.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (BPCE/bpce-api-guidelines-rulesets); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/BPCE/bpce-api-guidelines-rulesets/blob/14005808ecd2f75f7c05c67f4625cb4e6542e65a/rulesets/oas-ruleset.yaml
#
# Copyright 2019-2022 Groupe BPCE
#
# 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:
  # These 2 includes are done in oas-ruleset but must be redone here to deactivate oas2&3 rules
  - [spectral:oas, off]
rules:
  oas3-schema: error
  oas2-schema: error

  oas31-version:
    description: "OAS 3.1 is not supported - Only 3.0.X should be used"
    severity: error
    extensions:
      since: 2024-01-01
      justification: "Few tools actually support the 3.1 version, so using a 3.0.X version maximizes compatibility."
      tags:
        - oas
        - version
    given: $
    recommended: true
    formats:
      - oas3_1
    message: "{{description}} ({{path}})"
    then:
      function: falsy

  oas2-version:
    description: "Swagger/ OAS2 is considered legacy - consider upgrading to OAS3"
    severity: warn
    extensions:
      since: 2024-01-01
      justification: "Fewer and fewer tools actively support the 2.0 version, which presents an obsolescence risk."
      tags:
        - oas
        - version
    given: $
    recommended: true
    formats:
      - oas2
    message: "{{description}} ({{path}})"
    then:
      function: falsy

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/groupe-bpce-bpce-api-guidelines-rulesets-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.