Skip to content

liepaja/openapi

Repository files navigation

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: 1.0.0
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements

Dart 1.20.0 or later OR Flutter 0.0.20 or later

Installation & Usage

Github

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

name: openapi
version: 1.0.0
description: OpenAPI API client
dependencies:
  openapi:
    git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      version: 'any'

Local

To use the package in your local drive, please include the following in 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';


var api_instance = new PetsApi();

try {
    api_instance.createPets();
} catch (e) {
    print("Exception when calling PetsApi->createPets: $e\n");
}

Documentation for API Endpoints

All URIs are relative to http://petstore.swagger.io/v1

Class Method HTTP request Description
PetsApi createPets POST /pets Create a pet
PetsApi listPets GET /pets List all pets
PetsApi showPetById GET /pets/{petId} Info for a specific pet

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published