Closed springwiz closed 4 years ago
Huh, yeah, all the query params should follow the GET
, not the path. It's odd that they're split.
Root cause is: method=flickr%2Ephotos%2Esearch:
@springwiz how do you use method=flickr%2Ephotos%2Esearch
? Does it impact your process if remove method=flickr%2Ephotos%2Esearch
as a quick fixing?
@ericzhang6222 I can't remove that, I don't own that swagger. The downstream system would need that.
@ericzhang6222 I can't remove that, I don't own that swagger. The downstream system would need that.
@springwiz @orlade-anz , then it has to change Sysl grammar parser to fix this issue.
It is #658 related.
Please do not post any internal, closed source snippets on this public issue tracker!
Description
Sysl can't parse the sysl file generated by the Swagger importer. The following fragment seems to be the problem. The fragment is generated by the swagger importer.
Steps to Reproduce
Expected behavior: flickr.sysl.json created.
Actual behavior: Syntax error. line 15:9 mismatched input '?' expecting {COLON, SQ_OPEN} line 15:16 mismatched input '=' expecting COLON line 16:8 mismatched input 'GET ' expecting {'!wrap', '!table', '!type', '!alias', '!enum', '!union', '!view', WHATEVER, MIXIN, '<->', '.. <- ', FORWARD_SLASH, '@', SYSL_COMMENT, TEXT_LINE, Name, E_Name} line 16:20 mismatched input '=' expecting COLON line 16:32 mismatched input '=' expecting COLON line 16:45 mismatched input '=' expecting COLON line 16:61 mismatched input '=' expecting COLON line 16:85 mismatched input '=' expecting COLON line 16:109 mismatched input '=' expecting COLON line 16:132 mismatched input '=' expecting COLON line 16:155 mismatched input '=' expecting COLON line 16:171 mismatched input '=' expecting COLON line 16:184 mismatched input '=' expecting COLON line 16:207 mismatched input '=' expecting COLON line 16:219 mismatched input '=' expecting COLON
Your Environments