@harnessio/react-ait-swagger-service-client
v0.1.3
Published
Harness React AIT service client - AIT APIs integrated with react hooks
Keywords
Readme
@harnessio/react-ait-swagger-service-client
Harness React AIT service client - AIT APIs integrated with React hooks.
Usage
- Update
swagger.jsonwith the OpenAPI specification - Add required operation IDs to
ALLOWED_OPERATION_IDSinoats.config.ts - Run
yarn generateto generate the client code - Run
yarn buildto compile the package
Scripts
yarn generate- Generate API client from OpenAPI specyarn build- Build the package (runs generate + tsc)yarn fmt- Format code with Prettier
Development
The client code is auto-generated from the OpenAPI spec. Do not manually edit files under src/services/.
