Skip to content

Conversation

@adrianlyjak
Copy link
Contributor

Add functionality to export openapi.json, run uv run hatch run server:openapi

@adrianlyjak adrianlyjak force-pushed the adrian/export-openapi branch from 058682f to ed6354e Compare September 4, 2025 16:54
@coveralls
Copy link

coveralls commented Sep 4, 2025

Pull Request Test Coverage Report for Build 17471628316

Details

  • 7 of 16 (43.75%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.7%) to 95.481%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/workflows/server/server.py 7 16 43.75%
Totals Coverage Status
Change from base Build 17331658432: -0.7%
Covered Lines: 1162
Relevant Lines: 1217

💛 - Coveralls

"openapi": "3.0.0",
"info": {
"title": "Workflows API",
"version": "1.0.0",
Copy link
Collaborator

@logan-markewich logan-markewich Sep 4, 2025

Choose a reason for hiding this comment

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

do we have an __version__ in the lib? Would probably be nice to get an actual version here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Used from importlib.metadata import version, version("llama-index-workflows"), which should work for python 3.8+ (min compatible is 3.9, so we should be good)

@adrianlyjak adrianlyjak merged commit 516e8e1 into main Sep 4, 2025
6 checks passed
@adrianlyjak adrianlyjak deleted the adrian/export-openapi branch September 4, 2025 19:08
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

Successfully merging this pull request may close these issues.

4 participants