Skip to content

gogenswagger will generate signatures for the test case using swagger json file

License

Notifications You must be signed in to change notification settings

Mussabaheen/gogenswagger

Repository files navigation

gogenswagger

gogenswagger generates signature and boiler plate code for the test cases using the swagger JSON file.

Run Locally

Clone the project

  git clone https://github.com/Mussabaheen/gogenswagger.git

Go to the project directory

  cd gogenswagger

resolve go.mod file

  go mod tidy

run the project

  go run main.go

Creating build

  cd gogenswagger
  make build
  ./build/gogenswagger [flags]

Flags

  -json string
        Specify the Swagger JSON file path
  -language string
        Specify the language extension, currently supported languages js and go (default "go")
  -output string
        Specify the path for generated test packages (default "./generated")

Supported Programming Languages

Supported Language Description
Go *.go extension
Javascript *.js extension (chai)

Contributing

Contributions are always welcome!

Feel free to report an issue, make improvement suggestions or open a pull request

License

MIT

Support

For support, email at mussabaheen@gmail.com