Add numeric and character types to OpenAPI spec (#1259)
* Add numeric and character types * Remove decimal type mapping It is treated as numeric by PostgreSQL so the mapping was redundant.
This commit is contained in:
Vendored
+13
@@ -1647,3 +1647,16 @@ create table test.pgrst_reserved_chars (
|
||||
"a.dotted.column" text,
|
||||
" col w space " text
|
||||
);
|
||||
|
||||
CREATE TABLE test.openapi_types(
|
||||
"a_character_varying" character varying,
|
||||
"a_character" character(1),
|
||||
"a_text" text,
|
||||
"a_boolean" boolean,
|
||||
"a_smallint" smallint,
|
||||
"a_integer" integer,
|
||||
"a_bigint" bigint,
|
||||
"a_numeric" numeric,
|
||||
"a_real" real,
|
||||
"a_double_precision" double precision
|
||||
);
|
||||
Reference in New Issue
Block a user