ev-generate-cli
v1.2.4
Published
a npm tools for generate typescript sdk from openapi document
Downloads
9
Readme
openapi
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: version not set
- Build package: org.openapitools.codegen.languages.DartClientCodegen
Requirements
Dart 2.12 or later
Installation & Usage
Github
If this Dart package is published to Github, add the following dependency to your pubspec.yaml
dependencies:
openapi:
git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
Local
To use the package in your local drive, add the following dependency to your pubspec.yaml
dependencies:
openapi:
path: /path/to/openapi
Tests
TODO
Getting Started
Please follow the installation procedure and then run the following:
import 'package:openapi/api.dart';
final api_instance = AuthnApi();
final body = V1LoginRequest(); // V1LoginRequest |
try {
final result = api_instance.login(body);
print(result);
} catch (e) {
print('Exception when calling AuthnApi->login: $e\n');
}
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- AuthnApi | login | POST /cloud-auth/v1/login | login
Documentation For Models
- V1GenerateTokenResponse
- V1GetPublicKeyResponse
- V1LoginRequest
- V1LoginResponse
- V1RoleType
- V1VerifyTokenResponse
Documentation For Authorization
Endpoints do not require authorization.