big progress checkin. Still quite broken, but now it shows the new direction. Time to start hooking things up again.

This commit is contained in:
Dave Lee 2023-06-01 20:44:54 -04:00
parent 20a0cd2f66
commit f9133b5a61
No known key found for this signature in database
12 changed files with 228 additions and 364 deletions

View file

@ -2,6 +2,7 @@ package: apiv2
generate:
models: true
chi-server: true
strict-server: true
output: apiv2/localai.gen.go
output-options:
exclude-depreciated: true
@ -10,6 +11,7 @@ output-options:
- mapstructure
user-templates:
endpoint-body-mapping.tmpl: ./openai-openapi/endpoint-body-mapping.tmpl
# chi/chi-interface.tmpl: ./openai-openapi/chi-interface.tmpl
# union.tmpl: "// SKIP"
# union-and-additional-properties.tmpl: "// SKIP"
# additional-properties.tmpl: "// SKIP"