Versions in this module Expand all Collapse all v0 v0.3.0 Mar 22, 2026 Changes in this version + func ConvertFileToBatch(path string, opts ...ConverterOption) (*ir.Batch, error) + func ConvertFileToRecords(path string, opts ...ConverterOption) ([]ir.IRRecord, error) + func GenerateUUID() string + func Read(r io.Reader) (*postman.Collection, error) + func ReadFile(path string) (*postman.Collection, error) + type ConvertResult struct + Metadata *ir.APIMetadata + Records []ir.IRRecord + TagDefinitions []ir.TagDefinition + Warnings []string + func ConvertFile(path string, opts ...ConverterOption) (*ConvertResult, error) + type Converter struct + BaseURL string + FilterHeaders []string + GenerateIDs bool + IncludeDisabled bool + IncludeHeaders bool + PreserveAuth bool + Variables map[string]string + func NewConverter() *Converter + func (c *Converter) Convert(collection *postman.Collection) (*ConvertResult, error) + func (c *Converter) ConvertToBatch(collection *postman.Collection) (*ir.Batch, error) + func (c *Converter) ConvertToRecords(collection *postman.Collection) ([]ir.IRRecord, error) + type ConverterOption func(*Converter) + func WithBaseURL(url string) ConverterOption + func WithDisabledItems() ConverterOption + func WithHeaderFilter(headers ...string) ConverterOption + func WithVariable(key, value string) ConverterOption + func WithVariables(vars map[string]string) ConverterOption + func WithoutAuth() ConverterOption + func WithoutHeaders() ConverterOption + func WithoutIDs() ConverterOption