1
0
api/test
2024-03-13 16:53:30 +09:00
..
.openapi-generator first 2024-03-13 16:53:30 +09:00
docs first 2024-03-13 16:53:30 +09:00
src first 2024-03-13 16:53:30 +09:00
.gitignore first 2024-03-13 16:53:30 +09:00
.openapi-generator-ignore first 2024-03-13 16:53:30 +09:00
.travis.yml first 2024-03-13 16:53:30 +09:00
Cargo.toml first 2024-03-13 16:53:30 +09:00
git_push.sh first 2024-03-13 16:53:30 +09:00
openapi.yaml first 2024-03-13 16:53:30 +09:00
README.md first 2024-03-13 16:53:30 +09:00

Rust API client for openapi

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

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

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

Class Method HTTP request Description
PetsApi create_pets POST /pets Create a pet
PetsApi list_pets GET /pets List all pets
PetsApi show_pet_by_id GET /pets/{petId} Info for a specific pet

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author