Oracle WebLogic Server APIs · API Governance Rules
Oracle WebLogic Server APIs API Rules
Spectral linting rules defining API design standards and conventions for Oracle WebLogic Server APIs.
13 Rules
error 2
warn 11
Rule Categories
weblogic
Rules
warn
weblogic-summary-prefix
Operation summaries must start with "Oracle WebLogic Server APIs"
$.paths[*][*].summary
warn
weblogic-summary-title-case
Operation summary after the prefix must use Title Case
$.paths[*][*].summary
warn
weblogic-operation-id-camel-case
operationId must use camelCase naming
$.paths[*][*].operationId
error
weblogic-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,patch,delete,head,options]
warn
weblogic-operation-description-required
All operations must have a description
$.paths[*][get,post,put,patch,delete,head,options]
warn
weblogic-operation-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete,head,options]
warn
weblogic-response-401-required
Operations must define a 401 Unauthorized response
$.paths[*][get,post,put,patch,delete].responses
warn
weblogic-path-parameter-description
Path parameters must have a description
$.paths[*][*].parameters[?(@.in == 'path')]
warn
weblogic-schema-description
Named schemas in components must have a description
$.components.schemas[*]
error
weblogic-security-defined
API must define at least one security scheme
$
warn
weblogic-path-kebab-case
Path segments must use kebab-case (lowercase, hyphens)
$.paths[*]~
warn
weblogic-info-contact
API info must include contact information
$.info
warn
weblogic-info-license
API info must include license information
$.info