openapi (EXPERIMENTAL)
Plane Pal API Documentation
This Dart package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Generator version: 7.16.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().getAirlinesApi();
final String search = search_example; // String | The full(or a part of) name, ident or icao. Case Insensitive.
try {
final response = await api.airlinesControllerGetAirlinesV1(search);
print(response);
} catch on DioException (e) {
print("Exception when calling AirlinesApi->airlinesControllerGetAirlinesV1: $e\n");
}
Documentation for API Endpoints
All URIs are relative to http://localhost
Documentation For Models
Documentation For Authorization
Authentication schemes defined for the API:
JWT-auth
- Type: HTTP Bearer Token authentication (JWT)
Author