Activepieces · API Governance Rules
Activepieces API Rules
Spectral linting rules defining API design standards and conventions for Activepieces.
25 Rules
error 10
warn 11
info 4
Rule Categories
http
info
openapi
operation
pagination
parameter
paths
response
schema
security
servers
Rules
warn
info-title-format
API title should start with "Activepieces"
$.info.title
error
info-description-required
Info object must have a description
$.info
error
info-version-required
Info object must include a version
$.info
warn
openapi-version
Should use OpenAPI 3.x
$.openapi
error
servers-defined
At least one server must be defined
$
warn
servers-https
All servers should use HTTPS
$.servers[*].url
error
paths-no-trailing-slash
Paths must not have trailing slashes
$.paths[*]~
info
paths-kebab-case
Path segments should use kebab-case
$.paths[*]~
error
operation-summary-required
Every operation must have a summary
$.paths[*][get,post,put,patch,delete]
warn
operation-summary-prefix
Operation summary should start with "Activepieces"
$.paths[*][get,post,put,patch,delete].summary
warn
operation-description-required
Every operation should have a description
$.paths[*][get,post,put,patch,delete]
error
operation-operationId-required
Every operation must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
operation-operationId-camelCase
OperationId should use camelCase
$.paths[*][get,post,put,patch,delete].operationId
warn
operation-tags-required
Every operation must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
parameter-description-required
Every parameter must have a description
$.paths[*][get,post,put,patch,delete].parameters[*]
info
pagination-limit-param
List endpoints should support limit parameter
$.paths[*].get.parameters[*]
error
response-success-required
Every operation must have at least one 2xx response
$.paths[*][get,post,put,patch,delete].responses
error
response-description-required
Every response must have a description
$.paths[*][get,post,put,patch,delete].responses[*]
info
response-401-defined
Operations should document 401 Unauthorized response
$.paths[*][get,post,put,patch,delete].responses
error
security-schemes-defined
Security schemes must be defined
$.components
warn
security-bearer-auth
API should use Bearer authentication
$.components.securitySchemes[*]
error
http-get-no-request-body
GET operations should not have a request body
$.paths[*].get
info
http-delete-returns-204
DELETE operations should return 204
$.paths[*].delete.responses
warn
schema-description-required
Component schemas should have descriptions
$.components.schemas[*]
warn
schema-properties-have-types
Schema properties should define types
$.components.schemas[*].properties[*]