Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Exception For xforms generation when Mode is missing in parameters #1161

Open
JulienCarmona opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
enhancement Would be good, but non prioritary

Comments

@JulienCarmona
Copy link
Contributor

Feature Description

Add an exception that inform the user that his parameters.xml is missing <mode>

Use Case

When user use this endpoint https://api-generation-questionnaires.insee.fr/swagger-ui/index.html#/Generation%20of%20questionnaire%20(custom%20parameters)/generateXformsCustomParams
If there is no <mode> inside parameters.xml file, throw an exception

Proposed Solution

Return error code should be 400 BAD REQUEST

@JulienCarmona JulienCarmona added the enhancement Would be good, but non prioritary label Nov 21, 2024
@nsenave
Copy link
Contributor

nsenave commented Dec 6, 2024

J'allais estimer à 2 points mais on a eu des surprises l'autre fois, mais normalement tout est mis en place pour que ça soit facile à faire

=> partons sur 3 points

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Would be good, but non prioritary
Projects
None yet
Development

No branches or pull requests

3 participants