You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not clear how the placeholders are resolve and hence how to define the environment to apply them.
Expected behavior
I expect to have the same placeholders to be use in the environment definition.
Screenshot
Update
{"openapi" : "3.0.1","info" : {"title" : "My Rest API","description" : "My RESTful API implementation","version" : "1.0.0"},"servers" : [{"url" : "{server-url}/api","description" : "My REST API","variables" : {"server-url" : {"default" : "http://localhost:8080/my-war","enum" : [""]}}}
I have tried to use just one placeholder in the url path templating, once imported in Postman I get {server-url}/api/models with only one { and not two {{server-url}} so that it can be interpolated with the defined environment variable.
The text was updated successfully, but these errors were encountered:
@blackat Since the OpenAPI converter now saves the server URL as a collection variable, we can only use the environment variable syntax while importing.
eg. a server.url of {protocol}://{host}:{port}/{contextpath}/{restapi} converts to {{protocol}}://{{host}}:{{port}}/{{contextpath}}/{{restapi}} in Postman.
Describe the bug
URL is not correctly imported when path templating is used.
Imported
JSON file
It is not clear how the placeholders are resolve and hence how to define the environment to apply them.
Expected behavior
I expect to have the same placeholders to be use in the environment definition.
Screenshot
Update
I have tried to use just one placeholder in the url path templating, once imported in Postman I get
{server-url}/api/models
with only one{
and not two{{server-url}}
so that it can be interpolated with the defined environment variable.The text was updated successfully, but these errors were encountered: