Skip to content

Commit

Permalink
Update SwaggerModelGenerator.sc
Browse files Browse the repository at this point in the history
remove scala3 syntax from build
  • Loading branch information
yurique authored Nov 24, 2023
1 parent 0e645b1 commit 663fd36
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions project/SwaggerModelGenerator.sc
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import $file.Model, Model.{Definition, Property}
import $ivy.`io.circe::circe-core:0.14.0`
import $ivy.`io.circe::circe-generic:0.14.0`
import $ivy.`io.circe::circe-parser:0.14.0`
import mill.*
import mill._
import mill.api.Logger
import mill.define.Sources
import mill.scalalib.*
import io.circe.*
import io.circe.generic.auto.*
import io.circe.parser.*
import os.*
import mill.scalalib._
import io.circe._
import io.circe.generic.auto._
import io.circe.parser._
import os._

trait SwaggerModelGenerator extends JavaModule {
import SwaggerModelGenerator.*
import SwaggerModelGenerator._

def swaggerSources: Sources = T.sources(resources().map(resource => PathRef(resource.path / "swagger")))
def allSwaggerSourceFiles: T[Seq[PathRef]] = T {
Expand Down

0 comments on commit 663fd36

Please sign in to comment.