openapi (EXPERIMENTAL)

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  openapi: 1.0.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  openapi:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

To use the package from your local drive, please include the following in pubspec.yaml

dependencies:
  openapi:
    path: /path/to/openapi

Getting Started

Please follow the installation procedure and then run the following:

import 'package:openapi/openapi.dart';


final api = Openapi().getDefaultApi();

try {
    final response = await api.list();
    print(response);
} catch on DioError (e) {
    print("Exception when calling DefaultApi->list: $e\n");
}

Documentation for API Endpoints

All URIs are relative to http://api.example.xyz/v1

Class Method HTTP request Description
DefaultApi list GET /example

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author