Documentation
¶
Index ¶
- func ConvertCmd() *cobra.Command
- func ConvertSpec(inputFile, formatIn, formatOut, converter string) ([]byte, error)
- func Generate(inputSpec string, patches []string, generatorId string, templateId string, ...) error
- func GenerateCmd() *cobra.Command
- func GenerateTemplateCmd() *cobra.Command
- func MergeCmd() *cobra.Command
- func Patch(inputFiles []string, output string, inputPatches []sharedpatch.SpecPatch, ...) ([]byte, error)
- func PatchCmd() *cobra.Command
- func PatchGenerateCmd() *cobra.Command
- func PatchListCmd() *cobra.Command
- func PatchValidateCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCmd ¶
func ConvertSpec ¶
func Generate ¶
func Generate(inputSpec string, patches []string, generatorId string, templateId string, outputDir string, opts openapigenerator.GenerateOpts) error
func GenerateCmd ¶
func GenerateTemplateCmd ¶
func Patch ¶
func Patch(inputFiles []string, output string, inputPatches []sharedpatch.SpecPatch, patches []sharedpatch.SpecPatch) ([]byte, error)
Patch runs the patch command
Parameters:
- inputFiles: input specification files
- output: output file
- inputPatches: patches to apply to the input specification(s) pre-merge
- patches: patches to apply to the merged specification
func PatchGenerateCmd ¶
func PatchListCmd ¶
func PatchValidateCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.