rockwell-factorytalk · API Governance Rules
rockwell-factorytalk API Rules
Spectral linting rules defining API design standards and conventions for rockwell-factorytalk.
10 Rules
error 3
warn 5
info 2
Rule Categories
factorytalk
Rules
error
factorytalk-has-security
All FactoryTalk Optix API operations must define security
$.paths[*][get,post,put,patch,delete]
error
factorytalk-operation-id-required
All operations must have a unique operationId
$.paths[*][get,post,put,patch,delete]
warn
factorytalk-operation-id-camel-case
FactoryTalk operationIds use camelCase naming
$.paths[*][get,post,put,patch,delete].operationId
error
factorytalk-summary-required
All operations must have a summary
$.paths[*][get,post,put,patch,delete]
warn
factorytalk-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
factorytalk-path-kebab-case
Path segments should use lowercase letters, digits, or hyphens
$.paths[*]~
warn
factorytalk-unauthorized-response
All authenticated endpoints should document 401 Unauthorized
$.paths[*][get,post,put,patch,delete].responses
warn
factorytalk-schema-description
All component schemas should have descriptions
$.components.schemas[*]
info
factorytalk-tags-pascal-case
Tag names should use PascalCase for FactoryTalk consistency
$.tags[*].name
info
factorytalk-array-total-count
List operations should return totalCount for pagination support
$.paths[*][get].responses['200'].content['application/json'].schema