CPS-401 Update Open API YAML with data types and example for output (cpsData) 29/122129/3
authorJosephKeenan <joseph.keenan@est.tech>
Wed, 23 Jun 2021 13:15:52 +0000 (14:15 +0100)
committerJosephKeenan <joseph.keenan@est.tech>
Fri, 16 Jul 2021 13:58:31 +0000 (14:58 +0100)
commit2472e61ecf2f5ebf9c5e3ddcf9c2b66ab0d4219e
treeed7c5017a0ef4104dece1cc562f42063b419d815
parentb81d0407c3f3356057bd1a8d66aadc42270becfe
CPS-401 Update Open API YAML with data types and example for output (cpsData)

-added response for get data nodes based on dataspace and anchor
-modified modelmapper jn DataRestControllerSpec to be Spy not Mock
-when openapi.yaml is entered into https://editor.swagger.io/ it
displays however locally it does not, This may be due to file
segmentation but this is still unclear.
-moved files from docs/openapi to src/main/resources/static as required
for new swagger sprindoc

Issue-ID: CPS-401

Change-Id: I45286530d9a9ca85b56c0a656a44675398a003f4
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
cps-application/src/main/resources/application.yml
cps-rest/pom.xml
cps-rest/src/main/resources/static/components.yml [moved from cps-rest/docs/openapi/components.yml with 99% similarity]
cps-rest/src/main/resources/static/cpsAdmin.yml [moved from cps-rest/docs/openapi/cpsAdmin.yml with 100% similarity]
cps-rest/src/main/resources/static/cpsData.yml [moved from cps-rest/docs/openapi/cpsData.yml with 96% similarity]
cps-rest/src/main/resources/static/cpsQuery.yml [moved from cps-rest/docs/openapi/cpsQuery.yml with 100% similarity]
cps-rest/src/main/resources/static/openapi.yml [moved from cps-rest/docs/openapi/openapi.yml with 99% similarity]