Skip to content

Commit

Permalink
Regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
mbryzek committed Jun 21, 2024
1 parent 706cbce commit 3e2dc3e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 36 deletions.
5 changes: 3 additions & 2 deletions .apibuilder/.tracked_files
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,23 @@ apicollective:
apibuilder-common:
anorm_2_8_parsers:
- api/app/generated/ApicollectiveApibuilderCommonV0Conversions.scala
- api/app/generated/ApicollectiveApibuilderCommonV0Parsers.scala
play_2_8_client:
- generated/app/ApicollectiveApibuilderCommonV0Client.scala
play_2_8_mock_client:
- generated/app/ApicollectiveApibuilderCommonV0MockClient.scala
play_2_x_json:
- generated/app/ApicollectiveApibuilderCommonV0Models.scala
apibuilder-generator:
anorm_2_8_parsers:
- api/app/generated/ApicollectiveApibuilderGeneratorV0Conversions.scala
- api/app/generated/ApicollectiveApibuilderGeneratorV0Parsers.scala
play_2_8_client:
- generated/app/ApicollectiveApibuilderGeneratorV0Client.scala
play_2_8_mock_client:
- generated/app/ApicollectiveApibuilderGeneratorV0MockClient.scala
apibuilder-spec:
anorm_2_8_parsers:
- api/app/generated/ApicollectiveApibuilderSpecV0Conversions.scala
- api/app/generated/ApicollectiveApibuilderSpecV0Parsers.scala
play_2_8_client:
- generated/app/ApicollectiveApibuilderSpecV0Client.scala
play_2_8_mock_client:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Generated by API Builder - https://www.apibuilder.io
* Service version: 0.15.81
* apibuilder 0.15.33 app.apibuilder.io/apicollective/apibuilder-spec/latest/anorm_2_8_parsers
* Service version: 0.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-spec/latest/anorm_2_8_parsers
*/
package io.apibuilder.spec.v0.anorm.conversions {

Expand Down Expand Up @@ -113,6 +113,7 @@ package io.apibuilder.spec.v0.anorm.conversions {

object Standard {
implicit val columnToJsObject: Column[play.api.libs.json.JsObject] = Util.parser { _.as[play.api.libs.json.JsObject] }
implicit val columnToJsValue: Column[play.api.libs.json.JsValue] = Util.parser { _.as[play.api.libs.json.JsValue] }
implicit val columnToSeqBoolean: Column[Seq[Boolean]] = Util.parser { _.as[Seq[Boolean]] }
implicit val columnToMapBoolean: Column[Map[String, Boolean]] = Util.parser { _.as[Map[String, Boolean]] }
implicit val columnToSeqDouble: Column[Seq[Double]] = Util.parser { _.as[Seq[Double]] }
Expand Down
4 changes: 2 additions & 2 deletions api/app/generated/ApicollectiveApibuilderSpecV0Parsers.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Generated by API Builder - https://www.apibuilder.io
* Service version: 0.15.81
* apibuilder 0.15.33 app.apibuilder.io/apicollective/apibuilder-spec/latest/anorm_2_8_parsers
* Service version: 0.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-spec/latest/anorm_2_8_parsers
*/
import anorm._

Expand Down
13 changes: 0 additions & 13 deletions generated/app/ApicollectiveApibuilderApiV0Client.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2997,15 +2997,6 @@ package io.apibuilder.api.v0 {
case r => throw io.apibuilder.api.v0.errors.FailedRequest(r.status, s"Unsupported response code[${r.status}]. Expected: 200")
}
}

override def getMigrate(
requestHeaders: Seq[(String, String)] = Nil
)(implicit ec: scala.concurrent.ExecutionContext): scala.concurrent.Future[Map[String, String]] = {
_executeRequest("GET", s"/_internal_/migrate", requestHeaders = requestHeaders).map {
case r if r.status == 200 => _root_.io.apibuilder.api.v0.Client.parseJson("Map[String, String]", r, _.validate[Map[String, String]])
case r => throw io.apibuilder.api.v0.errors.FailedRequest(r.status, s"Unsupported response code[${r.status}]. Expected: 200")
}
}
}

object Items extends Items {
Expand Down Expand Up @@ -4174,10 +4165,6 @@ package io.apibuilder.api.v0 {
def getHealthcheck(
requestHeaders: Seq[(String, String)] = Nil
)(implicit ec: scala.concurrent.ExecutionContext): scala.concurrent.Future[io.apibuilder.generator.v0.models.Healthcheck]

def getMigrate(
requestHeaders: Seq[(String, String)] = Nil
)(implicit ec: scala.concurrent.ExecutionContext): scala.concurrent.Future[Map[String, String]]
}

trait Items {
Expand Down
8 changes: 4 additions & 4 deletions generated/app/ApicollectiveApibuilderSpecV0Client.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Generated by API Builder - https://www.apibuilder.io
* Service version: 0.15.90
* apibuilder 0.15.33 app.apibuilder.io/apicollective/apibuilder-spec/latest/play_2_8_client
* Service version: 0.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-spec/latest/play_2_8_client
*/
package io.apibuilder.spec.v0.models {

Expand Down Expand Up @@ -1551,8 +1551,8 @@ package io.apibuilder.spec.v0 {
object Constants {

val Namespace = "io.apibuilder.spec.v0"
val UserAgent = "apibuilder 0.15.33 app.apibuilder.io/apicollective/apibuilder-spec/latest/play_2_8_client"
val Version = "0.15.90"
val UserAgent = "apibuilder app.apibuilder.io/apicollective/apibuilder-spec/latest/play_2_8_client"
val Version = "0.16.43"
val VersionMajor = 0

}
Expand Down
4 changes: 2 additions & 2 deletions generated/app/ApicollectiveApibuilderSpecV0MockClient.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Generated by API Builder - https://www.apibuilder.io
* Service version: 0.15.90
* apibuilder 0.15.33 app.apibuilder.io/apicollective/apibuilder-spec/latest/play_2_8_mock_client
* Service version: 0.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-spec/latest/play_2_8_mock_client
*/
package io.apibuilder.spec.v0.mock {

Expand Down
4 changes: 1 addition & 3 deletions generated/app/ApicollectiveApibuilderTaskV0MockClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ package io.apibuilder.task.v0.mock {
guid = _root_.java.util.UUID.randomUUID
)

def makeEmailData(): io.apibuilder.task.v0.models.EmailData = io.apibuilder.task.v0.mock.Factories.makeEmailDataApplicationCreated()

}

}
}
8 changes: 0 additions & 8 deletions spec/apibuilder-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,14 +560,6 @@
"responses": {
"200": { "type": "io.apibuilder.generator.v0.models.healthcheck" }
}
},

{
"method": "GET",
"path": "/migrate",
"responses": {
"200": { "type": "map[string]" }
}
}
]
},
Expand Down

0 comments on commit 3e2dc3e

Please sign in to comment.