Skip to content

[BUG] Failed to write FILES metadata to track generated files. #7715

@wing328

Description

@wing328

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator (example)?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

Run ./bin/generate-samples.sh ./bin/configs/other/ada.yaml and you will see the following:

[main] INFO  o.o.codegen.TemplateManager - writing file samples/client/petstore/ada/src/samples.ads
[main] INFO  o.o.codegen.TemplateManager - writing file samples/client/petstore/ada/src/samples-petstore.ads
[main] INFO  o.o.codegen.TemplateManager - writing file samples/client/petstore/ada/src/samples-petstore-client.adb
[main] INFO  o.o.codegen.TemplateManager - Skipped samples/client/petstore/ada/.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
[main] INFO  o.o.codegen.TemplateManager - writing file samples/client/petstore/ada/.openapi-generator/VERSION
[main] WARN  o.o.codegen.DefaultGenerator - Failed to write FILES metadata to track generated files.

No FILES was written.

openapi-generator version

Latest master

OpenAPI declaration file content or url

Any spec.

Generation Details
Steps to reproduce

./bin/generate-samples.sh ./bin/configs/other/ada.yaml

Related issues/PRs
Suggest a fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions