Amy Zhang Thanks for posting your question in Microsoft Q&A.
#1 When you import OpenAPI spec in APIM, query parameters with required fields are converted as template parameters. So, if you can call API without that parameter (i.e. CurrentOwnerEmail), you will get 404 error as per design. If you like to change the behavior, follow the instructions in API Management during OpenAPI import doc (Change to query parameters instead of template parameters).
#2 For the second scenario, APIM will not validate the empty string by default. You would need to use validate-parameters
policy to validate and block such requests. Check out Validate parameters doc to know about the policy and examples for reference.
I hope this helps and feel free to reach out if you have any questions.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.