Skip to content

Commit

Permalink
Added Contact info in OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
AmielCyber committed Aug 22, 2023
1 parent bcb7ca9 commit 0204182
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion PetSearch.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
{
Title = "Pet Search",
Description = "An API to search available pets around a local area.",
Version = "1.0"
Version = "1.0",
Contact = new OpenApiContact
{
Name = "Amiel",
Url = new Uri("https://github.com/AmielCyber")
}
});
var file = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
opts.IncludeXmlComments(Path.Combine(AppContext.BaseDirectory, file));
Expand Down

0 comments on commit 0204182

Please sign in to comment.