AI Content Chat (Beta) logo

Appendix B SAmple Code Swagger-Editor You can change the API specification by editing the API specification file in the Swagger editor. Step 1: Run “npm install -g http-server”. NPM will install the http-server modules in the local repository. Step 2: Run swagger-editor by running the following command: http-server swagger-editor Step 3: It will run on port Number 8080, or check the log of the preceding command and access the URL, as shown in Figure B-4. http://localhost:8080/ Figure B-4. OpenAPI specification for transaction and account Step 4: Click File ➤ Open and Example File and select abcBanking. yaml as shown in Figure B-5. 340

Building Digital Experience Platforms - Page 350 Building Digital Experience Platforms Page 349 Page 351