Closed bgoesswe closed 5 years ago
Well, an EPSG code is a number and it is inherited from STAC so we can't change it. It would produce invalid responses. Also, I don't think it is correct to change the API due to a tool that is not well implemented. kin would need a DefineNumberFormat or at least let users define custom formats that are ignored. I'd suggest opening an issue with them.
Ok I created an issue and added the exception for now.
@m-mohr: I tested the DefineStringFormat function with the newest kin-openapi3 version and it works fine now, but in the coreAPI there is still one format type "epsg-code" that causes issues. I can not redefine it, because it is not of type "string", but "number". There is currently no possibility to define non-string formats in kin-openapi3. Should we change the type in the API to string? We can also keep it and I create an exception for it.