Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate code #932

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .apibuilder/.tracked_files
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apicollective:
apibuilder-api:
anorm_2_8_parsers:
- api/app/generated/ApicollectiveApibuilderApiV0Conversions.scala
- api/app/generated/ApicollectiveApibuilderApiV0Parsers.scala
play_2_8_client:
- generated/app/ApicollectiveApibuilderApiV0Client.scala
play_2_x_routes:
Expand All @@ -18,8 +17,6 @@ apicollective:
- 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
Expand All @@ -30,6 +27,7 @@ apicollective:
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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-api/latest/anorm_2_8_parsers
* apibuilder localhost 9000/apicollective/apibuilder-api/latest/anorm_2_8_parsers
*/
package io.apibuilder.api.v0.anorm.conversions {

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-api/latest/anorm_2_8_parsers
* apibuilder localhost 9000/apicollective/apibuilder-api/latest/anorm_2_8_parsers
*/
import anorm._

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-common/latest/anorm_2_8_parsers
* apibuilder localhost 9000/apicollective/apibuilder-common/latest/anorm_2_8_parsers
*/
package io.apibuilder.common.v0.anorm.conversions {

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-common/latest/anorm_2_8_parsers
* apibuilder localhost 9000/apicollective/apibuilder-common/latest/anorm_2_8_parsers
*/
import anorm._

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-generator/latest/anorm_2_8_parsers
* apibuilder localhost 9000/apicollective/apibuilder-generator/latest/anorm_2_8_parsers
*/
package io.apibuilder.generator.v0.anorm.conversions {

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-generator/latest/anorm_2_8_parsers
* apibuilder localhost 9000/apicollective/apibuilder-generator/latest/anorm_2_8_parsers
*/
import anorm._

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 localhost 9000/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 localhost 9000/apicollective/apibuilder-spec/latest/anorm_2_8_parsers
*/
import anorm._

Expand Down
2 changes: 1 addition & 1 deletion api/conf/routes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by API Builder - https://www.apibuilder.io
# Service version: 0.16.43
# apibuilder app.apibuilder.io/apicollective/apibuilder-api/latest/play_2_x_routes
# apibuilder localhost 9000/apicollective/apibuilder-api/latest/play_2_x_routes

GET /attributes controllers.Attributes.get(guid: _root_.scala.Option[_root_.java.util.UUID], name: _root_.scala.Option[String], limit: Long ?= 25L, offset: Long ?= 0L)
GET /attributes/:name controllers.Attributes.getByName(name: String)
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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-api-json/latest/play_2_x_json
* apibuilder localhost 9000/apicollective/apibuilder-api-json/latest/play_2_x_json
*/
package io.apibuilder.api.json.v0.models {

Expand Down
17 changes: 2 additions & 15 deletions generated/app/ApicollectiveApibuilderApiV0Client.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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-api/latest/play_2_8_client
* apibuilder localhost 9000/apicollective/apibuilder-api/latest/play_2_8_client
*/
package io.apibuilder.api.v0.models {

Expand Down Expand Up @@ -2492,7 +2492,7 @@ package io.apibuilder.api.v0 {

val BaseUrl = "https://api.apibuilder.io"
val Namespace = "io.apibuilder.api.v0"
val UserAgent = "apibuilder app.apibuilder.io/apicollective/apibuilder-api/latest/play_2_8_client"
val UserAgent = "apibuilder localhost 9000/apicollective/apibuilder-api/latest/play_2_8_client"
val Version = "0.16.43"
val VersionMajor = 0

Expand Down 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
4 changes: 2 additions & 2 deletions generated/app/ApicollectiveApibuilderCommonV0Client.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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-common/latest/play_2_8_client
* apibuilder localhost 9000/apicollective/apibuilder-common/latest/play_2_8_client
*/
package io.apibuilder.common.v0.models {

Expand Down Expand Up @@ -322,7 +322,7 @@ package io.apibuilder.common.v0 {
object Constants {

val Namespace = "io.apibuilder.common.v0"
val UserAgent = "apibuilder app.apibuilder.io/apicollective/apibuilder-common/latest/play_2_8_client"
val UserAgent = "apibuilder localhost 9000/apicollective/apibuilder-common/latest/play_2_8_client"
val Version = "0.16.43"
val VersionMajor = 0

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-common/latest/play_2_8_mock_client
* apibuilder localhost 9000/apicollective/apibuilder-common/latest/play_2_8_mock_client
*/
package io.apibuilder.common.v0.mock {

Expand Down
4 changes: 2 additions & 2 deletions generated/app/ApicollectiveApibuilderGeneratorV0Client.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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-generator/latest/play_2_8_client
* apibuilder localhost 9000/apicollective/apibuilder-generator/latest/play_2_8_client
*/
package io.apibuilder.generator.v0.models {

Expand Down Expand Up @@ -483,7 +483,7 @@ package io.apibuilder.generator.v0 {

val BaseUrl = "https://api.apibuilder.io"
val Namespace = "io.apibuilder.generator.v0"
val UserAgent = "apibuilder app.apibuilder.io/apicollective/apibuilder-generator/latest/play_2_8_client"
val UserAgent = "apibuilder localhost 9000/apicollective/apibuilder-generator/latest/play_2_8_client"
val Version = "0.16.43"
val VersionMajor = 0

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-generator/latest/play_2_8_mock_client
* apibuilder localhost 9000/apicollective/apibuilder-generator/latest/play_2_8_mock_client
*/
package io.apibuilder.generator.v0.mock {

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 localhost 9000/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 localhost 9000/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 localhost 9000/apicollective/apibuilder-spec/latest/play_2_8_mock_client
*/
package io.apibuilder.spec.v0.mock {

Expand Down
4 changes: 2 additions & 2 deletions generated/app/ApicollectiveApibuilderTaskV0Client.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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-task/latest/play_2_8_client
* apibuilder localhost 9000/apicollective/apibuilder-task/latest/play_2_8_client
*/
package io.apibuilder.task.v0.models {

Expand Down Expand Up @@ -464,7 +464,7 @@ package io.apibuilder.task.v0 {
object Constants {

val Namespace = "io.apibuilder.task.v0"
val UserAgent = "apibuilder app.apibuilder.io/apicollective/apibuilder-task/latest/play_2_8_client"
val UserAgent = "apibuilder localhost 9000/apicollective/apibuilder-task/latest/play_2_8_client"
val Version = "0.16.43"
val VersionMajor = 0

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.16.43
* apibuilder app.apibuilder.io/apicollective/apibuilder-task/latest/play_2_8_mock_client
* apibuilder localhost 9000/apicollective/apibuilder-task/latest/play_2_8_mock_client
*/
package io.apibuilder.task.v0.mock {

Expand Down
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
Loading