GoHarbor · API Governance Rules
GoHarbor — harbor rules
Spectral linting rules defining API design standards and conventions for GoHarbor.
5 Rules
error 4
warn 1
Published by GoHarbor
Served by the provider at https://github.com/goharbor/harbor/blob/4d425b805f318eb8dfe621842c02bef8dc0c0959/.spectral.yaml; the copy below was fetched from there.
Rule Categories
camel
operation
requestId
required
Rules
error
required-operationId
must have a operationId.
$.paths[*][*]
warn
camel-case-operationId
should be camelCased.
$.paths[*][*].operationId
error
requestId-required
must have a requestId parameters.
$.paths[*][*]
error
operation-description
Every operation must have a description field.
$.paths[*][*]
error
operation-summary-required
Every operation must have a summary field.
$.paths[*][*]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.