Wine-Searcher · API Governance Rules
Wine-Searcher API Rules
Spectral linting rules defining API design standards and conventions for Wine-Searcher.
9 Rules
error 6
warn 2
info 1
Rule Categories
wine
Rules
info
wine-searcher-get-only
Wine-Searcher API uses GET for all endpoints
$.paths[*]
error
wine-searcher-api-key-required
All Wine-Searcher API endpoints must require api_key parameter
$.paths[*].get.parameters[?(@.name=='api_key')]
error
wine-searcher-winename-required
All Wine-Searcher API endpoints must require winename parameter
$.paths[*].get.parameters[?(@.name=='winename')]
error
wine-searcher-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
warn
wine-searcher-operation-id-camel-case
OperationIds should use camelCase
$.paths[*][*].operationId
error
wine-searcher-operation-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,delete,patch]
error
wine-searcher-summary-required
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
warn
wine-searcher-schema-descriptions
Schema components should have descriptions
$.components.schemas[*]
error
wine-searcher-success-response-required
Operations must define at least one response
$.paths[*][get,post,put,delete,patch].responses