lumeohq / xsd-parser-rs

A xsd/wsdl => rust code generator written in rust
Apache License 2.0
100 stars 39 forks source link

Format issue in generated code with enum #129

Closed smw-wagnerma closed 3 years ago

smw-wagnerma commented 3 years ago

For enum there seems a formatting issue with a CR LF. I get the follwing code for example:

#[derive(PartialEq, Debug, YaSerialize, YaDeserialize)]#[yaserde(prefix = "beadto1", namespace = "beadto1: http://brak.de/bea/application/dto/soap/dto1")]

pub enum FolderTypeSoapDTO {

It seems the CR LF is twice before the pub enum definition and the CR LF behind the derive macro is missing.