()
| 2 | import { useOperation, useOperationMethod, OpenAPIProvider } from 'react-openapi-client'; |
| 3 | |
| 4 | const App = () => ( |
| 5 | <OpenAPIProvider definition="http://localhost:5001/openapi.json"> |
| 6 | <PetDetails id={1} /> |
| 7 | </OpenAPIProvider> |
| 8 | ); |
| 9 | |
| 10 | const PetDetails = (props) => { |
| 11 | // useOperation is called right away as an effect |
nothing calls this directly
no outgoing calls
no test coverage detected