Skip to content

Commit

Permalink
tmdgen v1.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gideruette committed Dec 13, 2023
1 parent 4112d75 commit f347ef6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
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.5</Version>
<Version>1.6.6</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
28 changes: 14 additions & 14 deletions samples/generators/open-api/Petstore/Model.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ class:
comment: enum pour les valeurs de status
preservePropertyCasing: true
properties:
- name: value
- name: Value
domain: DO_LIBELLE
required: true
comment: Non documenté

values:
Value0: {value: "available"}
Value1: {value: "pending"}
Value2: {value: "sold"}
Value0: {Value: "available"}
Value1: {Value: "pending"}
Value2: {Value: "sold"}
---
class:
name: Order
Expand Down Expand Up @@ -84,7 +84,7 @@ class:

- alias:
class: OrderStatus
property: Status
property: Value
name: Status
comment: Order Status

Expand All @@ -98,15 +98,15 @@ class:
comment: enum pour les valeurs de Status
preservePropertyCasing: true
properties:
- name: Status
- name: Value
domain: DO_LIBELLE
required: true
comment: Order Status

values:
Value0: {Status: "placed"}
Value1: {Status: "approved"}
Value2: {Status: "delivered"}
Value0: {Value: "placed"}
Value1: {Value: "approved"}
Value2: {Value: "delivered"}
---
class:
name: Pet
Expand Down Expand Up @@ -139,7 +139,7 @@ class:

- alias:
class: PetStatus
property: Status
property: Value
name: Status
comment: pet status in the store
---
Expand All @@ -148,15 +148,15 @@ class:
comment: enum pour les valeurs de Status
preservePropertyCasing: true
properties:
- name: Status
- name: Value
domain: DO_LIBELLE
required: true
comment: pet status in the store

values:
Value0: {Status: "available"}
Value1: {Status: "pending"}
Value2: {Status: "sold"}
Value0: {Value: "available"}
Value1: {Value: "pending"}
Value2: {Value: "sold"}
---
class:
name: Tag
Expand Down
2 changes: 1 addition & 1 deletion samples/generators/open-api/Petstore/Pet.tmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ endpoint:
params:
- alias:
class: FindPetsByStatusStatus
property: value
property: Value
name: Status
comment: Status values that need to be considered for filter
returns:
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.5
version: 1.6.6
generatedFiles:
- ./Petstore/Model.tmd
- ./Petstore/Pet.tmd
Expand Down

0 comments on commit f347ef6

Please sign in to comment.