luckymarmot / API-Flow

Universal data structure and converter for API formats (Swagger, RAML, Paw, Postman…)
MIT License
193 stars 24 forks source link

Serializers - Paw - Raise a warning when some requests are ignored #87

Open JonathanMontane opened 7 years ago

JonathanMontane commented 7 years ago

Swagger and RAML require requests to have unique paths/method product.

If a user has multiple requests that share the same path and method, the export is not fully compatible with Swagger and RAML, and it would be a good idea to raise a warning or something.

mittsh commented 7 years ago

So a console.error() for now? Maybe that can be added to a warning mechanism in Paw? ("File has been imported but there are some issues: …")