Corporate Bullshit Generator API · API Governance Rules

Corporate Bullshit Generator API API Rules

Spectral linting rules defining API design standards and conventions for Corporate Bullshit Generator API.

10 Rules error 7 warn 3
View Rules File View on GitHub

Rule Categories

cbsg

Rules

warn
cbsg-info-contact
API info object should include contact information.
$.info
warn
cbsg-info-license
API should declare a license.
$.info
error
cbsg-server-https
Servers must use HTTPS.
$.servers[*].url
error
cbsg-server-host
Server URL must reference the public CBSG host.
$.servers[*].url
error
cbsg-root-path
API must define the root path.
$.paths
error
cbsg-get-only
The root path must only support GET.
$.paths['/']
warn
cbsg-no-auth
The API is unauthenticated; security must be empty or absent.
$.paths['/'].get
error
cbsg-json-response
200 response must return application/json.
$.paths['/'].get.responses.200.content
error
cbsg-phrase-property
Response schema must include a phrase property.
$.components.schemas.Phrase.properties
error
cbsg-operation-id
Operation must define an operationId.
$.paths.*.get

Spectral Ruleset

Raw ↑
extends: ["spectral:oas"]
documentationUrl: https://corporatebs-generator.sameerkumar.website/
rules:
  cbsg-info-contact:
    description: API info object should include contact information.
    given: "$.info"
    severity: warn
    then:
      field: contact
      function: truthy
  cbsg-info-license:
    description: API should declare a license.
    given: "$.info"
    severity: warn
    then:
      field: license
      function: truthy
  cbsg-server-https:
    description: Servers must use HTTPS.
    given: "$.servers[*].url"
    severity: error
    then:
      function: pattern
      functionOptions:
        match: "^https://"
  cbsg-server-host:
    description: Server URL must reference the public CBSG host.
    given: "$.servers[*].url"
    severity: error
    then:
      function: pattern
      functionOptions:
        match: "corporatebs-generator.sameerkumar.website"
  cbsg-root-path:
    description: API must define the root path.
    given: "$.paths"
    severity: error
    then:
      field: /
      function: truthy
  cbsg-get-only:
    description: The root path must only support GET.
    given: "$.paths['/']"
    severity: error
    then:
      function: schema
      functionOptions:
        schema:
          type: object
          properties:
            get:
              type: object
          additionalProperties: false
  cbsg-no-auth:
    description: The API is unauthenticated; security must be empty or absent.
    given: "$.paths['/'].get"
    severity: warn
    then:
      field: security
      function: falsy
  cbsg-json-response:
    description: 200 response must return application/json.
    given: "$.paths['/'].get.responses.200.content"
    severity: error
    then:
      field: application/json
      function: truthy
  cbsg-phrase-property:
    description: Response schema must include a phrase property.
    given: "$.components.schemas.Phrase.properties"
    severity: error
    then:
      field: phrase
      function: truthy
  cbsg-operation-id:
    description: Operation must define an operationId.
    given: "$.paths.*.get"
    severity: error
    then:
      field: operationId
      function: truthy

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/corporate-bullshit-generator-api-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.