Skip to content

Split model and framework generation#2

Merged
sake92 merged 25 commits into
mainfrom
copilot/brainstorm-api-model-splitting
May 21, 2026
Merged

Split model and framework generation#2
sake92 merged 25 commits into
mainfrom
copilot/brainstorm-api-model-splitting

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 20, 2026

  • Understand current state and root cause of compile failures
  • Fix Scala 2.13 compatibility: remove given Dialect (Scala 3 syntax) from ModelBackends.scala and GenerationImports.scala; use import scala.meta.dialects.Scala34 only
  • Fix ModelImportContracts.scala: add missing import scala.meta.dialects.Scala34
  • Move ModelBackend trait from OpenApiGenerator into ModelBackends.scala (trait + impls in one file)
  • Move FrameworkBackend trait from OpenApiGenerator into FrameworkBackends.scala (trait + impls in one file)
  • Update OpenApiGenerator.scala to remove now-moved trait definitions

Copilot AI and others added 8 commits May 20, 2026 14:57
Agent-Logs-Url: https://github.com/sake92/openapi4s/sessions/883a92fe-ada9-459d-89a3-6c134f7e2681

Co-authored-by: sake92 <12010694+sake92@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sake92/openapi4s/sessions/883a92fe-ada9-459d-89a3-6c134f7e2681

Co-authored-by: sake92 <12010694+sake92@users.noreply.github.com>
Agent-Logs-Url: https://github.com/sake92/openapi4s/sessions/883a92fe-ada9-459d-89a3-6c134f7e2681

Co-authored-by: sake92 <12010694+sake92@users.noreply.github.com>
Copilot AI and others added 7 commits May 20, 2026 15:20
Agent-Logs-Url: https://github.com/sake92/openapi4s/sessions/1df83749-28d4-4631-9633-fde33c3fd68d

Co-authored-by: sake92 <12010694+sake92@users.noreply.github.com>
Copilot finished work on behalf of sake92 May 20, 2026 20:34
…la 2 dialect issues

Agent-Logs-Url: https://github.com/sake92/openapi4s/sessions/fe736856-158f-46fa-970b-cdba1fd91626

Co-authored-by: sake92 <12010694+sake92@users.noreply.github.com>
Copilot finished work on behalf of sake92 May 20, 2026 21:56
Copilot finished work on behalf of sake92 May 20, 2026 22:04
Copilot finished work on behalf of sake92 May 20, 2026 22:09
Copilot finished work on behalf of sake92 May 20, 2026 22:22
@sake92 sake92 changed the title Discussing API and model generation flexibility Split model and framework generation May 21, 2026
Separate OpenApiWriter that actually writes the files

gitignore .deder
@sake92 sake92 marked this pull request as ready for review May 21, 2026 19:44
@sake92 sake92 merged commit cdbbbf8 into main May 21, 2026
1 check passed
@sake92 sake92 deleted the copilot/brainstorm-api-model-splitting branch May 21, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants