|
@@ -22,3 +22,20 @@ OpenAPI documentation of the modulplaner API
|
|
|
- `Semester`: This term is too limiting compared to `Term`, as it always refers to 6 months. Some schools will use different lengths for their terms.
|
|
- `Semester`: This term is too limiting compared to `Term`, as it always refers to 6 months. Some schools will use different lengths for their terms.
|
|
|
- `Degree`: We should use the term `Course`, as the degree is what you receive when completing a `Course`.
|
|
- `Degree`: We should use the term `Course`, as the degree is what you receive when completing a `Course`.
|
|
|
- `Teacher`: Use `Lecturer` instead, as this is the common term used by universities.
|
|
- `Teacher`: Use `Lecturer` instead, as this is the common term used by universities.
|
|
|
|
|
+
|
|
|
|
|
+### Types used
|
|
|
|
|
+
|
|
|
|
|
+The numeric fields have an additional `format` tag assigned:
|
|
|
|
|
+
|
|
|
|
|
+- `u8`: Unsigned 8 bit (0 - 255)
|
|
|
|
|
+- `u16`: Unsigned 16 bit (0 - 65'535)
|
|
|
|
|
+- `u…`: Unsigned … bit
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+- `i8`: Signed 8 bit (-128 - 127)
|
|
|
|
|
+- `i16`: Signed 16 bit (-32'768 - 32'767)
|
|
|
|
|
+- `i…`: Signed … bit
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+- `f32`: 32 bit floating point number
|
|
|
|
|
+- `f64`: 64 bit floating point number
|