Skip to content

Commit

Permalink
modgen v1.42.4, tmdgen v1.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
gideruette committed Dec 15, 2023
1 parent 4a23494 commit ddee9f1
Show file tree
Hide file tree
Showing 18 changed files with 64 additions and 61 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TopModel.Generator (`modgen`)

## 1.42.4

- [`5b6e6a`](https://github.com/klee-contrib/topmodel/commit/5b6e6a7e5d24aeb4cc4d7a1c8a82aeb72cc173ae) - [JPA] Prise en compte du property casing dans les getters

## 1.42.3

- [`44eb93`](https://github.com/klee-contrib/topmodel/commit/27da8fd072cd4534e43fcee758d737b8e5128bf0) - [SQL] Ne pas générer de script d'insert pour le classes non persistées
Expand Down
1 change: 0 additions & 1 deletion TopModel.Generator.Jpa/ClientApiMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/// </summary>
public static class ClientApiMode
{

/// <summary>
/// Génération d'un client en mode RestClient (interface Exchange).
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion TopModel.Generator/TopModel.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackAsTool>true</PackAsTool>
<PackageOutputPath>../.nupkg</PackageOutputPath>
<ToolCommandName>modgen</ToolCommandName>
<Version>1.42.3</Version>
<Version>1.42.4</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Authors>JabX;gideruette</Authors>
<Description>Générateur de modèle TopModel.</Description>
Expand Down
2 changes: 1 addition & 1 deletion TopModel.ModelGenerator/TopModel.ModelGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackAsTool>true</PackAsTool>
<PackageOutputPath>../.nupkg</PackageOutputPath>
<ToolCommandName>tmdgen</ToolCommandName>
<Version>1.6.7</Version>
<Version>1.6.8</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Authors>JabX;gideruette</Authors>
<Description>Générateur de modèle TopModel à partir de sources externes (OpenAPI, Postgresql, Oracle...).</Description>
Expand Down
56 changes: 28 additions & 28 deletions samples/generators/open-api/Petstore/Model.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ class:
- name: code
domain: DO_ENTIER
required: true
comment: Non documenté
comment: "Non documenté"

- name: type
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: message
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"
---
class:
name: Category
Expand All @@ -35,12 +35,12 @@ class:
- name: id
domain: DO_ID
required: true
comment: Non documenté
comment: "Non documenté"

- name: name
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"
---
class:
name: FindPetsByStatusStatus
Expand All @@ -50,7 +50,7 @@ class:
- name: Value
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

values:
Value0: {Value: "available"}
Expand All @@ -65,22 +65,22 @@ class:
- name: id
domain: DO_ID
required: true
comment: Non documenté
comment: "Non documenté"

- name: petId
domain: DO_ID
required: true
comment: Non documenté
comment: "Non documenté"

- name: quantity
domain: DO_ENTIER
required: true
comment: Non documenté
comment: "Non documenté"

- name: shipDate
domain: DO_DATE_TIME
required: true
comment: Non documenté
comment: "Non documenté"

- alias:
class: OrderStatus
Expand All @@ -91,7 +91,7 @@ class:
- name: complete
domain: DO_BOOLEAN
required: true
comment: Non documenté
comment: "Non documenté"
---
class:
name: OrderStatus
Expand All @@ -101,7 +101,7 @@ class:
- name: Value
domain: DO_LIBELLE
required: true
comment: Order Status
comment: "Order Status"

values:
Value0: {Value: "placed"}
Expand All @@ -116,26 +116,26 @@ class:
- name: id
domain: DO_ID
required: true
comment: Non documenté
comment: "Non documenté"

- name: name
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- composition: Category
name: category
comment: Non documenté
comment: "Non documenté"

- name: photoUrls
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- composition: Tag
name: tags
domain: DO_LIST
comment: Non documenté
comment: "Non documenté"

- alias:
class: PetStatus
Expand All @@ -151,7 +151,7 @@ class:
- name: Value
domain: DO_LIBELLE
required: true
comment: pet status in the store
comment: "pet status in the store"

values:
Value0: {Value: "available"}
Expand All @@ -166,12 +166,12 @@ class:
- name: id
domain: DO_ID
required: true
comment: Non documenté
comment: "Non documenté"

- name: name
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"
---
class:
name: User
Expand All @@ -181,39 +181,39 @@ class:
- name: id
domain: DO_ID
required: true
comment: Non documenté
comment: "Non documenté"

- name: username
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: firstName
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: lastName
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: email
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: password
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: phone
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"

- name: userStatus
domain: DO_ENTIER
required: true
comment: User Status
comment: "User Status"
18 changes: 9 additions & 9 deletions samples/generators/open-api/Petstore/Pet.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ endpoint:
params:
- composition: Pet
name: body
comment: Non documenté
comment: "Non documenté"
returns:
composition: Pet
name: Result
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: deletePet
Expand Down Expand Up @@ -51,7 +51,7 @@ endpoint:
composition: Pet
name: Result
domain: DO_LIST
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: findPetsByTags
Expand All @@ -67,7 +67,7 @@ endpoint:
composition: Pet
name: Result
domain: DO_LIST
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: getPetById
Expand All @@ -82,7 +82,7 @@ endpoint:
returns:
composition: Pet
name: Result
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: updatePet
Expand All @@ -93,11 +93,11 @@ endpoint:
params:
- composition: Pet
name: body
comment: Non documenté
comment: "Non documenté"
returns:
composition: Pet
name: Result
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: updatePetWithForm
Expand Down Expand Up @@ -128,7 +128,7 @@ endpoint:
- name: body
domain: DO_FILE
required: true
comment: Non documenté
comment: "Non documenté"

- name: petId
domain: DO_ID
Expand All @@ -140,4 +140,4 @@ endpoint:
returns:
composition: ApiResponse
name: Result
comment: Non documenté
comment: "Non documenté"
8 changes: 4 additions & 4 deletions samples/generators/open-api/Petstore/Store.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endpoint:
name: Result
domain: DO_ENTIER_MAP
required: true
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: getOrderById
Expand All @@ -45,7 +45,7 @@ endpoint:
returns:
composition: Order
name: Result
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: placeOrder
Expand All @@ -56,8 +56,8 @@ endpoint:
params:
- composition: Order
name: body
comment: Non documenté
comment: "Non documenté"
returns:
composition: Order
name: Result
comment: Non documenté
comment: "Non documenté"
12 changes: 6 additions & 6 deletions samples/generators/open-api/Petstore/User.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endpoint:
params:
- composition: User
name: body
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: createUsersWithListInput
Expand All @@ -30,11 +30,11 @@ endpoint:
- composition: User
name: body
domain: DO_LIST
comment: Non documenté
comment: "Non documenté"
returns:
composition: User
name: Result
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: deleteUser
Expand All @@ -60,7 +60,7 @@ endpoint:
returns:
composition: User
name: Result
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: loginUser
Expand All @@ -80,7 +80,7 @@ endpoint:
name: Result
domain: DO_LIBELLE
required: true
comment: Non documenté
comment: "Non documenté"
---
endpoint:
name: logoutUser
Expand All @@ -98,7 +98,7 @@ endpoint:
params:
- composition: User
name: body
comment: Non documenté
comment: "Non documenté"

- name: username
domain: DO_LIBELLE
Expand Down
2 changes: 1 addition & 1 deletion samples/generators/open-api/tmdgen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.6.7
version: 1.6.8
generatedFiles:
- ./Petstore/Model.tmd
- ./Petstore/Pet.tmd
Expand Down
2 changes: 1 addition & 1 deletion samples/model/angular.topmodel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT !
#

version: 1.42.3
version: 1.42.4
generatedFiles:
- ../generators/angular/src/appgenerated/api/securite/profil/profil.ts
- ../generators/angular/src/appgenerated/api/securite/utilisateur/utilisateur.ts
Expand Down
Loading

0 comments on commit ddee9f1

Please sign in to comment.