converter

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectionToHTTPFiles

func CollectionToHTTPFiles(collection *model.PostmanCollection) []model.HTTPFile

CollectionToHTTPFiles converts a Postman collection into HTTP files.

func ExtractBearerToken

func ExtractBearerToken(auth *model.PostmanAuth) (string, bool)

ExtractBearerToken extracts the bearer token from a PostmanAuth.

func FormatFileName

func FormatFileName(name string) string

FormatFileName sanitizes a name for use as a file/directory name.

func FormatGroupName

func FormatGroupName(name string) string

FormatGroupName formats a name for display (exported for testing).

func HTTPFilesToCollection

func HTTPFilesToCollection(files []model.HTTPFile, name string, version string, env *model.Environment) *model.PostmanCollection

HTTPFilesToCollection converts parsed HTTP files into a Postman collection.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL