postman-to-openapi
postman-to-openapi copied to clipboard
disabled options
Hi,
Thanks for the great product.
Postman gives you the ability to enable and disable options, parameters, for example, in headers.
In postman json this is marked as "disabled": true.
Apparently there is no way to have switches, for example, in the headers for swagger?
I should probably put the changeable values into variables and leave only enabled headers to control them?
from json:
{
"info": {
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "whatever",
"item": [
{
"name": "Create new whatever",
"event": [
],
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "X-Real-UserAgent",
"value": "{{real_user_agent}}",
"type": "text"
},
{
"key": "X-Real-UserAgent",
"value": "{{real_user_agent_mobile}}",
"type": "text",
"disabled": true
}
]…