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

feat: Add a script to extract openapi.yaml #44

Merged
merged 3 commits into from
Jan 30, 2024
Merged

feat: Add a script to extract openapi.yaml #44

merged 3 commits into from
Jan 30, 2024

Conversation

bjchambers
Copy link
Contributor

This adds a script that we can run with:

poetry run python scripts/extract_openapi.py dewy.main:app

This also modifies the options to eliminate the LLM/embedding environment variables (not used) and make the DB optional (failing the CRUD methods if invoked).

This is part of #43.

This adds a script that we can run with:

```sh
poetry run python scripts/extract_openapi.py dewy.main:app
```

This also modifies the options to eliminate the LLM/embedding
environment variables (not used) and make the DB optional (failing
the CRUD methods if invoked).

This is part of #43.
Copy link
Contributor

@kerinin kerinin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might add this to pyproject.toml just so we have it documented and it's easy to run

@bjchambers bjchambers changed the title feat: Add a script to extrat openapi.yaml feat: Add a script to extract openapi.yaml Jan 30, 2024
@bjchambers bjchambers merged commit 1e3d9ba into main Jan 30, 2024
4 checks passed
@bjchambers bjchambers deleted the openapi-yaml branch January 30, 2024 19:43
@bjchambers bjchambers added the enhancement New feature or request label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants