Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.34 KB

TODO.md

File metadata and controls

64 lines (52 loc) · 1.34 KB

TODO

General

  • Documentation
  • Unit tests
  • Determine if there is a better way to map types (preprocess the mapped types?)
  • Document/Generate available data in the context
  • Self update
  • Caching
    • Hashing
  • Benchmarking
    • Large files
      • Pet store
    • GHA scenario

Data to be extracted/generated from OpenAPI

  • Generate request data
  • Generate path parameter
  • Generate query parameter
  • Base urls
  • Patterns
  • Validation rules (min, max, max length etc)
    • Min
    • Max
    • Min length
    • Max length

Generation

  • Test different scenarios
    • Array of strings
  • Specify output
  • Generate multiple templates
  • Generate multiple output files
    • classes/models
      • if model template exists
      • file names
  • Tera macros
    • Property layout
    • Array layout
    • Comments
  • Tera include files

Initialisation

  • init mode
    • create config
    • create templates dir
    • generate templates based on lang/option

Config

  • Config
    • Property typing
    • Extended data

Templates

  • Query parameters example
  • Rust example
  • TS example
  • Python example