Skip to content

Dart dev tool to download OpenAPI file and generate the OpenAPI client.

Notifications You must be signed in to change notification settings

birneee/dart_openapi_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dart OpenAPI Generator

Dart dev tool to download OpenAPI file and generate the OpenAPI client.

Requirements

  • java version 8 or above installed on system path

Supported Download Sources

  • private Gitlab repositories

Include in your project's pubspec.yaml

dev_dependencies:
  openapi:
    git:
      url: https://github.com/birneee/dart_openapi_generator.git
      ref: 0.4.0

openapi:
  generatorVersion: <version>
  url: <url>
  token: <token>
  version: <tag>

Download and Generate

pub run openapi:generate # for dart projects
flutter pub run openapi:generate # for flutter projects

Clean Geneated Files

pub run openapi:clean # for dart projects
flutter pub run openapi:clean # for flutter projects

About

Dart dev tool to download OpenAPI file and generate the OpenAPI client.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages