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

add one-line command to update openapi.json #4

Closed
1 of 3 tasks
ltalirz opened this issue Jun 12, 2019 · 2 comments
Closed
1 of 3 tasks

add one-line command to update openapi.json #4

ltalirz opened this issue Jun 12, 2019 · 2 comments

Comments

@ltalirz
Copy link
Member

ltalirz commented Jun 12, 2019

  • add a one-line command to update optimade.json from python classes
  • make sure, json is indented to 2 spaces
  • possibly add pre-commit hook that runs the command
@ltalirz ltalirz changed the title add one-line command to update optimade.json add one-line command to update openapi.json Jun 12, 2019
@ltalirz
Copy link
Member Author

ltalirz commented Jun 12, 2019

So far, the server will auto-generate the openapi.json file but there isn't yet a one-line command to generate the spec (i.e. to check on travis that the generated and committed spec are consistent)

@ltalirz
Copy link
Member Author

ltalirz commented Jun 13, 2019

fixed in #20

@ltalirz ltalirz closed this as completed Jun 13, 2019
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

1 participant