OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

Config Options for rust-server

OptionDescriptionValuesDefault
packageNameRust crate name (convention: snake_case).openapi_client
packageVersionRust crate version.null

IMPORT MAPPING

Type/AliasImports

INSTANTIATION TYPES

Type/AliasInstantiated By
arrayVec
mapMap

LANGUAGE PRIMITIVES

  • String
  • bool
  • char
  • f32
  • f64
  • i16
  • i32
  • i64
  • i8
  • isize
  • str
  • u16
  • u32
  • u64
  • u8
  • usize

RESERVED WORDS

  • abstract
  • alignof
  • as
  • become
  • box
  • break
  • const
  • continue
  • crate
  • do
  • else
  • enum
  • extern
  • false
  • final
  • fn
  • for
  • if
  • impl
  • in
  • let
  • loop
  • macro
  • match
  • mod
  • move
  • mut
  • offsetof
  • override
  • priv
  • proc
  • pub
  • pure
  • ref
  • return
  • self
  • sizeof
  • static
  • struct
  • super
  • trait
  • true
  • type
  • typeof
  • unsafe
  • unsized
  • use
  • virtual
  • where
  • while
  • yield
Last updated on 1/20/2020
  • IMPORT MAPPING
  • INSTANTIATION TYPES
  • LANGUAGE PRIMITIVES
  • RESERVED WORDS
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowChat RoomTwitter
More
BlogGitHub RepoStar
Copyright © 2020 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))