ash-project / ash_json_api

The JSON:API extension for the Ash Framework
https://hexdocs.pm/ash_json_api
MIT License
62 stars 42 forks source link

Support Open API specs (and swagger) #62

Closed zachdaniel closed 1 year ago

zachdaniel commented 1 year ago

A natural extension of the declarative nature of Ash is to support open api specs and tools like swagger UI. We've got some groundwork for this in the JsonSchema generation, and we should be able to leverage much of that for Open API 🥳 https://swagger.io/specification/

mbuhot commented 1 year ago

@zachdaniel I can take this one.

mohammedzeglam-pg commented 1 year ago

where this went so far.

zachdaniel commented 1 year ago

It's still in flight

mohammedzeglam-pg commented 1 year ago

It's still in flight

is there any reference work to begin with it, or help with it.

zachdaniel commented 1 year ago

https://github.com/ash-project/ash_json_api/pull/64 This PR needs some testing/linting/cleanup, and then I think it will be good to go :)

zachdaniel commented 1 year ago

The first pass at this has been merged! I'm sure there will need to be improvements made in the future, but the (excellent) groundwork is there!