Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add ApprovedPremisesBedSearchResult #2783

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions src/main/resources/static/cas1-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,24 +1035,15 @@ components:
- updatedReferenceNumber
- updatedReason
- updatedNotes
ApprovedPremisesBedSearchParameters:
ApprovedPremisesBedSearchResult:
deprecated: true
description: This is no longer returned by any APIs so should be removed once removed from UI Code
allOf:
- $ref: '_shared.yml#/components/schemas/BedSearchParameters'
- $ref: '_shared.yml#/components/schemas/BedSearchResult'
- type: object
properties:
postcodeDistrict:
type: string
description: The postcode district to search outwards from
maxDistanceMiles:
type: integer
description: Maximum number of miles from the postcode district to search, only required if more than 50 miles which is the default
requiredCharacteristics:
type: array
items:
$ref: '_shared.yml#/components/schemas/PlacementCriteria'
distanceMiles:
type: number
description: how many miles away from the postcode district the Premises this Bed belongs to is
required:
- postcodeDistrict
- maxDistanceMiles
- requiredCharacteristics
- distanceMiles
21 changes: 6 additions & 15 deletions src/main/resources/static/codegen/built-cas1-api-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7052,24 +7052,15 @@ components:
- updatedReferenceNumber
- updatedReason
- updatedNotes
ApprovedPremisesBedSearchParameters:
ApprovedPremisesBedSearchResult:
deprecated: true
description: This is no longer returned by any APIs so should be removed once removed from UI Code
allOf:
- $ref: '#/components/schemas/BedSearchParameters'
- $ref: '#/components/schemas/BedSearchResult'
- type: object
properties:
postcodeDistrict:
type: string
description: The postcode district to search outwards from
maxDistanceMiles:
type: integer
description: Maximum number of miles from the postcode district to search, only required if more than 50 miles which is the default
requiredCharacteristics:
type: array
items:
$ref: '#/components/schemas/PlacementCriteria'
distanceMiles:
type: number
description: how many miles away from the postcode district the Premises this Bed belongs to is
required:
- postcodeDistrict
- maxDistanceMiles
- requiredCharacteristics
- distanceMiles
Loading