1
0
api/test/README.md
2024-03-13 16:53:30 +09:00

1.3 KiB

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