Xquik · API Governance Rules
Xquik API Rules
Spectral linting rules defining API design standards and conventions for Xquik.
20 Rules
error 15
warn 3
info 2
Rule Categories
xquik
Rules
error
xquik-openapi-version
Use OpenAPI 3.1.
$
error
xquik-info-title
Provide the API title.
$.info
error
xquik-info-description
Describe the API.
$.info
error
xquik-info-version
Provide the API version.
$.info
error
xquik-info-contact
Provide maintainer contact details.
$.info
warn
xquik-contact-name
Name the API maintainer.
$.info.contact
warn
xquik-contact-url
Link the API maintainer.
$.info.contact
warn
xquik-contact-email
Publish the support email.
$.info.contact
error
xquik-servers
Declare a production server.
$
error
xquik-server-url
Give each server a URL.
$.servers[*]
info
xquik-tags
Define shared operation tags.
$
error
xquik-paths
Publish API paths.
$
error
xquik-operation-summary
Summarize every operation.
$.paths[*][get,post,put,patch,delete]
error
xquik-operation-id
Identify every operation.
$.paths[*][get,post,put,patch,delete]
error
xquik-operation-tags
Group every operation.
$.paths[*][get,post,put,patch,delete]
error
xquik-operation-responses
Document operation responses.
$.paths[*][get,post,put,patch,delete]
info
xquik-components
Publish reusable components.
$
error
xquik-component-schemas
Publish reusable schemas.
$.components
error
xquik-security-schemes
Declare authentication schemes.
$.components
error
xquik-security
Apply authentication requirements.
$