Add the "Define API Schema" to a custom action

Adding "Define API Schema" to a custom action.

Hello everyone.

I have a custom API Action to send FormData and Client Authentication via digital certificate.

I would like to add the "Define API Schema" option, similar to the "API Action" option that already exists by default.

"API ACTION"

"API ACTION CUSTOMIZADA"

Can someone help me add this function to my custom "API ACTION"? If needed, I can send the files for analysis by someone more experienced in customizing actions.