Skip to content

Conversation

@jackl
Copy link
Contributor

@jackl jackl commented Jan 10, 2025

flowcommerce/api-build depends on this library (v 0.52.0), and within it the definition for io.apibuilder.spec.v0.models.Service has the apidoc field as required. However the apibuilder api never returns it, for example in the BatchDownloadApplications endpoint, resulting in an error.

I have deployed a kludge in apibuilder api to always return an apiDoc value for a Service model instance, and that has allowed flowcommerce/api-build to work again.

@jackl jackl requested a review from mbryzek January 10, 2025 15:03

final case class Service(
@deprecated("This field is no longer used in API Builder and may be removed in the future.") apidoc: _root_.scala.Option[io.apibuilder.spec.v0.models.Apidoc] = None,
// TODO - Hack to get around lack of -Wconf:src support in scalac 3.4.2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is obviously not ideal

@jackl jackl merged commit 2cbdca5 into main Jan 20, 2025
1 check failed
@jackl jackl deleted the crossversion branch January 20, 2025 17:11
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.

3 participants