8000 GitHub - wtrocki/api-client-template: Experiment: Template for creating API generation tools for Atlas
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wtrocki/api-client-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client Template

NOTE: This project is just experiment. It should not be used by general public

Generate various clients using OpenAPI generator.

Contents

Project contains:

  • Github actions automation for OpenAPI processing and generation
  • OpenAPI processing tool for transforming OpenAPI schema
  • OpenAPI generator setup with various scripts helping with generation

See tools for more info.

How to use

  1. Use this template to create new repository.

  2. It will autocreate PRs with openapi and client updates using github actions.

  3. Pick one of the availabe generators from OpenAPI generator: https://openapi-generator.tech/docs/generators/

  4. Edit tools/config/config.yaml file specifying generator name. Consider adding generator propoperties. Example: https://github.com/wtrocki/api-client-template/blob/main/tools/config/config.yaml

Why transformer?

OpenAPI file can be simplified in order to generate user-friendly code. Transformer can be used to modify openapi file to meet some needs of specific generator.

About

Experiment: Template for creating API generation tools for Atlas

Topics

Resources

License

Stars

Watchers

Forks

0