Skip to content

tberman/graphql-swift-codegen

Repository files navigation

graphql-swift-codegen

Build Status

graphql-swift-codegen will generate swift code based on the schema provided.

Install

Clone the repository and use rake install to build.

This will put the binary in ./build/graphql-swift-codegen/bin/.

Usage

$ graphql-swift-codegen url

Options:
  --path - Output path, default: .
  --username - HTTP Basic auth username
  --password - HTTP Basic auth password
  --bearer - HTTP Bearer auth token, eg: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1N...
  --v - Add verbose output
  --r - Raw body (old GraphQL servers accept the query as a raw POST)

About

GraphQL Swift code generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published