Skip to content
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

Generate JSON models #8

Open
MihaMarkic opened this issue Oct 31, 2020 · 3 comments
Open

Generate JSON models #8

MihaMarkic opened this issue Oct 31, 2020 · 3 comments

Comments

@MihaMarkic
Copy link
Member

JSON models have to be generated in order to communicate with server. Perhaps we can use swagger metadata..

@sesam
Copy link
Contributor

sesam commented Nov 20, 2020

Where does the data come from? Can we implement the first screen also without formal JSON models, or does the app need to do complex data processing before the numbers can be shown on screen?

@MihaMarkic
Copy link
Member Author

@sesam Data will be coming from sledilnik/data-api and I wouldn't take shortcuts. Instead models should be generated, perhaps using swagger data.

@sesam
Copy link
Contributor

sesam commented Nov 20, 2020

https://api.sledilnik.org/swagger looks like the place for swagger definitions. Is it /stats that has the data for the front page small info boxes?

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

No branches or pull requests

2 participants