ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import assert from 'assert';
import { getCompressedContent, IJSONSchema } from '../../common/jsonSchema.js';
import { ensureNoDisposablesAreLeakedInTestSuite } from './utils.js';
suite('JSON Schema', () => {
ensureNoDisposablesAreLeakedInTestSuite();
test('getCompressedContent 1', () => {
const schema: IJSONSchema = {
type: 'object',
properties: {
a: {
type
description
properties
b
type
properties
c
type
properties
d
type
e
type
description
properties
b
type
properties
c
type
properties
d
type
expected IJSONSchema
type
properties
a
type
description
properties
b
$ref
e
type
description
properties
b
$ref
$defs
type
properties
c
type
properties
d
type
assertschema expected
schema IJSONSchema
type
properties
a
type
properties
b
type
properties
c
type
properties
d
type
e
type
properties
b
type
properties
c
type
properties
d
type
expected IJSONSchema
type
properties
a
$ref
e
$ref
$defs
type
properties
b
type
properties
c
type
properties
d
type
assertschema expected
schema IJSONSchema
type
properties
a
type
oneOf
allOf
properties
name
type
description
type
properties
street
type
allOf
properties
name
type
description
type
properties
river
type
allOf
properties
name
type
description
type
properties
mountain
type
b
type
properties
street
properties
street
type
expected IJSONSchema
actual schema
assertactual expected
schema IJSONSchema
type
properties
a
type
properties
b
type
properties
c
type
properties
d
type
e
type
properties
b
type
properties
c
type
properties
d
type
f
type
properties
d
type
expected IJSONSchema
type
properties
a
$ref
e
$ref
f
$ref
$defs
type
properties
b
type
properties
c
$ref
type
properties
d
type
assertschema expected
schema IJSONSchema
type
properties
a
type
items
type
properties
c
type
properties
d
type
e
type
items
type
properties
c
type
properties
d
type
f
type
properties
b
type
properties
c
type
properties
d
type
g
type
properties
b
type
properties
c
type
properties
d
type
expected IJSONSchema
type
properties
a
$ref
e
$ref
f
$ref
g
$ref
$defs
type
items
$ref
type
properties
b
$ref
type
properties
c
type
properties
d
type
assertschema expected