This rule belongs to the
apimatic-preliminary-validation ruleset and states that:
An endpoint must consist of a default success response definition.
|Message||The default success response of the endpoint is undefined.|
|Broad Category||Endpoint Responses|
|Products Impacted||Code Generation, Developer Experience Portal, API Transformer|
- Define the default response in the endpoint and set the type as "Void" if no response body is expected. If a response body is expected, set an appropriate type accordingly.
- Valid success response status code range is 200-208.