An OpenAPI proxy server for e-LAWS API (the official API for Japanese laws data).
- Prerequisites: Node.js
- In the
./server
directory, run the following commands:npm install
npm start
- Then access http://localhost:3000/docs to open Swagger UI. You can obtain the OpenAPI spec at http://localhost:3000/openapi.json .
Be aware that this option creates resources on AWS and may incur costs.
- Prerequisites: Node.js, AWS CDK CLI, Active AWS account, and Docker.
- In the
./cdk
directory, run the following commands:npm install
npm run deploy
- Then access [ApiEndpoint]/docs to open Swagger UI. You can obtain the OpenAPI spec at [ApiEndpoint]/openapi.json .
See the examples directory for examples.