~/talk

Code generation From API Swagger Yaml schema to PowerShell module in 4 easy steps

links:none on file
links:none on file
slides:none on file

YAML OpenAPI schemas become a published PowerShell module by running Swagger Codegen, generating a C# client and PowerShell stubs, pre-processing refs to dereference models, and rendering Jinja2 templates that initialize complex objects so users call New/Remove-style cmdlets instead of raw Invoke operations. The pipeline handles 150+ paths, produces PSD1 and DLL wiring, and runs generation in seconds per spec, producing a working module with more PowerShell‑friendly verbs and parameter initialization.

AI-written summary · about

  1. 0:00Code generation intro
  2. 1:29Pure Storage SDK overview
  3. 3:57OpenAPI and Swagger
  4. 6:28Manual SDK inefficiency
  5. 6:50Code generation tech
  6. 8:15Pet Store example
  7. 9:19Swagger Codegen + Mustache
  8. 13:58Generated module limits
  9. 16:29Improving user experience with template customization
  10. 18:57Jinja2 for code generation
  11. 19:41Pure Storage workflow
  12. 26:24Preprocess YAML files
  13. 31:48Complex YAML parameters
  14. 33:35Render PowerShell scripts
  15. 37:12Demo of generated module
  16. 45:01Four-step recap
  17. 46:05Performance and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.