William Cheng 4be605bcb7
GraphQL Server (#1603)
* Add GraphQL express/apollo server generator

* add basic resolvers; adjust parameters/input types

* small adjustments and improvements

* adjust logger config for GraphQL generators

* remove MaxPermSize form bash script as it will be removed from later Java versions; add isNullable utility helper method; Adjust TODOs for graphql implementation

* re-created samples for graphql config and server generators

* re-added templates for graphql config generator

* add graphql-config-petstore bash script

* add isNullable utility method

* fix javadoc issues

* adjust licence headers

* rename Generator to Codegen for GraphQL classes

* renaming, minor enhancement to graphql generator

* add graphql server samples

* add windows batch files, rename directory
2018-12-05 18:20:53 +08:00

35 lines
671 B
GraphQL

#
# OpenAPI Petstore
#
#
# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
#
# Version: 1.0.0
#
# Generated by OpenAPI Generator: https://openapi-generator.tech
# A User who is purchasing from the pet store
type User {
id: Int!
username: String!
firstName: String!
lastName: String!
email: String!
password: String!
phone: String!
# User Status
userStatus: Int!
}
input UserInput {
id: Int!
username: String!
firstName: String!
lastName: String!
email: String!
password: String!
phone: String!
# User Status
userStatus: Int!
}