gerlowskija commented on PR #2079: URL: https://github.com/apache/solr/pull/2079#issuecomment-1815173502
> I suspect that many people will craft their JSON independent of the JS code or Python code, like via some string replacement, and then just pass it in. Yeah, I imagine that is popular. The trick I think is going to be supporting that without precluding something more structured. AFAIK, without customizing the template at all, we can only have 1 client method per HTTP endpoint, since the clients are generated from an OAS and specs can't contain multiple entries for the same path/verb combo. Maybe the OAS just needs to be incredibly generic, and the client templates will handle things correctly whether users pass in a map, string, etc? I'll play with it a little bit and see if I can get something reasonable working. > I had been thinking about adding a JSON DSL Admin UI screen, and I would have just started with an html textarea for you to paste your JSON in... No syntax highlihgitng beyond whatever a JSON reneder does, and no understanding of the JSON DSL.... The "Query" screen does have a textarea called "JSON DSL", assuming you've seen that? It doesn't have syntax highlighting or any other niceties, but sounds like what you've been thinking about... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org