belgif / rest-guide-validator

A validator that checks compliance of OpenAPI documents with the Belgif REST guide
Apache License 2.0
5 stars 0 forks source link

Added own implementation of MediaType and removed spring lib #14

Closed smals-mavh closed 3 weeks ago

smals-mavh commented 3 weeks ago

Functional thing to review:

An exception is thrown when a mediatype has multiple slashes, so "application/this/will/not/work". Are we too strict? Or is this okay?

pvdbosch commented 3 weeks ago

It's okay that media types with multiple slashes are rejected, they're invalid.