I am currently encountering an issue while attempting to integrate with an external API that necessitates specifying a port in its URL structure. The API I’m working with follows this format: https://[api_uri]:[port]. However, I’m facing a persistent error:
None of the provided servers is under the root origin https://[api_uri]
This error arises despite the fact that the API’s URL correctly includes the port number. Interestingly, when I apply the same operation to a different service that defaults to port 5000, everything functions as expected. This leads me to believe that the issue lies in specifying a non-standard port in the API connection.
For resolution, I need guidance on correctly incorporating the port number into the “servers” section of my OpenAPI Schema. This inclusion is crucial for the API to recognize and accept the specified port in the URL.
Could you please provide assistance or insights on how to properly format the OpenAPI Schema to accommodate this requirement?
Thank you for your attention to this matter.
