Skip to content

Commit 10dc52c

Browse files
Post review changes
1 parent d446e40 commit 10dc52c

File tree

82 files changed

+110
-1298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+110
-1298
lines changed

sdk/generate-ts.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ set -x
88
docker run \
99
--rm \
1010
--user $(id -u) \
11-
-v ${PWD}:/local \
12-
-e VERSION="$VERSION" \
13-
openapitools/openapi-generator-cli \
14-
generate \
15-
-i /local/build/notify-supplier.yml \
16-
-g typescript \
17-
--additional-properties="npmRepository=https://npm.pkg.github.com,npmName=@NHSDigital/nhsnotifysupplier,npmVersion=$VERSION,licenseName=MIT" \
18-
-o /local/sdk/typescript \
19-
--skip-validate-spec
11+
-v ${PWD}:/local \
12+
-e VERSION="$VERSION" \
13+
openapitools/openapi-generator-cli \
14+
generate \
15+
-i /local/build/notify-supplier.yml \
16+
-g typescript \
17+
--additional-properties="npmRepository=https://npm.pkg.github.com,npmName=@NHSDigital/nhsnotifysupplier,npmVersion=$VERSION,licenseName=MIT" \
18+
-o /local/sdk/typescript \
19+
--skip-validate-spec
2020
set +x
2121

2222
sed -i -e 's|https://github.com/GIT_USER_ID/GIT_REPO_ID.git|https://github.com/NHSDigital/nhs-notify-supplier-api.git|g' ./sdk/typescript/package.json

specification/api/components/endpoints/createMI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ operationId: create-mi
33
tags:
44
- mi
55
requestBody:
6-
$ref: '../requests/PostMIRequest.yml'
6+
$ref: '../requests/postMIRequest.yml'
77
responses:
88
'201':
99
$ref: "../responses/postMI201.yml"
1010
'404':
11-
$ref: "../responses/errors/ResourceNotFound.yml"
11+
$ref: "../responses/errors/resourceNotFound.yml"
1212
'429':
13-
$ref: "../responses/errors/TooManyRequests.yml"
13+
$ref: "../responses/errors/tooManyRequests.yml"
1414
'500':
15-
$ref: "../responses/errors/ServerError.yml"
15+
$ref: "../responses/errors/serverError.yml"

specification/api/components/endpoints/createWhitemail.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

specification/api/components/endpoints/getDataId.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ responses:
1212
type: string
1313
example: "https://examples3bucket.com/filelocation"
1414
"404":
15-
$ref: "../responses/errors/ResourceNotFound.yml"
15+
$ref: "../responses/errors/resourceNotFound.yml"
1616
"429":
17-
$ref: "../responses/errors/TooManyRequests.yml"
17+
$ref: "../responses/errors/tooManyRequests.yml"
1818
"500":
19-
$ref: "../responses/errors/ServerError.yml"
19+
$ref: "../responses/errors/serverError.yml"

specification/api/components/endpoints/getLetterStatus.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ responses:
55
"200":
66
$ref: "../responses/getLetter200.yml"
77
"404":
8-
$ref: "../responses/errors/ResourceNotFound.yml"
8+
$ref: "../responses/errors/resourceNotFound.yml"
99
"429":
10-
$ref: "../responses/errors/TooManyRequests.yml"
10+
$ref: "../responses/errors/tooManyRequests.yml"
1111
"500":
12-
$ref: "../responses/errors/ServerError.yml"
12+
$ref: "../responses/errors/serverError.yml"
1313
tags:
1414
- letter

specification/api/components/endpoints/getMI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ responses:
44
"200":
55
$ref: "../responses/getMI200.yml"
66
"404":
7-
$ref: "../responses/errors/ResourceNotFound.yml"
7+
$ref: "../responses/errors/resourceNotFound.yml"
88
"429":
9-
$ref: "../responses/errors/TooManyRequests.yml"
9+
$ref: "../responses/errors/tooManyRequests.yml"
1010
"500":
11-
$ref: "../responses/errors/ServerError.yml"
11+
$ref: "../responses/errors/serverError.yml"
1212
tags:
1313
- mi

specification/api/components/endpoints/getWhitemail.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

specification/api/components/endpoints/listLetters.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ responses:
99
'200':
1010
$ref: "../responses/getLetters200.yml"
1111
'404':
12-
$ref: "../responses/errors/ResourceNotFound.yml"
12+
$ref: "../responses/errors/resourceNotFound.yml"
1313
'429':
14-
$ref: "../responses/errors/TooManyRequests.yml"
14+
$ref: "../responses/errors/tooManyRequests.yml"
1515
'500':
16-
$ref: "../responses/errors/ServerError.yml"
16+
$ref: "../responses/errors/serverError.yml"

specification/api/components/endpoints/listMI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ responses:
44
"200":
55
$ref: "../responses/getMIList200.yml"
66
"404":
7-
$ref: "../responses/errors/ResourceNotFound.yml"
7+
$ref: "../responses/errors/resourceNotFound.yml"
88
"429":
9-
$ref: "../responses/errors/TooManyRequests.yml"
9+
$ref: "../responses/errors/tooManyRequests.yml"
1010
"500":
11-
$ref: "../responses/errors/ServerError.yml"
11+
$ref: "../responses/errors/serverError.yml"
1212
tags:
1313
- mi

specification/api/components/endpoints/listWhitemail.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)