openapi-generator/docs/generators/graphql-schema.md
Jim Schubert 644f720db8
[docs] Sorted doc outputs and clean up duplicated CliOptions (#5046)
* [config-help] Sort all outputs

* Remove old/stale generator docs (these have been renamed previously)

* Sort config doc outputs, making it easier to find relevant info

* Fixes cliOptions duplicates

Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).

The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.

* Add --github-nested-index for generating docs/generators/README.md

* 📝 Regenerate generator docs
2020-01-19 20:19:11 -05:00

1.5 KiB

title sidebar_label
Config Options for graphql-schema graphql-schema
Option Description Values Default
hideGenerationTimestamp Hides the generation timestamp when files are generated. true
packageName GraphQL package name (convention: lowercase). openapi2graphql
packageVersion GraphQL package version. 1.0.0

IMPORT MAPPING

Type/Alias Imports
Array java.util.List
ArrayList java.util.ArrayList
BigDecimal java.math.BigDecimal
Date java.util.Date
DateTime org.joda.time.*
File java.io.File
HashMap java.util.HashMap
List java.util.*
LocalDate org.joda.time.*
LocalDateTime org.joda.time.*
LocalTime org.joda.time.*
Map java.util.Map
Set java.util.*
Timestamp java.sql.Timestamp
URI java.net.URI
UUID java.util.UUID

INSTANTIATION TYPES

Type/Alias Instantiated By

LANGUAGE PRIMITIVES

  • Boolean
  • Float
  • ID
  • Int
  • String
  • null

RESERVED WORDS

  • boolean
  • float
  • id
  • implements
  • int
  • interface
  • null
  • query
  • string
  • type
  • union