Flesh out the GetProjectReferenceMetadata
task
#4912
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Done
This issue has been fixed
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Milestone
Is this a Bug or Feature request?
Enhancement that's part of #4896
Description of the problem
The current
GetProjectReferenceMetadata
task is basically a stub. It needs to get the requisite metadata and add it to theInputs
items i.e. behave likeGetFileReferenceMetadata
andGetUriReferenceMetadata
but withServiceProjectReference
items. See expected metadata in the<ItemDefinitionGroup/>
at https://github.com/aspnet/Mvc/blob/364b3a7720cb6f925b0eea39ef8e7e8df47af57d/src/Microsoft.Extensions.ApiDescription.Client/build/Microsoft.Extensions.ApiDescription.Client.props#L59-L104Of course, also need to use this task in Microsoft.Extensions.ApiDescription.Client.targets and thereby simplify the
ServiceProjectReferenceGenerator
target.This issue will not remove the need for the GetDocumentInsider to retrieve information from the web site project prior to doing its work. Most metadata the inside man needs e.g. a default
%(Uri)
is not generic enough to be of interest in other document generators.Version of
Microsoft.AspNetCore.Mvc
orMicrosoft.AspNetCore.App
orMicrosoft.AspNetCore.All
See the features/client.code.generation branch branch. That work is intended for the 2.2 Preview 3 milestone.
The text was updated successfully, but these errors were encountered: