Commit Graph

76 Commits

Author SHA1 Message Date
MattMo e2c5aba868 Added Javascript client generator. Fixed a few bugs. Improved client generator code. 2023-04-12 18:03:55 -07:00
MattMo 6a7f6ce096 Modified ClientGenerator to support responses as a parameter input. Improved streams support. Bumped package version to 1.4.8 2023-03-31 09:19:22 -07:00
MattMo b9e1f2ca7d Modified GetMimeType to return binary type if there is no extension. 2023-03-31 08:44:45 -07:00
MattMo cf477522c0 Bumped package version to 1.4.7. Added support for Stream requests and MemoryStream responses. 2023-03-31 08:21:32 -07:00
MattMo fe99ba9b9d Added RouteTypeName attribute that can be used to rename a type when generating client code. 2023-03-31 07:02:44 -07:00
MattMo 4bc388d86b Bumped package version to 1.4.5 and modified ClientGenerator to include System.Net assembly as a DotNet type. 2023-03-30 10:36:51 -07:00
MattMo 71941f5dd0 Changed RouteListener to attempt to listen on all interfaces, if denied it falls back to local. Bumped package version to 1.4.4 2023-03-28 06:20:20 -07:00
MattMo 0c8467f942 Fixed an issue where built int Enums would be converted to int type for fields. Bumped package version to 1.4.3. 2023-03-24 08:21:12 -07:00
MattMo f2db3bddbf Changed logo to new design. 2023-03-24 07:38:53 -07:00
MattMo ff7c356655 Improved route function generator to handle status codes better and check to see if json content was null or empty and return default. Bumped package version to 1.4.2 2023-03-24 07:33:35 -07:00
MattMo 1345e326a8 Added an attribute that can be used to included extra types in the client generation. Bumped package version to 1.4.1 2023-03-24 07:15:42 -07:00
MattMo e8735d8764 Added support for sub types in the C# client code generator. Bumped package version to 1.4.0 2023-03-24 06:52:00 -07:00
MattMo fafdb48d51 Bumped package version to 1.3.9 added support for Enum code generation and support for inherited types. 2023-03-23 08:23:08 -07:00
MattMo 7fd42ae81b Added Logo. 2023-03-15 10:29:07 -07:00
MattMo 97fecdbe6f Changed all response data extensions to no longer use chunking since we can specify the content length. Bumped package version to 1.3.8 2023-03-03 16:12:13 -08:00
MattMo 69e71bff0b Cleaned up documentation. Response extension now sets the content length for a few extensions. Added WithNoBody response extension. Bumped package version to 1.3.7 2023-03-03 15:49:39 -08:00
MattMo c0f029ce08 Bumped package version to 1.3.6. Added RouteFileCache.Cached function that doesn't return content. 2023-03-03 13:02:11 -08:00
MattMo f4fe34e461 Added WithPreCompressedFile extension. Bumped package version to 1.3.5 2023-03-01 17:14:52 -08:00
MattMo bd4f5f63b6 Renamed fileName back to filePath 2023-03-01 16:33:41 -08:00
MattMo 2b892dfd66 Added a new RouteFileCache and more response extensions. Bumped package version to 1.3.4. 2023-03-01 16:19:20 -08:00
MattMo 662bd03ddc Changed Listener.Block to not use as much CPU usage, at least not visually in the task manager. 2023-03-01 12:22:23 -08:00
MattMo f882a74c6d Added compressed response extensions and added more to the example program. Bumped package version to 1.3.3 2023-02-24 12:05:57 -08:00
MattMo 22633ec94f Added missing json mime type. 2023-02-10 12:12:37 -08:00
MattMo f8b726634e Changed mime type for javascript. Bumped package version to 1.3.2. 2023-02-10 12:11:44 -08:00
MattMo 55d75a7bb0 Improved WithFile extension to allow custom MimeTypes and added an auto mime type detection. Bumped package to 1.3.1 2023-02-09 12:53:03 -08:00
MattMo 0ee5e98768 Added a missing unit test and fixed another bug with the RouteMatcher. Bumped package version to 1.3.0 2023-02-08 15:23:43 -08:00
MattMo 85889973c8 Fixed some bugs within the RouteMatcher to better support wild card and catch all matching. Added unit tests. Bumped package version to 1.2.9 2023-02-08 15:14:17 -08:00
MattMo 12fe2da2a3 Fixed issue where client generator was actually removing routes from the original list. Improved documentation. Bumped package version to 1.2.8 2023-02-08 14:44:00 -08:00
MattMo 7ffa2d43ef Improved the csharp client generator to check if the base url is null or whitespace and to remove trailing / characters. Fixed some bugs with different client names. Generator also now sets up cookie support. 2023-02-07 13:02:56 -08:00
MattMo 6ae73aaa7d Changed response extensions to use utf-8 encoding instead of utf-16. Bumped package version to 1.2.6 2023-02-06 12:46:02 -08:00
MattMo a1f2f4a91c Fixed bug in client generation. Publishing nuget. 2023-02-06 12:15:39 -08:00
MattMo 5a1efa90c7 Reverting. Actually this is better. 2023-02-06 11:38:36 -08:00
MattMo 612a658b77 Changed static csharp generator to now rely on the client name so that it can be easily renamed. 2023-02-06 11:37:33 -08:00
MattMo e4c3ee0673 Added static code generation option to the CSharp Client generator. Bumped package version to 1.2.4 2023-02-06 11:21:56 -08:00
MattMo 2076a1d02b Broke up RestClientGenerator so that custom generators for other languages can be created or the C# one could be modified for custom use cases. 2023-02-06 10:46:38 -08:00
MattMo ed1d10ba9d Added Json flag to RouteRequest and RouteResponse to control whether or not the content is Json and needs to be handled. Updated example code. Renamed ClientCodeGenerator to RestClientGenerator. Bumped package version to 1.2.2. 2023-02-06 09:01:06 -08:00
MattMo 60768b1b3e Added a hidden route attribute that can be used to exclude a given route from code generation. Bumped package version to 1.2.1 2023-02-05 13:27:10 -08:00
MattMo 5c2b2ea4ef Bumped package version to 1.2.0. Added missing route method conversions to code generator. 2023-02-05 13:02:18 -08:00
MattMo 887cd687e0 Merge pull request 'Merging Code Generation Feature' (#1) from CodeGen into master
Reviewed-on: #1
2023-02-05 20:29:29 +00:00
MattMo 42c4682c89 Bumped package version to 1.1.9. Added documentation and cleaned up code. Going to merge into Master. 2023-02-05 12:28:37 -08:00
MattMo 1475159f1c Added RouteName and Request/Response handling to the code generator. More work is needed. 2023-02-05 10:59:29 -08:00
MattMo 74f8921f7a Improved the code generator. More to come. 2023-02-04 10:37:30 -08:00
MattMo 6bb01464e7 Working on C# client code generation. 2023-02-04 08:26:09 -08:00
MattMo 19ccdb9026 Working on a client code generation feature to help speed up using an api built with this library. 2023-02-03 13:33:28 -08:00
MattMo f8704e425b Route arguments are now automatically url decoded by the RouteMatcher. Added a unit test to cover this case. Bumped package version to 1.1.8 2023-02-02 16:14:32 -08:00
MattMo 023654aba2 Cleaned up code and added new ResponseExtensions to help with bad requests. 2023-02-02 13:33:13 -08:00
MattMo c4f4704441 Removed release notes so it's not confusing. 2023-02-02 09:53:03 -08:00
MattMo cd6dd40fe2 Bumped package version to 1.1.6 and removed RouteListenerContext in favor of built in HttpListenerContext since it's already apart of .Net. Cleaned up code and build passes. 2023-02-02 09:51:34 -08:00
MattMo 7dcc28d5e0 Upgrading to latest version of Newtonsoft.Json 2023-01-26 12:01:36 -08:00
MattMo 9f8d6639c0 Improved package description. 2023-01-26 11:51:01 -08:00