Skip to content

This project will automatically convert swagger endpoints to a ts file for angular endpoints easy consuming

Notifications You must be signed in to change notification settings

SalimDziri/Swagger-To-TS-Convertor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

   ____                                _____                      __          
  / __/    _____ ____ ____ ____ ____  / ___/__  ___ _  _____ ____/ /____  ____
 _\ \| |/|/ / _ `/ _ `/ _ `/ -_) __/ / /__/ _ \/ _ \ |/ / -_) __/ __/ _ \/ __/
/___/|__,__/\_,_/\_, /\_, /\__/_/    \___/\___/_//_/___/\__/_/  \__/\___/_/   
                /___//___/                                                  v1.0  

This project will automatically convert swagger endpoints (YAML file) to a ts file for angular endpoints easy consuming

How To Use

Edit the config.yaml file with the needed configuration

edit config.yaml file

Run the Script with Terminal (python required)

python SwaggerConverter.py -C ./config.yaml

run the script

Congrats, You have generated the TS file

api ts file

api ts file

How to use the generate file

how to use the generated file

how to use the generated file

About

This project will automatically convert swagger endpoints to a ts file for angular endpoints easy consuming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages