Skip to content

Conversation

@Devin-Apps
Copy link

No description provided.

router = APIRouter()
analyzer = GeographicAnalyzer()

@router.get("/clusters")
Copy link
Collaborator

@Kilo59 Kilo59 Dec 5, 2024

Choose a reason for hiding this comment

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

Can you define a ResponseModel for all of the new endpoints? Otherwise the Openapi docs won't know how to describe them.

https://fastapi.tiangolo.com/tutorial/response-model/

@Devin-Apps Devin-Apps closed this Dec 6, 2024
@Devin-Apps Devin-Apps deleted the Geographic-Clustering-Analysis branch December 6, 2024 22:55
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.

3 participants