Azure / Azure/api-center

Syntax highlighting and JSON beautifying while viewing OpenAPI doc

Open
#25 3 comments 1 reaction 1 assignee Claimed by @justinyoo View on GitHub
Solution provided
Dominant language
PowerShell
Stars
45
Forks
21
Avg merge
21m
Merged PRs (30d)
1

Description

# What are you trying to achieve?

After I imported two OpenAPI docs, one in the JSON format and the other in the YAML format, I was expecting to see them in syntax-highlighted view, but it's not.

![image](https://github.com/Azure/api-center-preview/assets/1538528/34e8fdb2-43a9-417e-87be-28d968737b5c)

Even further, the JSON formatted OpenAPI document is now showing its minified format.

![image](https://github.com/Azure/api-center-preview/assets/1538528/dd8e4e58-bcbf-4186-a6ac-267a02dce946)

As a result, both are barely readable.

# Proposed solution

- Add syntax highlighting feature
- Add JSON beautifier feature

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.