VS Code Marketplace · API Governance Rules
VS Code Marketplace API Rules
Spectral linting rules defining API design standards and conventions for VS Code Marketplace.
9 Rules
error 2
warn 4
info 3
Rule Categories
vscode
Rules
warn
vscode-marketplace-operation-ids-camel-case
Operation IDs must use camelCase.
$.paths[*][*].operationId
warn
vscode-marketplace-tags-title-case
Tags must use Title Case.
$.paths[*][*].tags[*]
error
vscode-marketplace-operation-summary-required
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
info
vscode-marketplace-operation-description-required
All operations should have a description.
$.paths[*][get,post,put,patch,delete]
error
vscode-marketplace-post-has-request-body
POST operations must define a request body.
$.paths[*].post
warn
vscode-marketplace-response-200-or-202
GET and POST operations must define a 200 response.
$.paths[*][get,post]
info
vscode-marketplace-api-version-query-param
Marketplace Gallery API endpoints require an api-version query parameter.
$.paths[*][post,get].parameters[*]
warn
vscode-marketplace-path-lowercase
API path segments should be lowercase.
$.paths
info
vscode-marketplace-schema-descriptions
Schema properties should have descriptions.
$.components.schemas[*].properties[*]