Skip to content

Failed to generate openapi.json #3164

@dayeguilaiye

Description

@dayeguilaiye

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
In http://localhost:8000/docs I got Fetch error Internal Server Error /openapi.json

To Reproduce

  1. run uv pip install google-adk
  2. run source .venv/bin/activate
  3. run adk api_server
  4. open http://localhost:8000/docs

Expected behavior
A swagger ui

Screenshots

Image

Desktop (please complete the following information):

  • OS: macOS
  • Python version(python -V): 3.12
  • ADK version(pip show google-adk): tried both 1.15.1 and 1.16.0

Model Information:

  • Are you using LiteLLM: Yes
  • Which model is being used: other

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

tools[Component] This issue is related to tools

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions