forked from loafle/openapi-generator-original
* 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
GraphQL express API server
This is a sample server Petstore server. For this sample, you can use the api key special-key
to test the authorization filters.
Requirements
- node 10+
Gettings started
npm install
npm run start
TODOs
- use
ID
-type for unique identifiers instead ofInt
(detect UUID) - add example responses to resolvers.mustache
- support for union types