7a7ca29081
[FIX] update of the @ManyToMany values
2025-04-13 15:49:58 +02:00
464f844eed
[FEAT,API] review the manyToMany link table name to support better automatic models
...
- change link table name
- nupport reverse add link, support table name with max size of 64 with hash reduce
2025-04-11 01:42:11 +02:00
401bd8318a
[FEAT] add capability to select the frmat of thumbnail generate
2025-04-09 12:52:19 +02:00
05a51ad87a
[FEAT] move in the correct domain org.kar -> org.atriasoft
2025-04-08 21:09:38 +02:00
37629b4cb2
[FIX] doc generation
2025-04-08 20:41:00 +02:00
69f69a8113
[FIX] Double and double inclution generate a double inclusion in Typescript generation
2025-04-08 10:27:30 +02:00
b12108ec00
[FIX] test on DateTime is ended and solution in 90% operational
2025-04-07 23:08:23 +02:00
ecc8829e8c
[FEAT] develop a new RESTApi interface to be easiest and flexible
2025-04-06 23:26:46 +02:00
e7e8c48c5c
[FEAT] add OffsetDateTime in the BDD interface with UTC force
2025-04-06 23:26:19 +02:00
c09c29bf8d
[FEAT] add jakarta some methode to parse the date more flexible
2025-04-06 23:25:48 +02:00
f044473a67
[FEAT] Jackson update date serializer to be more permissive
2025-04-06 23:24:12 +02:00
9ebd37788d
[FIX] ready to deploy on maven central
2025-04-03 10:29:56 +02:00
8dde49adff
[FIX] ApiNotNull inplementation
2025-04-03 10:25:33 +02:00
c627484b49
[FIX] annotation in the common model
2025-04-02 21:42:17 +02:00
44df939873
[FEAT] add ApiNotNull to overwrite all fields possibility
2025-04-02 21:34:27 +02:00
b283f8545c
[FEAT] add readable optionnal for field
2025-04-02 21:33:52 +02:00
41aa78667f
[FIX] some basic types generation constraint
2025-04-01 22:18:58 +02:00
f7ba570913
[FIX] foreinKeyValidator
2025-04-01 22:18:50 +02:00
abff1ada45
[FIX] (RestApi tool) null object are serialize as null (like browser)
2025-03-30 23:24:17 +02:00
1c769827cf
[FIX] (RestApi tool) multipart file is not merged with nest parameter
2025-03-30 23:23:51 +02:00
e09de7cc7a
[FEAT] remove dataJson plugin that never exist in NoSQL
2025-03-30 17:00:19 +02:00
a5b9b60294
[FEAT] rename parameter to be clear
2025-03-30 16:59:34 +02:00
288e1f8293
[FEAT] add capabilituy of rest API to manage multipart
2025-03-30 16:58:34 +02:00
d9a5f1ece2
[FEAT] configure deleted element to be missing or false in morphia
2025-03-29 20:23:42 +01:00
85754f20f8
[FIX] configuration of mongo interface
2025-03-29 20:22:44 +01:00
969bf78576
[FEAT] configure back compatibility with mongo
2025-03-29 20:21:07 +01:00
7208db5bdf
[FEAT] normalize Mongo and SQL
2025-03-29 20:19:55 +01:00
5b88401d48
[FIX] name of the primary key of the cover is not managed
2025-03-28 21:13:15 +01:00
d53a0719b5
[FEAT] fix 400 error in input error
2025-03-21 08:57:24 +01:00
1007628713
[FEAT] update test
2025-03-19 23:34:24 +01:00
84a968a426
[Fix] correct @OneToMany on ObjectId
2025-03-19 19:15:24 +01:00
e824feb8a2
[FIX] fix json serialize null in error (remove)
2025-03-18 15:27:42 +01:00
26ea70f80c
[FIX] correct some generic code generation
2025-03-18 15:27:39 +01:00
1281415c48
[DEV] integrate hybernate validator
2025-03-16 11:24:16 +01:00
1673f1680b
[FEAT] add a spotbug nullable
2025-03-15 08:06:59 +01:00
04a82250d8
[FEAT] add capability to catch ConstraintViolationException
2025-03-15 08:06:50 +01:00
0326bde209
[FEAT] understable template typing
2025-03-10 07:27:51 +01:00
c1ccaf20ec
[FEAT] rework the generation of code for typescript ( #27 )
...
This PR is not compatible with previous code...
Rename some Annotation to have a better experience
Update the generation of the Typescript object
===================================
By default the generation of object are only the object requested
if you annotate the object with: `@ApiGenerationMode(create = true,
update = true)`
the generation will add 2 object in typescript:
- `MyClassUpdate` that contain the object specific for `PUT` request
- `MyClassCreate` that contain the object specific for `POST` request
- the PATCH request are generate with `Partial<MyClassUpdate>`
If you do not generate the create or update the system will wrap the
bass by default: `MyClass`
Add support of hidding the element in the generated object
=============================================
When generate the object some field are not needed to transmit to the
client, then we add `@ApiAccessLimitation(creatable = false, updatable =
false)` that permit to remove the field when Update or Create object are
generated
It will be used to check the Input validity instead of
`@schema(readonly)` (error of implementation)
TODO:
=====
- Some issue when request Update generation and parent does not exist
- The checker is not updated with the use of the `@ApiAccessLimitation`
decorator.
dependencies:
===========
- Closes: https://github.com/kangaroo-and-rabbit/archidata/issues/22
2025-03-08 14:32:16 +01:00
2174d7689f
[FEAT] add callback to detect and collect errors
2025-03-05 23:48:15 +01:00
15113807b3
[DOC] add some documentation
2025-03-05 23:45:08 +01:00
be8a5c713a
[FIX] ObjectId manyToOne and OneToMany
2025-02-17 00:16:11 +01:00
5f89ff7944
[DEV] add variable to permit not check if the DB exist
2025-02-09 22:05:35 +01:00
0c932d4e92
[FEAT] set the object enpty as identical as their parent.
...
this prevent react-hook-form resolver erreur, it does not support empty object
2025-02-04 21:15:10 +01:00
a400bb99b8
[FEAT] add Jwt token description to be serialize in front
2025-02-02 19:34:23 +01:00
d36c366ab6
[FIX] zod number gte/lte
2025-01-30 21:25:15 +01:00
015c38ff5b
[FEAT] add @CheckForeignKey but not tested
2025-01-29 23:30:01 +01:00
24590b2a1e
[FIX] correct min and mas size of string
2025-01-29 23:10:53 +01:00
c04660c01a
[FEAT] simplify annotation tool
2025-01-29 23:09:49 +01:00
3e81673d38
[FIX] normalize comment when check size
2025-01-29 22:43:22 +01:00
69880df4aa
[FIX] missing string size checker
2025-01-29 22:41:08 +01:00