Skip to main content

supported-response-status-attribute-value

Overview

This rule belongs to the wadl-validation ruleset and states that:

If multiple responses are disabled via import settings provided in the APIMatic Metadata file, only response definitions belonging to status code ranges 200-208 and 400-599 will be imported. Those outside the supported range will be ignored automatically during import/transformations in APIMatic. Therefore, ensure that the value assigned to the status attribute of a <response> element falls in the same range.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageProvided response status code is not supported in the current import configuration.
CodeWADL_V400
TypeValidation
Rule SystemSemantic
Broad CategoryResponses
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagswadl api semantic validation http status code status code status attribute response method

Suggested Fixes

  • Enable import setting ImportMultipleResponses using the APIMatic Metadata file.
  • Remove the <response> element from the <method> definition which has an unsupported status code value.

For More Information