Skip to content

Commit 802bdaa

Browse files
committed
Added missing generation options.
1 parent 62387ae commit 802bdaa

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Typewriter/DocAnnotationWriter.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ internal async static Task<string> ApplyAnnotationsToCsdl(string csdl, Options o
9191
// Get DocSet
9292
DocSet docs = GetDocSet(options, new IssueLogger());
9393
// Create CsdlWriterOptions
94-
var csdlWriterOptions = new CsdlWriterOptions() { DocumentationSetPath = options.DocsRoot + "\\api-reference\\v1.0\\" };
94+
var csdlWriterOptions = new CsdlWriterOptions()
95+
{
96+
DocumentationSetPath = options.DocsRoot + "\\api-reference\\v1.0\\",
97+
//Annotations = AnnotationOptions.AllAnnotations,
98+
MergeWithMetadataPath = options.Metadata,
99+
SkipMetadataGeneration = true,
100+
Formats = MetadataFormat.EdmxInput
101+
};
95102

96103
// Create DocAnnotationWriter
97104
DocAnnotationWriter docWriter = new DocAnnotationWriter(docs, csdlWriterOptions, csdl);

0 commit comments

Comments
 (0)