Skip to content

Commit

Permalink
Reset playground
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat committed Dec 12, 2024
1 parent 4f5e5f4 commit bdff7f8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Playground/Program.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
using GenHTTP.Engine.Kestrel;
using GenHTTP.Modules.DirectoryBrowsing;
using GenHTTP.Modules.Functional;
using GenHTTP.Modules.IO;
using GenHTTP.Modules.Layouting;
using GenHTTP.Modules.OpenApi;
using GenHTTP.Modules.Practices;
using GenHTTP.Modules.Swagger;

var app = Layout.Create()
.Add(Inline.Create().Get(() => "Hello World"))
.AddOpenApi()
.AddSwaggerUI();
var app = Content.From(Resource.FromString("Hello World"));

await Host.Create()
.Handler(app)
Expand Down

0 comments on commit bdff7f8

Please sign in to comment.