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:
fpusch
2019-03-29 11:09:42 -05:00
committed by Steve Chávez
parent 9387e70b66
commit cefbe8f07f
5 changed files with 179 additions and 6 deletions
+13
View File
@@ -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
);