ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.360.0

This commit is contained in:
speakeasybot
2024-08-10 00:23:32 +00:00
parent c8c28064c7
commit d91ffcb778
10 changed files with 150 additions and 17 deletions

View File

@@ -460,6 +460,21 @@ run();
```
<!-- End Retries [retries] -->
<!-- Start Debugging [debug] -->
## Debugging
To log HTTP requests and responses, you can pass a logger that matches `console`'s interface as an SDK option.
> [!WARNING]
> Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
```typescript
import { SDK } from "@lukehagar/discoursejs";
const sdk = new SDK({ debugLogger: console });
```
<!-- End Debugging [debug] -->
<!-- Placeholder for Future Speakeasy SDK Sections -->
# Development