Skip to content

Commit

Permalink
Fix remaining compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Baccata committed Dec 7, 2023
1 parent f6ecd70 commit f742028
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ object `readme-validator` extends BaseScala213NoPublishModule {
object proto extends Module {
object core extends Cross[CoreModule](scalaVersions)
trait CoreModule extends BaseScalaModule {
def artifactName = "proto"

def ivyDeps = Agg(
Deps.smithy.model,
Deps.alloy.core,
Expand Down
4 changes: 2 additions & 2 deletions modules/openapi/tests/src/DebugSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ final class DebugSpec extends munit.FunSuite {
OpenApiCompiler.parseAndCompile(
OpenApiCompiler.Options(
useVerboseNames = false,
failOnOpenapiValidationErrors = false,
failOnSmithyValidationErrors = true,
failOnInputValidationErrors = false,
failOnOutputValidationErrors = true,
List.empty,
useEnumTraitSyntax = false,
debug
Expand Down
4 changes: 2 additions & 2 deletions modules/openapi/tests/src/TestUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ object TestUtils {
OpenApiCompiler.parseAndCompile(
OpenApiCompiler.Options(
useVerboseNames = false,
failOnOpenapiValidationErrors = false,
failOnSmithyValidationErrors = true,
failOnInputValidationErrors = false,
failOnOutputValidationErrors = true,
List.empty,
input0.smithyVersion == SmithyVersion.One,
debug = true
Expand Down
6 changes: 4 additions & 2 deletions modules/readme-validator/src/Validator.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ object Validator {
val options =
OpenApiCompiler.Options(
useVerboseNames = false,
failOnValidationErrors = true,
failOnInputValidationErrors = true,
failOnOutputValidationErrors = true,
List.empty,
useEnumTraitSyntax = false,
debug = false
Expand Down Expand Up @@ -136,7 +137,8 @@ object Validator {
val options =
OpenApiCompiler.Options(
useVerboseNames = false,
failOnValidationErrors = true,
failOnInputValidationErrors = true,
failOnOutputValidationErrors = true,
List.empty,
useEnumTraitSyntax = false,
debug = false
Expand Down

0 comments on commit f742028

Please sign in to comment.