Skip to content

Remove duplicate example endpoints from base.py #157

@coderabbitai

Description

@coderabbitai

Context

There are multiple example endpoints in examples/fastapi/resources/base.py that demonstrate similar error handling scenarios. We should consolidate these to maintain cleaner examples.

Duplicate endpoints to review:

  • /raise_cuenca_errors and /simulate_401 (unauthorized errors)
  • /raise_fast_agave_errors (also unauthorized error)

This was identified during the review of PR #154.

Action items:

  • Review all example endpoints
  • Identify duplicates and determine which ones to keep
  • Remove redundant endpoints
  • Update tests if needed

References:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions