(self)
| 186 | return GeneratedFile(path=self.output_file_path(), content=content) |
| 187 | |
| 188 | def output_file_path(self) -> str: |
| 189 | file_name = self.module_file_name() |
| 190 | if self.schema.package: |
| 191 | package_path = self.schema.package.replace(".", "/") |
| 192 | return f"{package_path}/{file_name}" |
| 193 | return file_name |
| 194 | |
| 195 | def module_file_name(self) -> str: |
| 196 | if self.schema.source_file and not self.schema.source_file.startswith("<"): |
no test coverage detected