Thank you Danny for the response.
Here is our existing API documented at Readme: Finds approximate location by IP.
json code Snippet for this is shared below.
Above using swagger(openapi)
The requirement is to use the same OpenAPI json file to also upload to Postman collections using “postman” or curl command automatically. However, to do that, we have to use a converter(openapi2postmanv2) and manual editing to upload a collection.
hence, we would like to know, how to format our openapi to support postman.
=== snippet of the json file we have now==
{
"swagger": "2.0",
"info": {
"title": "IP Location service",
"description": "Provides approximate city-level location, country, timezone, and mapping geo-coordinates for an IP address using statistical models.",
"version": "1.0.3",
"contact": {
"name": "Fastah Support",
"url": "https://docs.getfastah.com",
"email": "[email protected]"
}
},
"tags": [
{
"name": "location",
"description": "Location-related API"
}
],
"schemes": [
"https"
],
"host": "ep.api.getfastah.com",
"produces": [
"application/json"
],
"securityDefinitions": {
"API Key as HTTP header": {
"type": "apiKey",
"in": "header",
"name": "Fastah-Key"
},
"API Key as Query parameter": {
"type": "apiKey",
"in": "query",
"name": "fastah-key"
}
},
"security": [
{
"API Key as HTTP header": []
},
{
"API Key as Query parameter": []
}
],
"paths": {
"/whereis/v1/json/{IP}": {
"get": {
"tags": [
"location"
],
"operationId": "getLocationByIP",
"summary": "Finds approximate location by IP.",
"description": "Use this API for mapping an IPv4 or IPv6 address to city name.",
"produces": [
"application/json"
],