In some documents it says it allows this:
parameters:
- name: body
'in': 'body'
required: true
schema:
type: string
But in reality, the in argument can only be path, query, cookie or header.
I also could not skip the parameters, because it would generate the wrong rust code.