Web of Science APIs · API Governance Rules
Web of Science APIs API Rules
Spectral linting rules defining API design standards and conventions for Web of Science APIs.
22 Rules
error 8
warn 7
info 7
Rule Categories
wos
Rules
error
wos-openapi-version
Web of Science API specs must use OpenAPI 3.0.x
$
error
wos-info-title
API must have a title
$.info
warn
wos-info-description
API must have a description
$.info
error
wos-info-version
API must have a version
$.info
warn
wos-operation-summary
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
info
wos-operation-description
All operations should have a description
$.paths[*][get,post,put,delete,patch]
error
wos-operation-operationid
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
warn
wos-operation-tags
All operations must have tags
$.paths[*][get,post,put,delete,patch]
error
wos-operation-responses
All operations must have responses defined
$.paths[*][get,post,put,delete,patch]
error
wos-response-200
GET operations must have a 200 response
$.paths[*][get]
warn
wos-response-401
All operations should have a 401 response
$.paths[*][get,post,put,delete,patch]
info
wos-schema-properties-description
Schema properties should have descriptions
$.components.schemas[*].properties[*]
warn
wos-parameter-description
Parameters should have descriptions
$.paths[*][get,post,put,delete,patch].parameters[*]
error
wos-apikey-security
API must define API key security scheme
$.components.securitySchemes
warn
wos-security-defined
API must have global security defined
$
info
wos-operation-tags-valid
Operations should use valid Web of Science tags
$.paths[*][get,post].tags[*]
error
wos-servers-defined
API must define servers
$
info
wos-pagination-limit
Search operations should support limit/count parameter
$.paths.~1documents[get]
info
wos-microcks-operation
Operations should have Microcks extensions for testing
$.paths[*][get,post,put,delete,patch]
warn
wos-search-query-parameter
Search endpoints should have query parameter
$.paths.~1documents[get].parameters[*]
info
wos-uid-format
UID parameters should describe Web of Science identifier format
$.paths[*][get].parameters[?(@.name == 'uniqueId')]
info
wos-info-contact
API info should include contact details
$.info