openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

To support the latest version 2.1.1 schema changes to the server side implementation #551

Closed PrathibaJee closed 9 months ago

PrathibaJee commented 9 months ago

Generate server stub for the version 2.1.0 specification Replace the server/api/openapi.yaml with the generated api/openapi.yaml file Replace the database/load.json file with the latest develop/spec/RegistryOffice+config.json file Rename the database/load.json file to database/config.json Update the following line in the index.js From

global.databasePath = './database/load.json'

To

global.databasePath = './database/config.json'

Compare the controller and the services folder in the generated server side stub with the existing code. Update the existing code