Skip to content

#49 add RestSharp demo#195

Merged
rorychatt merged 6 commits into
Ivy-Interactive:mainfrom
mrdmrd:restsharep-demo
Sep 29, 2025
Merged

#49 add RestSharp demo#195
rorychatt merged 6 commits into
Ivy-Interactive:mainfrom
mrdmrd:restsharep-demo

Conversation

@mrdmrd

@mrdmrd mrdmrd commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

The RestSharp example has been added.
Please review it, and if everything looks good, I hope we can add this example to the main branch.

image

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive RestSharp demo application to showcase the integration of RestSharp (REST API client) with the Ivy framework, providing an interactive interface for testing various HTTP methods and API operations.

  • Interactive UI for REST API testing with support for GET, POST, PUT, PATCH, and DELETE methods
  • Request customization capabilities including headers and body content management
  • Response handling with status code display and optional JSON formatting

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
RestsharpDemo.sln Visual Studio solution file for the demo project
RestsharpDemo.csproj Project configuration targeting .NET 9.0 with Ivy and RestSharp dependencies
README.md Comprehensive documentation with features, setup instructions, and educational content
Program.cs Application entry point with server configuration and Chrome integration
GlobalUsings.cs Global using statements for common namespaces and RestSharp
Apps/RestsharpApp.cs Main application logic with interactive UI for REST API testing
.gitignore Standard .NET gitignore with Ivy-specific additions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread restsharp/README.md Outdated
Comment thread restsharp/Apps/RestsharpApp.cs Outdated
Comment thread restsharp/Apps/RestsharpApp.cs Outdated
@rorychatt

rorychatt commented Sep 27, 2025

Copy link
Copy Markdown
Collaborator

Minor comment is that for json output you can use Code widget and specify language to be json (or codeinput if you want that type of styling but less recommended)

@rorychatt

Copy link
Copy Markdown
Collaborator
image Resolve warnings

@rorychatt rorychatt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job so far, resolve my comments above, and see feedback by Copilot

mrdmrd and others added 3 commits September 27, 2025 12:02
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mrdmrd
mrdmrd requested a review from rorychatt September 27, 2025 10:29
@mrdmrd

mrdmrd commented Sep 29, 2025

Copy link
Copy Markdown
Contributor Author

@rorychatt, all the comments are resolved.

@rorychatt
rorychatt merged commit fa0e52e into Ivy-Interactive:main Sep 29, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants