ColumnConfig DataTypeEnum #2
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PRM_Software_AG/api-documentation#2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
DataTypeEnum wirklich mit beginnenden Großbuchstaben?
Vielleicht besser
Data Types Spec
Primitive data types in the OAS are based on the types supported by the JSON Schema Specification Wright Draft 00.
Note that
integeras a type is also supported and is defined as a JSON number without a fraction or exponent part.nullis not supported as a type (seenullablefor an alternative solution).Models are defined using the Schema Object, which is an extended subset of JSON Schema Specification Wright Draft 00.
Primitives have an optional modifier property:
format.OAS uses several known formats to define in fine detail the data type being used.
However, to support documentation needs, the
formatproperty is an openstring-valued property, and can have any value.Formats such as
"email","uuid", and so on, MAY be used even though undefined by this specification.Types that are not accompanied by a
formatproperty follow the type definition in the JSON Schema. Tools that do not recognize a specificformatMAY default back to thetypealone, as if theformatis not specified.The formats defined by the OAS are:
typeformatintegerint32integerint64numberfloatnumberdoublestringstringbytestringbinarybooleanstringdatefull-date- RFC3339stringdate-timedate-time- RFC3339stringpasswordTypischerweise stehen die types ja in Kleinbuchstaben da. Die enum-Werte sind 1:1 genau so, wie Sie auch im Progress und ggf. auch in der Datenbank zu finden sind. Dadurch sparen wir uns irgendwelche Casing-Übersetzungsprogramme in den API-Klassen und können die Werte direkt rausgeben/weiterverarbeiten.
Diese Werte aus der Columnconfig hier... klar. Ist kein direktes Datenbankfeld, aber ein Bestandteil des Shemas itself. Ich werde darauf achten, dass das in die CommonNames übersetzt wird.
Persönliche Meinung: Ich finde die CommonNames super verwirrend und schrecklich, dass sich sowas als common durchsetzt. Allein der Punkt "dateTime" entspricht "date-time". WTF?! Keine konsequente Benutzung eines Casingstiles.