This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: request body raw/json mode editor (#1050)
* chore(deps): upgrading oas to v6 * chore(deps): upgrading @readme/ui * chore(deps): upgrading oas to 6.1.0 * refactor: using oas mimetype tooling for contenttype matching * chore: rebuilding some lock files * feat: first pass at the json editor * chore(deps): upgrading @readme/syntax-highlighter * style(json tab): style the thing * chore(deps): upgrading @readme/syntax-highlighter * style(json): try it popover styles * refactor(json tab): better css var names * fix(json tab): fix false in classname * style(json tab): i was 1px off * fix: removing an unused component import * chore: removing some debug * test: fixing broken tests * test: fixing some react proptype messes to eliminate test warnings * style: fixing eslint issuese * refactor: updating some operation schema instances to use operation getters * fix: catching and tossing promise errors. fixes errors in tests * chore: removing unnecessary changes i made * test: adding some unit tests for the Doc component * fix: reworking the json codeeditor so invalid json can always be reset * test: more test coverage * chore(deps): upgrading oas to 6.1.0 * chore: reverting some unnecessary changes * fix: using the new getOperationId accessor * fix: using the new getResponseByStatusCode accessor * fix: typo that was breaking every test * feat: using a new oas accessor * test: slightly reducing jest coverage requirements * fix: rearchitecting how we're storing raw json to fix codeeditor issues * fix(try it): fix try it button turning red when not invalid, but disabled * fix(try it): only show popover on hover * feat: saving two dirty states for each form tab Co-authored-by: Tony Li <runnabro@users.noreply.github.com>
- Loading branch information