Skip to content

Commit 2863a4e

Browse files
committed
->/specification
1 parent ac769aa commit 2863a4e

23 files changed

+7
-7
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ publish: clean
2929
mkdir -p build
3030
npm run publish 2> /dev/null
3131
cp build/immunisation-fhir-api.json sandbox/
32-
cp -r utilities/specification sandbox/specification
32+
cp -r specification sandbox/specification
3333

3434
#Runs build proxy script
3535
build-proxy:
3636
utilities/scripts/build_proxy.sh
3737

3838
#Files to loop over in release
3939
# VED-811: remove everything except for proxy related files as we move to Github Actions for backend deployment
40-
_dist_include="poetry.toml Makefile build/. utilities/specification sandbox infrastructure/terraform utilities/scripts"
40+
_dist_include="poetry.toml Makefile build/. specification sandbox infrastructure/terraform utilities/scripts"
4141

4242
#Create /dist/ sub-directory and copy files into directory
4343
#Ensure full dir structure is preserved for Lambdas

README.specification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This is a specification for the _immunisation-fhir-api_ API.
66

7-
- `utilities/specification/` This [Open API Specification](https://swagger.io/docs/specification/about/) describes the endpoints, methods and messages exchanged by the API. Use it to generate interactive documentation; the contract between the API and its consumers.
7+
- `specification/` This [Open API Specification](https://swagger.io/docs/specification/about/) describes the endpoints, methods and messages exchanged by the API. Use it to generate interactive documentation; the contract between the API and its consumers.
88
- `sandbox/` This NodeJS application implements a mock implementation of the service. Use it as a back-end service to the interactive documentation to illustrate interactions and concepts. It is not intended to provide an exhaustive/faithful environment suitable for full development and testing.
99
- `utilities/scripts/` Utilities helpful to developers of this specification.
1010
- `infrastructure/proxies/` Live (connecting to another service) and sandbox (using the sandbox container) Apigee API Proxy definitions.
@@ -155,7 +155,7 @@ For more information about building sandbox APIs see the [API Producer Zone conf
155155

156156
Contains useful scripts that are used throughout the project, for example in Makefile and Github workflows
157157

158-
#### `utilities/specification`:
158+
#### `specification`:
159159

160160
Create an OpenAPI Specification to document your API. For more information about developing specifications see the [API Producer Zone confluence](https://nhsd-confluence.digital.nhs.uk/display/APM/Documenting+your+API).
161161

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.0.1",
44
"description": "OAS (Swagger v3) API Definition for Template API",
55
"scripts": {
6-
"lint": "redocly lint --skip-rule=security-defined utilities/specification/immunisation-fhir-api.yaml",
6+
"lint": "redocly lint --skip-rule=security-defined specification/immunisation-fhir-api.yaml",
77
"format": "prettier --write .",
88
"format-check": "prettier --check .",
9-
"publish": "redocly bundle utilities/specification/immunisation-fhir-api.yaml --remove-unused-components --ext json -o build/immunisation-fhir-api.json",
9+
"publish": "redocly bundle specification/immunisation-fhir-api.yaml --remove-unused-components --ext json -o build/immunisation-fhir-api.json",
1010
"check-licenses": "node_modules/.bin/license-checker --failOn GPL --failOn LGPL",
1111
"prepare": "husky"
1212
},

utilities/specification/components/examples/Immunization/GET-Immunization.json renamed to specification/components/examples/Immunization/GET-Immunization.json

File renamed without changes.

utilities/specification/components/examples/Immunization/completed_covid19_immunization_event.json renamed to specification/components/examples/Immunization/completed_covid19_immunization_event.json

File renamed without changes.

utilities/specification/components/examples/Immunization/completed_covid19_immunization_event_filtered_for_read.json renamed to specification/components/examples/Immunization/completed_covid19_immunization_event_filtered_for_read.json

File renamed without changes.

utilities/specification/components/examples/Immunization/completed_covid19_immunization_event_filtered_for_search.json renamed to specification/components/examples/Immunization/completed_covid19_immunization_event_filtered_for_search.json

File renamed without changes.

utilities/specification/components/examples/Immunization/completed_covid19_immunization_event_mandatory_fields_only.json renamed to specification/components/examples/Immunization/completed_covid19_immunization_event_mandatory_fields_only.json

File renamed without changes.

utilities/specification/components/examples/Immunization/completed_flu_immunization_event.json renamed to specification/components/examples/Immunization/completed_flu_immunization_event.json

File renamed without changes.

utilities/specification/components/examples/Immunization/completed_hpv_immunization_event.json renamed to specification/components/examples/Immunization/completed_hpv_immunization_event.json

File renamed without changes.

0 commit comments

Comments
 (0)