Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3930

apex-editor model download uses wrong content-type

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Lowest Lowest
    • Jakarta Release
    • None
    • gui
    • None

      The model download feature in Apex Editor downloads as YAML, but the content-type is incorrectly set to JSON.

      This can cause some tools to complain when testing APIs, e.g.

      SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 2 column 29 of the JSON data

            danielhanrahan Daniel Hanrahan
            danielhanrahan Daniel Hanrahan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: