Unofficial OpenAPI specification for openBD.
The OpenAPI specification is ./bin/openapi.yaml.
Install
git clone https://github.com/mitosagi/openbd-openapi
npm installGet lang/framework list
npm run gen-listOutput is a list of languages/frameworks that are supported by the code generator. See GitHub - OpenAPITools/openapi-generator for details.
Code generation
npm run gen -- java'java' is an example. You can specify any language/framework in the output list. The code of the API client is generated in the ./gen folder.
When partial-api.yaml or the official JSON Schema is changed, it is necessary to regenerate ./bin/openapi.yaml.
npm run createAll URIs are relative to https://api.openbd.jp/v1
| HTTP request | Description |
|---|---|
| GET /coverage | Get coverage |
| GET /get | Get up to 1,000 bibliographic information |
| POST /get | Get up to 10,000 bibliographic information |