-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Openapi big model hierarchy defect #3436
Closed
mhodovaniuk
wants to merge
59
commits into
zio:main
from
mhodovaniuk:openapi-big-model-hierarchy-defect
Closed
Openapi big model hierarchy defect #3436
mhodovaniuk
wants to merge
59
commits into
zio:main
from
mhodovaniuk:openapi-big-model-hierarchy-defect
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com> Co-authored-by: Jules Ivanic <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
* cookie-based authentication * add security related properties. * fmt. * remove extra ZIO.succeed.
* docs: example doing what the surrounding text promises * docs: reflect actual section order; link to the referenced section * docs: delete a duplicate paragraph * docs: delete repeated words * docs: delete a word out of place * docs: typos --------- Co-authored-by: John A. De Goes <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
* Align Client SSE support to HTML specification * Fix scala 2.12 compilation * Fix server side retry duration conversion * Fix formatting * Client will retry if route installation is too slow * Switch to route.runZIO in the tests instead * Adjust ServerSentEvent.retry documentation * Do not emit negative retry values * Use zio.http.Charsets for SSE * Add SSE constructor that takes retry as int value
* fix: display endpoint documentation in swagger ui * sbt fmt --------- Co-authored-by: Nabil Abdel-Hafeez <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com> Co-authored-by: Jules Ivanic <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com> Co-authored-by: Jules Ivanic <[email protected]> Co-authored-by: Nabil Abdel-Hafeez <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
* Update scalafmt-core, scalafmt-dynamic to 3.9.3 * Reformat with scalafmt 3.9.3 Executed command: scalafmt --non-interactive * Add 'Reformat with scalafmt 3.9.3' to .git-blame-ignore-revs --------- Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: ZIO Assistant <zio-assistant[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
zio#3416) Right now, the logger I see in my project is `zio-slf4j-logger` while I'd expect something like `zio.http.<whatever>`
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com> Co-authored-by: Nabil Abdel-Hafeez <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com> Co-authored-by: Jules Ivanic <[email protected]>
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
* initial commit * fix: Pattern match error in Endpoint.scala * updated Endpoint.scala, fix test, digestAuth test * revert CodeGen.scala * updated endpoint docs * added scopes to AuthType * removed comment * updated SecurityRequirement documentation * implemented ScopedAuth, updated name in auth HeaderType * Endpoint.scopes method, made authScopes recursive * getter & setter for scopes in ScopedAuth, private recursive getter for scopes in Endpoint API * updated ScopedAuth, mima check fix * mima check fix
* docs: Config reference * scalafmt * scalafix * simplify * delete entries of configs which only appear nested in others * make zio-http-gen visible to zio-http-docs * docs: Config reference: each config on a separate page because Table.toGithubFlavouredMarkdown() assumes it owns the page and the anchor IDs clash when multiple configs are dumped on a single page * website: sidebar: fix document IDs * docs: Config reference: shorten sidebar labels * docs: Config reference: introduction page * Update zio-config to 4.0.4 --------- Co-authored-by: Nabil Abdel-Hafeez <[email protected]>
…ibrary is not on the classpath by default (zio#3426) * make uring provided and document * add more documentation around uring * fix typos * clarify
Co-authored-by: zio-scala-steward[bot] <145262613+zio-scala-steward[bot]@users.noreply.github.com>
Co-authored-by: ZIO Assistant <zio-assistant[bot]@users.noreply.github.com>
…s the full schema instead of just a reference.
0913fad
to
3157a4b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR aim to fix #3361 by making sure that Schema.Transform are not ignored.
This also fixes an issue where a reference was used instead of component details. See the
components are generated for model with abstract big model field
test. Before these changes, the result lacked ConcreteBigModel details.Open API spec that generated without this change: