Provide a way to statically define API port number

allow window.swaggerAPIport to hold a static value for the port number for try it now API requests