Skip to content

mitosagi/openbd-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openbd-openapi

Unofficial OpenAPI specification for openBD.

Usage

The OpenAPI specification is ./bin/openapi.yaml.

Client code generation

Install

git clone https://github.com/mitosagi/openbd-openapi
npm install

Get lang/framework list

npm run gen-list

Output 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.

Update specification

When partial-api.yaml or the official JSON Schema is changed, it is necessary to regenerate ./bin/openapi.yaml.

npm run create

API Specification Overview

All 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

License

MIT License

About

Unofficial openapi specification for openBD.

Resources

Stars

Watchers

Forks