Skip to content

sascha10000/openai-openapi-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI client for rust generated from the OpenAPI specification

This repository is a modified fork of the specification provided by OpenAPI. The original specification can be found OpenAI API.

The client itself misses features which lead to errors in the generated client. Those modules are commented out and can be added manually and fixed if needed.

Changes

The original lead to validation errors due to certain "default: null" fields. The details can be found in issue #133.

Command

openapi-generator-cli generate -i openapi.yaml -g rust -o rust-openai-client

Missing features in the rust client

  • audio_api
  • completions_api
  • embeddings_api
  • files_api
  • images_api

Contribution

Feel free to contribute to this repository by opening a pull request or an issue.

About

OpenAI Client for Rust generated from the provided OpenAPI spec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.7%
  • Shell 0.3%