Skip to content

Commit

Permalink
fix: use JSON SCHEMA to convert YAML to JSON
Browse files Browse the repository at this point in the history
https://gravitee.atlassian.net/browse/APIM-3536
gravitee-io/issues#9414
(cherry picked from commit 332e557)
(cherry picked from commit b688e22)
  • Loading branch information
gaetanmaisse authored and mergify[bot] committed Dec 6, 2023
1 parent 8c9ede5 commit bed0522
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -21,7 +21,7 @@ import { SwaggerUIBundle } from 'swagger-ui-dist';

import UserService from '../../../services/user.service';

const yamlSchema = jsyaml.Schema.create(jsyaml.FAILSAFE_SCHEMA, []);
const yamlSchema = jsyaml.Schema.create(jsyaml.JSON_SCHEMA, []);

const DisableTryItOutPlugin = function () {
return {
Expand Down

0 comments on commit bed0522

Please sign in to comment.