Schema definitions for bodies dont except ‘#\components\requestBodies\myBody’ and instead insists it has to be in schemas ‘#\components\schemas\myBody’ this looks like an error?
I’ve tested ‘#\components\requestBodies\myBody’ with OpenAPI Editor and it works just fine.
Perhaps the issue is with your requestBody definition?
If you don’t share more details of the error or your definition, it’s difficult to provide more helpful suggestions.