Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apideck/portman

Package Overview
Dependencies
Maintainers
0
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apideck/portman - npm Package Versions

1
10

1.26.0

Diff

Changelog

Source

v1.26.0 - (2024-01-16)

  • Portman - Change default enableOptionalParameters setting to false (#550)

[!CAUTION]
Breaking Change: The default behaviour of the Query parameters is changed since version 1.26.0.<br>Optional query parameters will be disabled in Postman by default.

This will reduce the need for extra Portman config to disable the optional query parameters in the Postman collection and provide a more expected result in Postman.

OpenAPI:

    limitParam:
      name: limit
      in: query
      description: (Required) Number of records to return
      required: true # <----------
      schema:
        type: string

BEFORE

All the query parameters are enabled in the Postman collection.

<img src="./examples/postman-to-k6/images/enable-optional-parameters-before.png" width="1021" >

AFTER

Only the required query parameters are enabled in the Postman collection.

<img src="./examples/postman-to-k6/images/enable-optional-parameters-after.png" width="1018" >

You can modify this default behaviour by using --postmanConfigFile parameters. This will allow you to provide a specific configuration file that will be used for converting the OpenAPI specification to Postman.

See postmanConfigFile example for more info.

trinix
published 1.25.1 •

Changelog

Source

v1.25.1 - (2024-01-16)

  • AssignVariables: Fix casing for template expressions for variable props (#549)
trinix
published 1.25.0 •

Changelog

Source

v1.25.0 - (2024-01-15)

  • AssignVariables: Option to use template expressions for variable names (#548)
  • AssignVariables: Option to use template expressions for variable properties for Request body, Response body & header (#548)
  • Overwrites: Option to use template expressions for values (#548)
  • Globals: Define the casing of the generated variable names (#541)
  • Globals: Apply variableCasing for injected .ENV variables (#548)
  • Globals: Define the separatorSymbol used in the Postman test names (#541)
  • Support for loading local or remote JSON/YAML config files (#547)
  • Implement openapi-format as module (#539)
  • Fix includeTests parameter behaviour (#544)
  • Updated examples
trinix
published 1.24.0 •

Changelog

Source

v1.24.0 - (2024-01-05)

  • Globals - Added the option set 'collectionVariables' for setting variables on collection level
trinix
published 1.23.2 •

Changelog

Source

v1.23.2 - (2024-01-05)

  • Added $schema to the Portman JSON Schema for auto-completion
  • Bumped dependencies: openapi-to-postmanv2 4.18.0, newman 6.1.0, postman-collection 4.3.0, openapi-format 1.15.2, axios 1.6.4
trinix
published 1.23.1 •

Changelog

Source

v1.23.1 - (2023-10-28)

  • overwriteRequestSecurity - Handle missing auth config (#509)
  • overwriteRequestQueryParams - Enable disabled query params (#484)
trinix
published 1.23.0 •

Changelog

Source

v1.23.0 - (2023-10-28)

  • orderOfOperations - Adjusted ordering string matching to be exact when wildcard is not present (#490)
  • ContentTests - Add pm variable support for oneOf assertions in content tests (#520)
  • Postman Sync - Set no limit to the body size on collection update (#517)
  • Postman Sync - Removes extra query params from url for the file name (#525)
  • Fuzzing - Exclude properties with reserved names from fuzzing (#514)
  • Bugfix for overwriteRequestBody - should root overwrite (#524)
  • Bumped dependencies
trinix
published 1.22.0 •

Changelog

Source

v1.22.0 - (2023-03-26)

  • syncPostmanCollectionIds - Synchronises the IDs of newly created postman collections (#457)
  • securityOverwrites - Set auth settings when no auth is defined (#472)
  • overwriteRequestSecurity - Keep API key when no key is provided (#468)
  • orderOfOperations - Prevent error (#467)
trinix
published 1.21.0 •

Changelog

Source

v1.21.0 - (2023-02-27)

  • Bumped openapi-to-postman to 4.9.0 which support OpenAPI 3.1
  • Bugfix for integrationTests - merge folders/suites into one (#361)
  • Bugfix to overwrite request headers with empty values (#459)
  • Bugfix for overwriteRequestBaseUrl - overwrite value with path parameters excludes parameters (#446)
  • Bugfix for handling Postman variables in the path when targeting (#445)
  • Bugfix for handling null values safer for analyzeFuzzJsonSchema (#443)
  • Bugfix for handling variable injection of the baseUrl & server variables (#408, #437)
  • Bumped dependencies
trinix
published 1.20.1 •

Changelog

Source

v1.20.1 - (2022-12-06)

  • Bugfix "overwriteRequestBaseUrl" to keep the path parameters (#434)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc