Skip to content

4zzz/rtk-query-github-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtk-query-github-api

This package can be used to generate RTK Query based Github API definition using patched version of package @rtk-query/codegen-openapi (and some of its dependencies) that can be used for code generation since version 1.0.0-alpha.1 cannot be used.

Used OpenAPI schema is in file config/api.github.com.json and configuration for codegen-openapi is in config/openapi-config.js

To generate code clone this repository, install package dependencies with npm install and then run npm run generate-api. If everything went right, directory src/endpoints should be populated with generated code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published