GithubHelp home page GithubHelp logo

drf_api's Introduction

drf_api (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
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

  • Dart 2.12.0 or later OR Flutter 1.26.0 or later
  • Dio 4.0.0+

Installation & Usage

pub.dev

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

dependencies:
  drf_api: 0.0.1

Github

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

dependencies:
  drf_api:
    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:
  drf_api:
    path: /path/to/drf_api

Getting Started

Please follow the installation procedure and then run the following:

import 'package:drf_api/drf_api.dart';


final api = DrfApi().getAuthApi();
final String userId = userId_example; // String | 
final String refreshToken = refreshToken_example; // String | 

try {
    final response = await api.apiAuthRenewtokenGet(userId, refreshToken);
    print(response);
} catch on DioError (e) {
    print("Exception when calling AuthApi->apiAuthRenewtokenGet: $e\n");
}

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AuthApi apiAuthRenewtokenGet GET /api/Auth/renewtoken
AuthApi apiAuthSigninPost POST /api/Auth/signin
AuthApi apiAuthSignupPost POST /api/Auth/signup
AuthApi apiAuthWhoamiGet GET /api/Auth/whoami
CarApi apiCarSearchCarGet GET /api/Car/searchCar
ControllCheckApi apiControllCheckCreateOrGetControlByCarIdOnlyPost POST /api/ControllCheck/CreateOrGetControlByCarIdOnly
ControllCheckApi apiControllCheckGetControlListByStateGet GET /api/ControllCheck/GetControlListByState
ControllCheckApi apiControllCheckGetControlSectionsSummaryGet GET /api/ControllCheck/GetControlSectionsSummary
ControllCheckApi apiControllCheckGetControlStateByIdAndYearGet GET /api/ControllCheck/GetControlStateByIdAndYear
ControllCheckApi apiControllCheckMakeCheckupPost POST /api/ControllCheck/MakeCheckup
ControllCheckApi apiControllCheckValidateOrCancelSectionPut PUT /api/ControllCheck/ValidateOrCancelSection
ParamsApi apiParamsCreateSectionPost POST /api/Params/createSection
ParamsApi apiParamsGetCheckListBySectionGet GET /api/Params/getCheckListBySection
ParamsApi apiParamsGetPreviousSectionGet GET /api/Params/getPreviousSection
ParamsApi apiParamsGetSectionCheckCountGet GET /api/Params/getSectionCheckCount

Documentation For Models

Documentation For Authorization

Bearer

  • Type: HTTP basic authentication

Author

[email protected]

drf_api's People

Watchers

Codeur Fou avatar Taas S. Ekpaye avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.