eclipse / microprofile-open-api

Microprofile open api
Apache License 2.0
132 stars 82 forks source link

A configuration example in microprofile-openapi-spec.asciidoc is missing a comma which causes schema parse error #568

Closed andrius-kurtinaitis closed 8 months ago

andrius-kurtinaitis commented 1 year ago

This config from the doc is missing a comma after "EpochMillis"

mp.openapi.schema.java.util.Date = { \
  "name": "EpochMillis" \
  "type": "number", \
  "format": "int64", \
  "description": "Milliseconds since January 1, 1970, 00:00:00 GMT" \
}

This causes

SROAP04003: Configured schema for java.util.Date could not be parsed
MikeEdgar commented 1 year ago

Thanks for spotting this @andrius-kurtinaitis . Do you have any interest in submitting a PR with the correction?