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
  • Loading branch information
gaetanmaisse committed Dec 6, 2023
1 parent 5d3cf3f commit 06df929
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 06df929

Please sign in to comment.