Skip to content

Commit

Permalink
Merge pull request #112 from IGNF/redmine_19758
Browse files Browse the repository at this point in the history
parametre is_manufactured pour module ER et maj dependances
  • Loading branch information
MFrangi authored Sep 4, 2024
2 parents 8caaca3 + bbab4b6 commit 55421fe
Show file tree
Hide file tree
Showing 7 changed files with 631 additions and 531 deletions.
1 change: 1 addition & 0 deletions controllers/er/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ var erValidators = [
];

var productValidators = erValidators.concat([
check('is_manufactured').optional().isBoolean(),
check('code_ean').optional().isAlphanumeric(),
check('code_article').optional().isString(),
check('name').optional().isString(),
Expand Down
5 changes: 5 additions & 0 deletions doc/er.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ paths:
description: liste des propriétes à afficher séparées par un ;
type: string
require: false

- name: is_manufactured
in: query
type: boolean
require: false



Expand Down
Loading

0 comments on commit 55421fe

Please sign in to comment.