You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flapii project init scaffolds a flapi.yaml with keys flAPI never reads (description, template-source) #159
cli/src/commands/project/templates.ts:11-20 (the flapii project init scaffold) generates a main config using description: and a top-level template-source:. Neither is read: the real keys are project-description and template: { path: ... }.
Why it matters
The scaffold is the first config a new user gets. If the templates directory is never loaded, the scaffolded endpoints don't exist, and the very first thing a user tries doesn't work — with no error pointing at why.
Suggested fix
Generate the real keys, and add a CLI test that runs flapi --validate-config (and ideally starts the server and hits the sample endpoint) against a freshly scaffolded project, so the scaffold can never drift from the parser again.
Activity
chore: merge main into fix/gh-159-project-init-scaffold
chore: merge main into fix/gh-159-project-init-scaffold
Merge pull request #176 from DataZooDE/fix/gh-159-project-init-scaffold