Skip to content

madpah/osv-dev-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osv.dev API Client in Go

CI GitHub license GitHub issues GitHub forks GitHub stars


This repository is use to generate API Clients for https://osv.dev in different langauges using their OpenAPI Specification and the OpenAPI Generator.

Supported Languages & Frameworks

Language / Framework Since Public Package Link
Go 2025-01-17 go.dev reference

Getting the latest OpenAPI Schema

Create a Python Virtual Environment with Poetry and then run:

poetry install
python update-spec.py

This will download the current Swagger 2.0 specification, convert to OpenAPI 3 and put it into the spec folder.

Generation of API Client

docker run --rm -v "$(PWD):/local" openapitools/openapi-generator-cli batch --clean /local/go.yaml

Releasing

We use SemVer. Creating a tag, will kick off a release.

Copyright & License

Copyright (c) 2025 Paul Horton. All Rights Reserved.

Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.

See the LICENSE file for the full license.

About

Generated API Client for osv.dev using OpenAPI Generator

Resources

License

Stars

Watchers

Forks

Contributors

Languages