I have a rest api in kubernetes exposed as NodePort but when i trying to add the api in api managament trought OpenApiSpecification with the next url http://10.35.748.671:31285/swagger/v1/swagger.json It's show me an error:
Unable to download specified file. Please ensure the URL is valid and the file is publicly accessible.
This is my service description
kubectl describe svc kservice
Name: kservice
Namespace: default
Labels: app=apis
Annotations: <none>
Selector: app=apikb
Type: NodePort
IP: 10.0.0.123
Port: <unset> 80/TCP
TargetPort: 80/TCP
**NodePort: <unset> 31285/TCP**
Endpoints: 10.35.748.671:80,10.35.748.697:80
Session Affinity: None
External Traffic Policy: Cluster
Events: <none>
¿How can I connect api managament with services in kubertes?