This rule belongs to the
api-blueprint-validation ruleset and states that:
A resource in an API Blueprint/Elements file must not define an
Attributes or a
Payload section for the request when the actions use the GET HTTP method. This is because such methods do not expect a body and, therefore, all related information will be automatically ignored during import/transformations in APIMatic.
|An attributes or a request payload section is defined for a GET method.
|API Transformer, Code Generation, Developer Experience Portal
- If an
Attributessection is defined for the GET action, remove it.
- If a
Requestsection is defined, remove any
Schemasections from it.