Skip to content

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

@JulienCarmona

Description

@JulienCarmona

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

Metadata

Metadata

Labels

Type: FeatureNew feature for Bowie applicationsenhancementWould be good, but non prioritary

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions