eclipse/microprofile-open-api

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

Closed this issue · 1 comments

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

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