Fieldwire · API Governance Rules
Fieldwire API Rules
Spectral linting rules defining API design standards and conventions for Fieldwire.
9 Rules
error 5
warn 4
Rule Categories
fieldwire
Rules
error
fieldwire-info-title
Info title must start with "Fieldwire".
$.info.title
error
fieldwire-info-license
Specs must reference the Fieldwire Terms of Service license.
$.info.license
error
fieldwire-server-host
Server URLs must use one of the Fieldwire API hosts (super, US, or EU).
$.servers[*].url
error
fieldwire-bearer-auth
All endpoints except token exchange must use BearerAuth.
$.components.securitySchemes
error
fieldwire-bearer-jwt
BearerAuth scheme must declare JWT bearer format.
$.components.securitySchemes.BearerAuth
warn
fieldwire-operation-id-camel
All operationIds must use camelCase.
$.paths.*.*.operationId
warn
fieldwire-summary-title-case
Operation summaries must use Title Case.
$.paths.*.*.summary
warn
fieldwire-snake-case-paths
Path segments and parameters must use snake_case (matches the Fieldwire convention).
$.paths
warn
fieldwire-id-int64
ID parameters must be integer/int64.
$.paths.*.*.parameters[?(@.name =~ /_id$/)]