-
Notifications
You must be signed in to change notification settings - Fork 3
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
Why not use OpenAPI? #24
Comments
The Interfaces and API is defined here. |
Having the spec as markdown in an implementation repository is not really an ideal solution. |
Ok, will put a PR against EnoEngine then, with a first draftspec. |
I would add an OpenAPI Spec for EnoChecker, but for the Engine it would be better to generate it from you project via swashbuckle, I can add it too if you want. |
If it's generated from the code, it's no longer an actual independent specification, right? It would make the code the specification, instead (which would be fine by me, too, just pointing it out) |
yes, but as the engine is your single source of truth either way it makes sense? |
For the dashboard there is no API, right? EnoEngine is just sharing the file via a shared docker volume? |
EnoEngine is not running within docker, so it just puts the scoreboard files into These files are sent to the EnoLandingPage's bind-mounted input folder with rsync in a while true loop. A bit hacky, but it works :) |
Might be good to add an architectural overview :D |
I agree, do you have an idea how one can nicely visualize the information flow within distributed systems? The mini-picture on the slides was created o draw.io, but everything I create there looks hideous. |
For starters maybe: https://mermaid-js.github.io/mermaid/#/flowchart ? |
So before going ahead I would appreciate your feedback:
BTW: Is there a reason why |
Here a first preview: Any preferences for a documentation generator? I would go for https://mrin9.github.io/RapiDoc/examples/themes.html#post-/pet |
Do I miss something or are there only types defined inside the core library?
Using OpenAPI or just JSONSchema would allow the following benefits:
The text was updated successfully, but these errors were encountered: