openapi-processor / openapi-processor-core

moved into openapi-processor-base
Apache License 2.0
7 stars 5 forks source link

Invalid @Generated date field javadoc comments break javadoc generation. #103

Closed MetallFoX closed 1 year ago

MetallFoX commented 1 year ago

Hi @hauner!

Plain '&' character in comment over date field of @Generated annotation breaks javadoc processing.

The output of javadoc run looks like this:

.../api/generated/support/Generated.java:25: error: bad HTML entity
     * The date & time of generation (ISO 8601) or "-" if no date was set.
                ^

Processed javadoc comments should be a valid HTML.

One solution might be to replace '&' character with '&'.