Skip to content

Conversation

@KasparKipp
Copy link
Contributor

@KasparKipp KasparKipp commented Jun 9, 2025

Hello!

Addressing issues discussed in #24

Outstanding issues of draft:

  • Finish refactoring AshAi.OpenApi.with_comment_on_included/3
  • Suggesting regression test for vendored AshAi.OpenApi.with_comment_on_included/3
  • Suggesting regression test for vendored AshAi.OpenApi.with_attribute_nullability/2
  • Suggesting regression test for vendored AshAi.OpenApi.add_null_for_non_required/2
  • Removing refactoring guardrails that capture %OpenApiSpex.Schema{}

Latest changes:

  • Vendored rest of code into AshAi.Serializer & AshAi.OpenApi

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

@KasparKipp
Copy link
Contributor Author

Added regression tests for the schema generation.

Got stuck making a test with union types so this is not really extensive

@KasparKipp KasparKipp marked this pull request as ready for review June 10, 2025 15:16
@zachdaniel
Copy link
Contributor

🔥

@zachdaniel
Copy link
Contributor

Running the build, looks great, thank you 🙇

@zachdaniel
Copy link
Contributor

@KasparKipp at the moment, mix test is broken in CI. Can get credo & formatter passing and then confirm tests pass locally for you?

@zachdaniel zachdaniel merged commit dbd2adb into ash-project:main Jun 24, 2025
15 of 19 checks passed
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.

2 participants