using Nancy.Metadata.Modules; using Nancy.Metadata.Swagger.Core; using Nancy.Metadata.Swagger.Fluent; namespace Sony.Filtr.AdminAPI.Modules.SpotifySpecific { public class SpotifyUserMetadataModule : MetadataModule { public SpotifyUserMetadataModule() { var tag = "Spotify user"; Describe["GetSpotifyUserInfo"] = description => new SwaggerRouteMetadata(description).With(c => c.WithDescription("Get info for the specified spotify user", tag) .WithRequestParameter("userUri", type: "string", description: "Spotify User URI", loc: "query") .WithDefaultResponse()); } } }