Skip to content

Commit

Permalink
Provide swagger with longer API description (#221)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Paige <[email protected]>
  • Loading branch information
jasonpaige and jasonpaige authored Jan 25, 2024
1 parent f7860fb commit e025045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pre-api-stg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ externalDocs:
url: 'https://github.com/hmcts/pre-api'
host: 'sds-api-mgmt.staging.platform.hmcts.net'
info:
description: PRE API
description: 'PRE API - Used for managing courts, bookings, recordings and permissions.'
license:
name: MIT
url: 'https://opensource.org/licenses/MIT'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class OpenAPIConfiguration {
public OpenAPI openAPI() {
return new OpenAPI()
.info(new Info().title("PRE API")
.description("PRE API")
.description("PRE API - Used for managing courts, bookings, recordings and permissions.")
.version("v0.0.1")
.license(new License().name("MIT").url("https://opensource.org/licenses/MIT")))
.externalDocs(new ExternalDocumentation()
Expand Down

0 comments on commit e025045

Please sign in to comment.