graphql_openapi_codegen 1.1.1 copy "graphql_openapi_codegen: ^1.1.1" to clipboard
graphql_openapi_codegen: ^1.1.1 copied to clipboard

Generates a Dart server from a GraphQL schema: models, enums, resolver stubs, validators, REST endpoints and an OpenAPI document. Schema-first, for servers not clients.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add graphql_openapi_codegen

With Flutter:

 $ flutter pub add graphql_openapi_codegen

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  graphql_openapi_codegen: ^1.1.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:graphql_openapi_codegen/graphql_openapi_codegen.dart';
0
likes
160
points
38
downloads

Documentation

API reference

Publisher

verified publishercomapps.be

Weekly Downloads

Generates a Dart server from a GraphQL schema: models, enums, resolver stubs, validators, REST endpoints and an OpenAPI document. Schema-first, for servers not clients.

Homepage
Repository (GitHub)
View/report issues

Topics

#graphql #openapi #codegen #server #rest

License

MIT (license)

Dependencies

build_runner, collection, copy_with_extension_gen, gql, graphql_generator3, json_serializable, path, recase, yaml

More

Packages that depend on graphql_openapi_codegen