Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 726 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 726 Bytes

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)