using Nancy.Metadata.Modules; using Nancy.Metadata.Swagger.Core; using Nancy.Metadata.Swagger.Fluent; namespace Sony.Filtr.AdminAPI.Modules.SpotifySpecific { public class SpotifyArtistMetadataModule : MetadataModule { public SpotifyArtistMetadataModule() { const string tag = "Spotify artist"; Describe["GetSpotifyArtistInfo"] = description => new SwaggerRouteMetadata(description).With(c => c.WithDescription("Get info for the specified spotify artist", tag) .WithRequestParameter("artistId", type: "string", description: "Spotify artist Id", loc: "query") .WithDefaultResponse()); } } }