This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert outputs to schema-driven-processor based yaml files (#51)
* refine memory cache model as pre-step for generating SDP based yaml * add SDP models * fix comment * write SDP based content files and toc to disk * refine test cases and expected results * using double quotes to make sure some Java key words will be handled as string in docs build when they are uses as "name" or "description" * resolve the {@link} in members summary * sort items in toc.yml * sort every level of toc.yml (#50)
- Loading branch information
1 parent
efc79d0
commit d2cd520
Showing
163 changed files
with
3,884 additions
and
4,469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package com.microsoft.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.microsoft.util.XrefHelper; | ||
|
||
public class Field { | ||
|
||
@JsonIgnore | ||
private final String fieldType; | ||
@JsonProperty("description") | ||
private String fieldDescription; | ||
@JsonProperty("type") | ||
private String fieldXrefString; | ||
private String value; | ||
|
||
public String getFieldDescription() { | ||
return fieldDescription; | ||
} | ||
|
||
public String getFieldXrefString() { | ||
return fieldXrefString; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public Field(String fieldType, String value) { | ||
this.fieldType = fieldType; | ||
this.value = value ; | ||
this.fieldXrefString = XrefHelper.generateXrefString(fieldType, XrefHelper.XrefOption.SHORTNAME); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.