Skip to content

Commit c1b7156

Browse files
fix : JOBS-8708-glossary-part-of-speech-values-doc-improvement (#127)
1 parent 33a01ab commit c1b7156

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

smartling-glossary-api/src/main/java/com/smartling/api/glossary/v3/pto/entry/command/GlossaryEntryCommandPTO.java

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ public class GlossaryEntryCommandPTO {
2222
private String definition;
2323
/**
2424
* Glossary entry part of speech.
25-
* One of :
26-
* - Noun,
27-
* - Verb,
28-
* - Adjective,
29-
* - Adverb,
30-
* - Pronoun,
31-
* - Preposition,
32-
* - Interjection,
33-
* - Conjunction,
34-
* - Proper Noun.
25+
* Supported values (case-insensitive):
26+
* - NOUN / Noun
27+
* - VERB / Verb
28+
* - ADJECTIVE / Adjective
29+
* - ADVERB / Adverb
30+
* - PRONOUN / Pronoun
31+
* - PREPOSITION / Preposition
32+
* - INTERJECTION / Interjection
33+
* - CONJUNCTION / Conjunction
34+
* - PROPER_NOUN / "Proper Noun"
35+
* <p>
36+
* The field accepts both uppercase enum constants and human-readable formats.
37+
* Invalid values will result in deserialization errors with appropriate error handling.
3538
*/
3639
private String partOfSpeech;
3740
/**

0 commit comments

Comments
 (0)