Skip to content

Add POST search endpoint for establishments with filters#765

Open
paullocknimble wants to merge 3 commits into
mainfrom
feature/new-establishment-search
Open

Add POST search endpoint for establishments with filters#765
paullocknimble wants to merge 3 commits into
mainfrom
feature/new-establishment-search

Conversation

@paullocknimble

Copy link
Copy Markdown
Collaborator

Add POST search endpoint for establishments with filters

Added a new POST /v4/establishments endpoint supporting search by name prefix and group types. Introduced EstablishmentGroupType entity and integrated it into the EF Core model and repository/query layers. Updated OpenAPI spec, client contracts, and added unit tests for the new search functionality. Controller now validates input and logs search operations.

paullocknimble and others added 3 commits June 24, 2026 16:40
Added a new POST /v4/establishments endpoint supporting search by name prefix and group types. Introduced EstablishmentGroupType entity and integrated it into the EF Core model and repository/query layers. Updated OpenAPI spec, client contracts, and added unit tests for the new search functionality. Controller now validates input and logs search operations.
- Made ConfigureEstablishmentGroupType static in MstrContext
- Changed EstablishmentGroupType setter to public in repository
- Updated test assertions to use tuple type syntax in tests
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
37.4% Coverage on New Code (required ≥ 70%)

See analysis details on SonarQube Cloud

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.

1 participant