Validate service reference features #10854
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Done
This issue has been fixed
Validation
This issue is used to track validation efforts
Milestone
Client side
Items
@(OpenApiReference)
with just%(Include)
and with metadata below%(ClassName)
%(CodeGenerator)
e.g.NSwagTypeScript
%(Namespace)
%(Options)
default$(OpenApiGenerateCodeOptions)
, extend generator's command line%(OutputPath)
path for this specific file@(OpenApiProjectReference)
with just%(Include)
and with metadata below%(ClassName)
and%(OutputPath)
because compilation will fail if a project provides multiple OpenAPI documents@(ProjectReference)
metadata as long as$(OpenApiGenerateCodeOnBuild)
istrue
(the default)Properties
$(OpenApiGenerateCodeOptions)
extend generator's command line$(OpenApiGenerateCodeOnBuild)
defaulttrue
, set tofalse
to disable feature or tie it in differently$(OpenApiGenerateCodeAtDesignTime)
defaulttrue
, set tofalse
and confirm VS background builds do less work$(OpenApiBuildReferencedProjects)
defaulttrue
, set tofalse
and manually build server projects first$(OpenApiCodeDirectory)
defaultobj/
, set to somewhere else e.g. to check the code generated files inServer side
Items
None
Properties
$(OpenApiGenerateDocumentsOptions)
extend doc generator's command line e.g.--verbose
$(OpenApiGenerateDocuments)
defaulttrue
, set tofalse
to completely disable the feature even the project capability$(OpenApiGenerateDocumentsOnBuild)
defaulttrue
, set tofalse
to disable some of the feature or tie it in differently$(OpenApiDocumentsDirectory)
defaultobj/
, set to somewhere else e.g. to check the doc generated filesThe text was updated successfully, but these errors were encountered: