3rd1t / react-typescript-swagger

Generate API Client in React with OpenAPI Generator

Home Page:https://medium.com/@suraj.kc/use-swagger-to-generate-api-client-in-frontend-60b7d65abf31

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React TypeScript Swagger

Technologies

  • OpenAPI Speficification The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.

  • Open API Generator OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI standard

Explaination Use Swagger to generate API client in Frontend

Available Scripts

Npm Script Description
api Generates api client based on swagger file provided
dev Runs app in development mode
build Builds the app for production to the build folder.
test Launches the test runner in the interactive watch mode.

About

Generate API Client in React with OpenAPI Generator

https://medium.com/@suraj.kc/use-swagger-to-generate-api-client-in-frontend-60b7d65abf31


Languages

Language:TypeScript 96.6%Language:HTML 2.8%Language:CSS 0.6%