Skip to content

Rust bindings generator for Azure OpenAPI Specifications

License

Notifications You must be signed in to change notification settings

james-d12/razure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Razure

This project generates rust code from the OpenAPI specifications from Azure.

Features

  • Reads all openapi specification files from azure repository.
  • Parses the basic structure including:
    • Definitions
    • Parameters
    • Swagger Info
    • Paths

Todo

  • Schema model to represent: https://swagger.io/specification/v2/#schema-object

  • Update models to reflect property types and if they are required correctly.

  • Support referencing other definitions / parameters when creating the Rust Structs, e.g.:

    pub struct Thing {
        pub name: String,
        pub age: i8,
    }
    
    pub struct BiggerThing {
        pub thing: Thing,
        /// other properties
    }
  • Add parsing support for tags, securityDefinitions and security.

  • Of course more unit tests 😁

About

Rust bindings generator for Azure OpenAPI Specifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages