Skip to content

Commit

Permalink
refactor(openapi : remove territoire)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice B committed Jan 14, 2025
1 parent 91a56b6 commit f8ab66e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/resources/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,17 +296,6 @@ components:
défaut:
$ref: '#/components/examples/Commune'
schemas:
Territoire:
oneOf:
- $ref: '#/components/schemas/Commune'
- $ref: '#/components/schemas/Departement'
discriminator:
propertyName: territoireType
required:
- territoireType
properties:
territoireType:
$ref: '#/components/schemas/TypeEnum'
CodeCom:
pattern: '[0-9][0-9AB][0-9]{3}'
type: 'string'
Expand Down

0 comments on commit f8ab66e

Please sign in to comment.