InterNetX / domainrobot-api

Swagger documentation for different APIs powered by InterNetX GmbH.
MIT License
18 stars 9 forks source link

Fixed Swagger 2.0 Validation Errors #16

Closed bbbenjie closed 1 year ago

bbbenjie commented 1 year ago

The latest domainrobot.json Swagger file was declined by Postman, so I took a look and fixed all validation errors I found.

E.g. one regex pattern was invalid; it has to be ECMA 262 compatible:

Before: (?i)\\b(?!default\\b)\\w+
After: /\\b(?!default\\b)\\w+/i

Postman was not able to recognize the Swagger format, since the file was not properly intended (see 2nd commit).

Ephenodrom commented 1 year ago

@bbbenjie Thank your for the PR. Unfortunately we can not accept the PR due to the .json file is automatically generated on our side. I will raise an issue internaly to fix this within the process of generating the file, to be again compatible with postman.