diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/AnchorTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/AnchorTest.java index 8f70895335..f47c1de15e 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/AnchorTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/AnchorTest.java @@ -48,7 +48,7 @@ public void testIssue146() { " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/OperationType'\n" + + " $ref: \"#/components/schemas/OperationType\"\n" + "components:\n" + " schemas:\n" + " OperationType:\n" + diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAI31DeserializationTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAI31DeserializationTest.java index 91c14ec031..3860e76893 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAI31DeserializationTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAI31DeserializationTest.java @@ -608,8 +608,8 @@ public void testSiblingsReferenceJSONSchema5() { " type: object\n" + " PatientPerson:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Person'\n" + - " - $ref: '#/components/schemas/Patient'\n" + + " - $ref: \"#/components/schemas/Person\"\n" + + " - $ref: \"#/components/schemas/Patient\"\n" + " unevaluatedProperties: false\n" + " $ref: ./ex.json#patient-person"; SwaggerParseResult result = new OpenAPIV3Parser().readContents( refSibling , null, options); @@ -883,11 +883,11 @@ public void testNotDefaultSchemaType() { " type: object\n" + " properties:\n" + " any_value:\n" + - " $ref: '#/components/schemas/AnyValue'\n" + + " $ref: \"#/components/schemas/AnyValue\"\n" + " any_value_with_desc:\n" + - " $ref: '#/components/schemas/AnyValueWithDesc'\n" + + " $ref: \"#/components/schemas/AnyValueWithDesc\"\n" + " any_value_nullable:\n" + - " $ref: '#/components/schemas/AnyValueNullable'\n" + + " $ref: \"#/components/schemas/AnyValueNullable\"\n" + " AnyValueModelInline:\n" + " description: test any value inline\n" + " type: object\n" + diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAIDeserializationTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAIDeserializationTest.java index 1ead1a45c5..f736d5d5c6 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAIDeserializationTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OAIDeserializationTest.java @@ -109,10 +109,10 @@ public void testDeserializeYamlDefinitionMissingSchema_Issue1951() throws Except // content: // application/json: // schema: - // $ref: '#/components/schemas/ThingRequest' + // $ref: \"#/components/schemas/ThingRequest\" // responses: // "401": - // $ref: '#/components/responses/ErrorObj' + // $ref: \"#/components/responses/ErrorObj\" // default: // description: Default response is just a string // content: @@ -126,7 +126,7 @@ public void testDeserializeYamlDefinitionMissingSchema_Issue1951() throws Except // content: // application/json: // schema: - // $ref: '#/components/schemas/NotAddedYet' + // $ref: \"#/components/schemas/NotAddedYet\" ParseOptions options = new ParseOptions(); options.setResolve(true); diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIResolverTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIResolverTest.java index 36117dd216..6516c95cc8 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIResolverTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIResolverTest.java @@ -578,7 +578,7 @@ public void testSelfReferenceResolution()throws Exception { " content:\n" + " 'application/json':\n" + " schema:\n" + - " $ref: '#/components/schemas/SchemaB'\n" + + " $ref: \"#/components/schemas/SchemaB\"\n" + "components:\n" + " schemas:\n" + " SchemaA:\n" + @@ -586,11 +586,11 @@ public void testSelfReferenceResolution()throws Exception { " name:\n" + " type: string\n" + " modelB:\n" + - " $ref: '#/components/schemas/SchemaB'\n" + + " $ref: \"#/components/schemas/SchemaB\"\n" + " SchemaB:\n" + " properties:\n" + " modelB:\n" + - " $ref: '#/components/schemas/SchemaB'"; + " $ref: \"#/components/schemas/SchemaB\""; ParseOptions options = new ParseOptions(); options.setResolve(true); @@ -620,7 +620,7 @@ public void testIssue85() { " name: \"body\"\n" + " required: false\n" + " schema: \n" + - " $ref: '#/components/Schemas/StructureA'\n" + + " $ref: \"#/components/Schemas/StructureA\"\n" + "components: \n" + " schemas:\n" + " StructureA: \n" + @@ -631,7 +631,7 @@ public void testIssue85() { " arrayOfOtherType: \n" + " type: array\n" + " items: \n" + - " $ref: '#/definitions/StructureB'\n" + + " $ref: \"#/definitions/StructureB\"\n" + " StructureB: \n" + " type: object\n" + " properties: \n" + @@ -796,7 +796,7 @@ public void selfReferenceTest() { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/ModelA'\n" + + " $ref: \"#/components/schemas/ModelA\"\n" + " responses:\n" + " default:\n" + " description: Default response\n" + @@ -806,7 +806,7 @@ public void selfReferenceTest() { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/ModelB'\n" + + " $ref: \"#/components/schemas/ModelB\"\n" + " responses:\n" + " default:\n" + " description: Default response\n" + @@ -816,7 +816,7 @@ public void selfReferenceTest() { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/ModelC'\n" + + " $ref: \"#/components/schemas/ModelC\"\n" + " responses:\n" + " default:\n" + " description: Default response\n" + @@ -828,7 +828,7 @@ public void selfReferenceTest() { " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/ModelA'\n" + + " $ref: \"#/components/schemas/ModelA\"\n" + " /selfRefE:\n" + " get:\n" + " responses:\n" + @@ -839,7 +839,7 @@ public void selfReferenceTest() { " schema:\n" + " type: array\n" + " items:\n" + - " $ref: '#/components/schemas/ModelA'\n" + + " $ref: \"#/components/schemas/ModelA\"\n" + "info:\n" + " version: ''\n" + " title: ''\n" + @@ -848,15 +848,15 @@ public void selfReferenceTest() { " ModelA:\n" + " properties:\n" + " modelB:\n" + - " $ref: '#/components/schemas/ModelB'\n" + + " $ref: \"#/components/schemas/ModelB\"\n" + " ModelB:\n" + " properties:\n" + " modelB:\n" + - " $ref: '#/components/schemas/ModelB'\n" + + " $ref: \"#/components/schemas/ModelB\"\n" + " ModelC:\n" + " properties:\n" + " modelA:\n" + - " $ref: '#/components/schemas/ModelA'"; + " $ref: \"#/components/schemas/ModelA\""; ParseOptions options = new ParseOptions(); options.setResolve(true); @@ -1315,7 +1315,7 @@ public void testIssue291() { " get:\n" + " description: test get\n" + " parameters:\n" + - " - $ref: '#/components/parameters/testParam'\n" + + " - $ref: \"#/components/parameters/testParam\"\n" + " responses:\n" + " default:\n" + " description: test response\n" + diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.java index 495b5350d7..b3f3a3061e 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV31ParserPathItemTest.java @@ -253,9 +253,9 @@ public void testPathItemBasicRef() throws Exception { " \"200\":\n" + " description: OK\n" + " /internalref:\n" + - " $ref: '#/components/pathItems/InternalRef'\n" + + " $ref: \"#/components/pathItems/InternalRef\"\n" + " /internalreftoexternal:\n" + - " $ref: '#/components/pathItems/InternalRefToExternal'\n" + + " $ref: \"#/components/pathItems/InternalRefToExternal\"\n" + " /internal:\n" + " get:\n" + " description: Internal PathItem\n" + @@ -314,7 +314,7 @@ public void testPathItemExternalInternalNestedRef() throws Exception { " \"200\":\n" + " description: OK\n" + " /internalref:\n" + - " $ref: '#/components/pathItems/InternalRef'\n" + + " $ref: \"#/components/pathItems/InternalRef\"\n" + " /internal:\n" + " get:\n" + " description: Internal PathItem\n" + diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV3ParserTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV3ParserTest.java index 24b3259f00..f67ba3acb0 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV3ParserTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/OpenAPIV3ParserTest.java @@ -325,7 +325,7 @@ public void testIssue1643_True() throws Exception{ " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/Person'\n" + + " $ref: \"#/components/schemas/Person\"\n" + "components:\n" + " schemas:\n" + " Person:\n" + @@ -336,7 +336,7 @@ public void testIssue1643_True() throws Exception{ " name:\n" + " type: string\n" + " employee:\n" + - " $ref: '#/components/schemas/Employee'"; + " $ref: \"#/components/schemas/Employee\""; SwaggerParseResult result = new OpenAPIV3Parser().readContents(issue1643, null, options); Assert.assertNotNull(result); @@ -369,7 +369,7 @@ public void testIssue1643_False() throws Exception{ " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/Person'\n" + + " $ref: \"#/components/schemas/Person\"\n" + "components:\n" + " schemas:\n" + " Person:\n" + @@ -380,7 +380,7 @@ public void testIssue1643_False() throws Exception{ " name:\n" + " type: string\n" + " employee:\n" + - " $ref: '#/components/schemas/Employee'"; + " $ref: \"#/components/schemas/Employee\""; SwaggerParseResult result = new OpenAPIV3Parser().readContents(issue1643, null, options); Assert.assertNotNull(result); @@ -1428,7 +1428,7 @@ public void testRefPaths() throws Exception { " 200:\n" + " description: OK\n" + " /foo2:\n" + - " $ref: '#/paths/~1foo'"; + " $ref: \"#/paths/~1foo\""; OpenAPIV3Parser parser = new OpenAPIV3Parser(); OpenAPI openAPI = (parser.readContents(yaml,null,null)).getOpenAPI(); @@ -1515,14 +1515,14 @@ public void testParseRefPathParameters() throws Exception { "paths:\n" + " /reports/{id}:\n" + " parameters:\n" + - " - $ref: '#/parameters/report-id'\n" + + " - $ref: \"#/parameters/report-id\"\n" + " put:\n" + " parameters:\n" + " - name: id\n" + " in: body\n" + " required: true\n" + " schema:\n" + - " $ref: '#/components/schemas/report'\n" + + " $ref: \"#/components/schemas/report\"\n" + " responses:\n" + " 200:\n" + " description: ok\n" + @@ -1552,7 +1552,7 @@ public void testUniqueParameters() throws Exception { "paths:\n" + " '/foos/{id}':\n" + " parameters:\n" + - " - $ref: '#/components/parameters/foo-id'\n" + + " - $ref: \"#/components/parameters/foo-id\"\n" + " get:\n" + " responses:\n" + " '200':\n" + @@ -1560,7 +1560,7 @@ public void testUniqueParameters() throws Exception { " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/foo'\n" + + " $ref: \"#/components/schemas/foo\"\n" + " put:\n" + " responses:\n" + " '200':\n" + @@ -1568,12 +1568,12 @@ public void testUniqueParameters() throws Exception { " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/foo'\n" + + " $ref: \"#/components/schemas/foo\"\n" + " requestBody:\n" + " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/foo'\n" + + " $ref: \"#/components/schemas/foo\"\n" + " required: true\n" + "components:\n" + " parameters:\n" + @@ -2105,7 +2105,7 @@ public void testCodegenIssue4555() throws Exception { " '200':\n" + " description: OK\n" + " schema: null\n" + - " $ref: '#/components/schemas/Content'\n" + + " $ref: \"#/components/schemas/Content\"\n" + "components:\n" + " schemas:\n" + " Content:\n" + @@ -2141,7 +2141,7 @@ public void testConverterIssue17() throws Exception { " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/Content'\n" + + " $ref: \"#/components/schemas/Content\"\n" + "components:\n" + " schemas:\n" + " Content:\n" + @@ -2174,8 +2174,8 @@ public void testIssue393() { " The account could not be created because a credential didn't meet\n" + " the complexity requirements.\n" + " x-error-refs:\n" + - " - $ref: '#/x-error-defs/credentialTooShort'\n" + - " - $ref: '#/x-error-defs/credentialTooLong'\n" + + " - $ref: \"#/x-error-defs/credentialTooShort\"\n" + + " - $ref: \"#/x-error-defs/credentialTooLong\"\n" + "x-error-defs:\n" + " credentialTooShort:\n" + " errorID: credentialTooShort"; @@ -2270,19 +2270,19 @@ public void testIncompatibleRefs() { " post:\n" + " responses:\n" + " '200':\n" + - " $ref: '#/components/schemas/Schema'\n" + + " $ref: \"#/components/schemas/Schema\"\n" + " '400':\n" + " definitions: this is right\n" + " description: Bad Request\n" + " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/Schema'\n" + + " $ref: \"#/components/schemas/Schema\"\n" + " requestBody:\n" + " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/Schema'\n" + + " $ref: \"#/components/schemas/Schema\"\n" + " required: true\n" + "info:\n" + " version: ''\n" + @@ -2311,7 +2311,7 @@ public void testIssue243() { " content:\n" + " '*/*':\n" + " schema:\n" + - " $ref: '#/components/schemas/Simple'\n" + + " $ref: \"#/components/schemas/Simple\"\n" + "components:\n" + " schemas:\n" + " Simple:\n" + @@ -2373,7 +2373,7 @@ public void testIssue450() { " PetArray:\n" + " type: array\n" + " items:\n" + - " $ref: '#/components/schemas/Pet'\n" + + " $ref: \"#/components/schemas/Pet\"\n" + " description: An array of Pets\n" + " x-my-tag: An extension tag\n" + " Pet:\n" + diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/RelativeReferenceTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/RelativeReferenceTest.java index c9c2206da1..b23becd6e4 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/RelativeReferenceTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/test/RelativeReferenceTest.java @@ -126,7 +126,7 @@ public void testIssue409() { " - emailAddress\n" + " properties:\n" + " id:\n" + - " $ref: '#/components/schemas/ID'\n" + + " $ref: \"#/components/schemas/ID\"\n" + " emailAddress:\n" + " type: string\n" + " format: email\n" + diff --git a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/OpenAPIDeserializerTest.java b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/OpenAPIDeserializerTest.java index e14726ebe2..965b6d4865 100644 --- a/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/OpenAPIDeserializerTest.java +++ b/modules/swagger-parser-v3/src/test/java/io/swagger/v3/parser/util/OpenAPIDeserializerTest.java @@ -84,7 +84,7 @@ public void testIssue1072() throws Exception { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/ComponentA'\n" + + " $ref: \"#/components/schemas/ComponentA\"\n" + "components:\n" + " schemas:\n" + " ComponentA:\n" + @@ -95,17 +95,17 @@ public void testIssue1072() throws Exception { " properties:\n" + " attributeWithoutType:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/ComponentB'\n" + + " - $ref: \"#/components/schemas/ComponentB\"\n" + " default: \"coucou\"\n" + " attributeWithWrongType:\n" + " type: object\n" + " allOf:\n" + - " - $ref: '#/components/schemas/ComponentB'\n" + + " - $ref: \"#/components/schemas/ComponentB\"\n" + " default: \"coucou\"\n" + " correctAttribute:\n" + " type: string\n" + " allOf:\n" + - " - $ref: '#/components/schemas/ComponentB'\n" + + " - $ref: \"#/components/schemas/ComponentB\"\n" + " default: \"coucou\"\n" + " ComponentB:\n" + " description: Component B\n" + @@ -142,7 +142,7 @@ public void testEmptyDefinitions() throws Exception { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/mydefinition'\n" + + " $ref: \"#/components/schemas/mydefinition\"\n" + " required: true\n" + "components:\n" + " schemas:\n" + @@ -184,7 +184,7 @@ public void testIdentifierAndUrlInvalid() throws Exception { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/mydefinition'\n" + + " $ref: \"#/components/schemas/mydefinition\"\n" + " required: true\n" + "components:\n" + " schemas:\n" + @@ -225,7 +225,7 @@ public void testUrlValid() { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/mydefinition'\n" + + " $ref: \"#/components/schemas/mydefinition\"\n" + " required: true\n" + "components:\n" + " schemas:\n" + @@ -265,7 +265,7 @@ public void testIdentifierValid() { " content:\n" + " application/json:\n" + " schema:\n" + - " $ref: '#/components/schemas/mydefinition'\n" + + " $ref: \"#/components/schemas/mydefinition\"\n" + " required: true\n" + "components:\n" + " schemas:\n" + @@ -713,7 +713,7 @@ public void testNestedDefinitions() { " name:\n" + " type: string\n" + " address:\n" + - " $ref: '#/components/schemas/Address'\n" + + " $ref: \"#/components/schemas/Address\"\n" + " Address:\n" + " required:\n" + " - zip\n" + @@ -1047,17 +1047,17 @@ public void testDeserializeEnum() { " type: object\n" + " properties:\n" + " se:\n" + - " $ref: '#/components/schemas/StringEnum'\n" + + " $ref: \"#/components/schemas/StringEnum\"\n" + " ie:\n" + - " $ref: '#/components/schemas/IntegerEnum'\n" + + " $ref: \"#/components/schemas/IntegerEnum\"\n" + " ne:\n" + - " $ref: '#/components/schemas/NumberEnum'\n" + + " $ref: \"#/components/schemas/NumberEnum\"\n" + " be:\n" + - " $ref: '#/components/schemas/BooleanEnum'\n" + + " $ref: \"#/components/schemas/BooleanEnum\"\n" + " ae:\n" + - " $ref: '#/components/schemas/ArrayEnum'\n" + + " $ref: \"#/components/schemas/ArrayEnum\"\n" + " oe:\n" + - " $ref: '#/components/schemas/ObjectEnum'\n" + + " $ref: \"#/components/schemas/ObjectEnum\"\n" + "components:\n" + " schemas:\n" + " StringEnum:\n" + @@ -1217,7 +1217,7 @@ public void testDeserializeDateString() { " type: object\n" + " properties:\n" + " date:\n" + - " $ref: '#/components/schemas/DateString'\n" + + " $ref: \"#/components/schemas/DateString\"\n" + "components:\n" + " schemas:\n" + " DateString:\n" + @@ -1282,7 +1282,7 @@ public void testDeserializeDateTimeString() { " type: object\n" + " properties:\n" + " dateTime:\n" + - " $ref: '#/components/schemas/DateTimeString'\n" + + " $ref: \"#/components/schemas/DateTimeString\"\n" + "components:\n" + " schemas:\n" + " DateTimeString:\n" + @@ -1354,7 +1354,7 @@ public void testDeserializeByteString() { " type: object\n" + " properties:\n" + " bytes:\n" + - " $ref: '#/components/schemas/ByteString'\n" + + " $ref: \"#/components/schemas/ByteString\"\n" + "components:\n" + " schemas:\n" + " ByteString:\n" + @@ -2040,7 +2040,7 @@ public void testIssue151() throws Exception { " Dog:\n" + " type: object\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + " - required:\n" + " - name\n" + " properties:\n" + @@ -2097,8 +2097,8 @@ public void testIssue204_allOf() throws Exception { " Dog:\n" + " type: object\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + - " - $ref: '#/components/schemas/Furry'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + + " - $ref: \"#/components/schemas/Furry\"\n" + " - required:\n" + " - name\n" + " properties:\n" + @@ -2168,8 +2168,8 @@ public void testPR246() throws Exception { " type: string\n" + " Dog:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + - " - $ref: '#/components/schemas/Furry'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + + " - $ref: \"#/components/schemas/Furry\"\n" + " - type: object\n" + " required:\n" + " - name\n" + @@ -2369,7 +2369,7 @@ public void testAllOfSchema(){ " type: string\n" + " Cat:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + " - type: object\n" + " # all other properties specific to a `Cat`\n" + " properties:\n" + @@ -2426,8 +2426,8 @@ public void testOneOfSchema(){ " type: string\n" + " Pet:\n" + " oneOf: \n" + - " - $ref: '#/components/schemas/Cat'\n" + - " - $ref: '#/components/schemas/Dog'\n" + + " - $ref: \"#/components/schemas/Cat\"\n" + + " - $ref: \"#/components/schemas/Dog\"\n" + " - type: object\n" + " # neither a `Cat` nor a `Dog`\n" + " properties:\n" + @@ -2561,20 +2561,20 @@ public void testExamples(){ " content:\n"+ " application/json:\n"+ " schema:\n"+ - " $ref: '#/components/schemas/AnyValue'\n"+ + " $ref: \"#/components/schemas/AnyValue\"\n"+ " examples:\n"+ " AnObject:\n"+ - " $ref: '#/components/examples/AnObject'\n"+ + " $ref: \"#/components/examples/AnObject\"\n"+ " ANull:\n"+ - " $ref: '#/components/examples/ANull'\n"+ + " $ref: \"#/components/examples/ANull\"\n"+ " application/yaml:\n"+ " schema:\n"+ - " $ref: '#/components/schemas/AnyValue'\n"+ + " $ref: \"#/components/schemas/AnyValue\"\n"+ " examples:\n"+ " AString:\n"+ - " $ref: '#/components/examples/AString'\n"+ + " $ref: \"#/components/examples/AString\"\n"+ " AnArray:\n"+ - " $ref: '#/components/examples/AnArray'\n"+ + " $ref: \"#/components/examples/AnArray\"\n"+ " text/plain:\n"+ " schema:\n"+ " type: string\n"+ @@ -3174,7 +3174,7 @@ public void testOptionalParameter() { " cachorro: Dog\n" + " Cat:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + " - type: object\n" + " # all other properties specific to a `Cat`\n" + " properties:\n" + @@ -3182,7 +3182,7 @@ public void testOptionalParameter() { " type: string\n" + " Dog:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + " - type: object\n" + " # all other properties specific to a `Dog`\n" + " properties:\n" + @@ -3190,7 +3190,7 @@ public void testOptionalParameter() { " type: string\n" + " Lizard:\n" + " allOf:\n" + - " - $ref: '#/components/schemas/Pet'\n" + + " - $ref: \"#/components/schemas/Pet\"\n" + " - type: object\n" + " # all other properties specific to a `Lizard`\n" + " properties:\n" + diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/examples/dereferenced.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/examples/dereferenced.yaml index 88b288220f..38d49715d8 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/examples/dereferenced.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/examples/dereferenced.yaml @@ -15,7 +15,7 @@ paths: bar: summary: overwritten summary description: root item bar - $ref: '#/components/examples/userId' + $ref: "#/components/examples/userId" foo: summary: foo summary description: root item foo @@ -26,7 +26,7 @@ paths: description: root item ext value: foo: bar - - $ref: '#/components/parameters/externalRef' + - $ref: "#/components/parameters/externalRef" - name: externalDirectParameter in: query description: this is externalDirectParameter stored in external file @@ -36,10 +36,10 @@ paths: components: parameters: indirection1: - $ref: '#/components/parameters/indirection2' + $ref: "#/components/parameters/indirection2" indirection2: description: indirect description 2 - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" userIdRef: name: userId in: query @@ -70,7 +70,7 @@ components: explode: true externalRefIndirect33: description: external ref 33 overwritten - $ref: '#/components/parameters/externalRefIndirect32' + $ref: "#/components/parameters/externalRefIndirect32" examples: userId: summary: summary components userId diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferenced.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferenced.yaml index dedd2ab76f..51fc34e841 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferenced.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferenced.yaml @@ -21,9 +21,9 @@ paths: "200": description: OK /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internalreftoexternal: - $ref: '#/components/pathItems/InternalRefToExternal' + $ref: "#/components/pathItems/InternalRefToExternal" /internal: get: description: Internal PathItem @@ -48,12 +48,12 @@ components: parameters: userId: description: userId root - $ref: '#/components/parameters/indirection1' + $ref: "#/components/parameters/indirection1" indirection1: - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" indirection2: description: indirection2 root - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" userIdRef: name: userId in: query @@ -70,7 +70,7 @@ components: explode: true externalRefIndirectPointer: description: externalRefIndirectPointer root - $ref: '#/components/parameters/externalRefIndirect3' + $ref: "#/components/parameters/externalRefIndirect3" externalRefIndirect3: name: externalParameter3 in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferencedflatten.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferencedflatten.yaml index dedd2ab76f..51fc34e841 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferencedflatten.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/full/dereferencedflatten.yaml @@ -21,9 +21,9 @@ paths: "200": description: OK /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internalreftoexternal: - $ref: '#/components/pathItems/InternalRefToExternal' + $ref: "#/components/pathItems/InternalRefToExternal" /internal: get: description: Internal PathItem @@ -48,12 +48,12 @@ components: parameters: userId: description: userId root - $ref: '#/components/parameters/indirection1' + $ref: "#/components/parameters/indirection1" indirection1: - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" indirection2: description: indirection2 root - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" userIdRef: name: userId in: query @@ -70,7 +70,7 @@ components: explode: true externalRefIndirectPointer: description: externalRefIndirectPointer root - $ref: '#/components/parameters/externalRefIndirect3' + $ref: "#/components/parameters/externalRefIndirect3" externalRefIndirect3: name: externalParameter3 in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferenced.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferenced.yaml index 79788fe55f..4d096145dc 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferenced.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferenced.yaml @@ -14,9 +14,9 @@ paths: "200": description: OK /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internalreftoexternal: - $ref: '#/components/pathItems/InternalRefToExternal' + $ref: "#/components/pathItems/InternalRefToExternal" /internal: get: description: Internal PathItem @@ -41,12 +41,12 @@ components: parameters: userId: description: userId root - $ref: '#/components/parameters/indirection1' + $ref: "#/components/parameters/indirection1" indirection1: - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" indirection2: description: indirection2 root - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" userIdRef: name: userId in: query @@ -63,7 +63,7 @@ components: explode: true externalRefIndirectPointer: description: externalRefIndirectPointer root - $ref: '#/components/parameters/externalRefIndirect3' + $ref: "#/components/parameters/externalRefIndirect3" externalRefIndirect3: name: externalParameter3 in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferencedflatten.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferencedflatten.yaml index 79788fe55f..4d096145dc 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferencedflatten.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/fullFS/dereferencedflatten.yaml @@ -14,9 +14,9 @@ paths: "200": description: OK /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internalreftoexternal: - $ref: '#/components/pathItems/InternalRefToExternal' + $ref: "#/components/pathItems/InternalRefToExternal" /internal: get: description: Internal PathItem @@ -41,12 +41,12 @@ components: parameters: userId: description: userId root - $ref: '#/components/parameters/indirection1' + $ref: "#/components/parameters/indirection1" indirection1: - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" indirection2: description: indirection2 root - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" userIdRef: name: userId in: query @@ -63,7 +63,7 @@ components: explode: true externalRefIndirectPointer: description: externalRefIndirectPointer root - $ref: '#/components/parameters/externalRefIndirect3' + $ref: "#/components/parameters/externalRefIndirect3" externalRefIndirect3: name: externalParameter3 in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameter/dereferenced.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameter/dereferenced.yaml index 8b4b69347b..ad545386aa 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameter/dereferenced.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameter/dereferenced.yaml @@ -5,13 +5,13 @@ components: parameters: userId: description: userId description - $ref: '#/components/parameters/indirection1' + $ref: "#/components/parameters/indirection1" indirection1: description: indirection1 description - $ref: '#/components/parameters/indirection2' + $ref: "#/components/parameters/indirection2" indirection2: description: indirection2 description - $ref: '#/components/parameters/userIdRef' + $ref: "#/components/parameters/userIdRef" userIdRef: name: userId in: query @@ -21,10 +21,10 @@ components: explode: true userIdExt: description: userId description - $ref: '#/components/parameters/indirection1Ext' + $ref: "#/components/parameters/indirection1Ext" indirection1Ext: description: indirection1 description - $ref: '#/components/parameters/indirection2Ext' + $ref: "#/components/parameters/indirection2Ext" indirection2Ext: name: externalParameter in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameterindirect/dereferenced.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameterindirect/dereferenced.yaml index 46f6b6198f..41aaa1c28e 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameterindirect/dereferenced.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/parameterindirect/dereferenced.yaml @@ -12,7 +12,7 @@ components: explode: true externalRefIndirectPointer: description: externalRefIndirectPointer root - $ref: '#/components/parameters/externalRefIndirect3' + $ref: "#/components/parameters/externalRefIndirect3" externalRefIndirect3: name: externalParameter3 in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/basic/root.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/basic/root.yaml index 70779b1656..4a0cce188a 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/basic/root.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/basic/root.yaml @@ -9,9 +9,9 @@ paths: /relativeref: $ref: './nested/domain.yaml#/components/pathItems/RelativeRef' /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internalreftoexternal: - $ref: '#/components/pathItems/InternalRefToExternal' + $ref: "#/components/pathItems/InternalRefToExternal" /internal: get: description: Internal PathItem diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/components-path-items-external/root.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/components-path-items-external/root.yaml index dd44e45496..ec095dbdb7 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/components-path-items-external/root.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/components-path-items-external/root.yaml @@ -9,7 +9,7 @@ paths: /relativeref: $ref: './nested/domain.yaml#/components/pathItems/RelativeRef' /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internal: get: description: Internal PathItem diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml index f017500926..4a5083db12 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/nested/domain.yaml @@ -5,7 +5,7 @@ info: components: pathItems: ExternalRef: - $ref: '#/components/pathItems/InternalDomainRef' + $ref: "#/components/pathItems/InternalDomainRef" RelativeRef: get: description: RelativeRef PathItem diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/root.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/root.yaml index cddc4141d3..277b05fe87 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/root.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/dereference/pathItem/external-internal-nested/root.yaml @@ -9,7 +9,7 @@ paths: /relativeref: $ref: './nested/domain.yaml#/components/pathItems/RelativeRef' /internalref: - $ref: '#/components/pathItems/InternalRef' + $ref: "#/components/pathItems/InternalRef" /internal: get: description: Internal PathItem diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/petstore-3.1_more.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/petstore-3.1_more.yaml index ad1c467c06..3cba109041 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/petstore-3.1_more.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/petstore-3.1_more.yaml @@ -203,9 +203,9 @@ components: type: string DiscriminatorExtension: oneOf: - - $ref: '#/components/schemas/Cat' - - $ref: '#/components/schemas/Dog' - - $ref: '#/components/schemas/Lizard' + - $ref: "#/components/schemas/Cat" + - $ref: "#/components/schemas/Dog" + - $ref: "#/components/schemas/Lizard" discriminator: propertyName: petType x-extension: test @@ -221,5 +221,5 @@ components: schema: type: array items: - $ref: '#/components/schemas/pet' + $ref: "#/components/schemas/pet" diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/domain.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/domain.yaml index 619290c904..b0591821c8 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/domain.yaml @@ -5,7 +5,7 @@ info: components: schemas: Parse: - $ref: '#/components/schemas/ParseEnum' + $ref: "#/components/schemas/ParseEnum" description: Overwritten description ParseEnum: title: Parse It diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domain.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domain.yaml index 439792c9d4..fffd0b9b5d 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domain.yaml @@ -5,7 +5,7 @@ info: components: schemas: Parse: - $ref: '#/components/schemas/ParseEnum' + $ref: "#/components/schemas/ParseEnum" description: Overwritten description ParseEnum: title: Parse It diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domainref.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domainref.yaml index 7df4c9cdf1..8415be3268 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domainref.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/resolve/nested/domainref.yaml @@ -5,7 +5,7 @@ info: components: schemas: NestedParse: - $ref: '#/components/schemas/NestedParseEnum' + $ref: "#/components/schemas/NestedParseEnum" description: Overwritten description NestedParseEnum: title: Parse It diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/securitySchemes31.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/securitySchemes31.yaml index 49a5432b69..4acc1f2d1f 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/securitySchemes31.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/securitySchemes31.yaml @@ -18,7 +18,7 @@ paths: security: - api_key: [] requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" put: tags: - pet @@ -37,7 +37,7 @@ paths: - 'write:pets' - 'read:pets' requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" /petType: post: tags: @@ -51,17 +51,17 @@ paths: security: - mutual_TLS: [ ] requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" components: requestBodies: Pet: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" description: Pet object that needs to be added to the store required: true securitySchemes: diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/siblings31.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/siblings31.yaml index be867e2b10..d6fa1e8094 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/siblings31.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/siblings31.yaml @@ -34,7 +34,7 @@ paths: description: header sibling description links: userRepository: - $ref: '#/components/links/userRepository' + $ref: "#/components/links/userRepository" description: link sibling description requestBody: $ref: "#/components/requestBodies/Pets" diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS30.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS30.yaml index cabb9c72f5..06af530196 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS30.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS30.yaml @@ -121,7 +121,7 @@ components: schema: type: array items: - $ref: '#/components/schemas/pet' + $ref: "#/components/schemas/pet" parameters: User: in: query diff --git a/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS31.yaml b/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS31.yaml index 389f796e38..eed223fcc8 100644 --- a/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS31.yaml +++ b/modules/swagger-parser-v3/src/test/resources/3.1.0/test/basicOAS31.yaml @@ -121,7 +121,7 @@ components: schema: type: array items: - $ref: '#/components/schemas/pet' + $ref: "#/components/schemas/pet" parameters: User: in: query diff --git a/modules/swagger-parser-v3/src/test/resources/FlattenComposedSchemasAtComponents.yaml b/modules/swagger-parser-v3/src/test/resources/FlattenComposedSchemasAtComponents.yaml index a2e87330e7..cdf691926f 100644 --- a/modules/swagger-parser-v3/src/test/resources/FlattenComposedSchemasAtComponents.yaml +++ b/modules/swagger-parser-v3/src/test/resources/FlattenComposedSchemasAtComponents.yaml @@ -11,7 +11,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Bar' + $ref: "#/components/schemas/Bar" components: schemas: Foo: @@ -25,9 +25,9 @@ components: foo1: description: An instance of Foo allOf: - - $ref: '#/components/schemas/Foo' + - $ref: "#/components/schemas/Foo" foo2: - $ref: '#/components/schemas/Foo' + $ref: "#/components/schemas/Foo" Test: oneOf: - $ref: "#/components/schemas/Foo" @@ -65,9 +65,9 @@ components: addresses: type: array items: - $ref: '#/components/schemas/address-model' + $ref: "#/components/schemas/address-model" phones: type: array items: - $ref: '#/components/schemas/phone-model' - - $ref: '#/components/schemas/audit-model' \ No newline at end of file + $ref: "#/components/schemas/phone-model" + - $ref: "#/components/schemas/audit-model" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/allOf-example/allOf.yaml b/modules/swagger-parser-v3/src/test/resources/allOf-example/allOf.yaml index bc7c0fc022..4a4b427852 100644 --- a/modules/swagger-parser-v3/src/test/resources/allOf-example/allOf.yaml +++ b/modules/swagger-parser-v3/src/test/resources/allOf-example/allOf.yaml @@ -20,14 +20,14 @@ paths: get: operationId: description parameters: - - $ref: '#/components/parameters/UserId' + - $ref: "#/components/parameters/UserId" responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/DescriptionUrl' + $ref: "#/components/schemas/DescriptionUrl" components: parameters: UserId: @@ -53,4 +53,4 @@ components: url: type: string description: Url with information or picture of the product - - $ref: '#/components/schemas/Description' \ No newline at end of file + - $ref: "#/components/schemas/Description" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/allOfAndRef.yaml b/modules/swagger-parser-v3/src/test/resources/allOfAndRef.yaml index 9e7540ab97..c4eca1a5cd 100644 --- a/modules/swagger-parser-v3/src/test/resources/allOfAndRef.yaml +++ b/modules/swagger-parser-v3/src/test/resources/allOfAndRef.yaml @@ -12,7 +12,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UserEx' + $ref: "#/components/schemas/UserEx" components: schemas: User: @@ -25,7 +25,7 @@ components: - username UserEx: allOf: - - $ref: '#/components/schemas/User' + - $ref: "#/components/schemas/User" - type: object properties: id: diff --git a/modules/swagger-parser-v3/src/test/resources/anyOf_OneOf.yaml b/modules/swagger-parser-v3/src/test/resources/anyOf_OneOf.yaml index ac0222bcff..c3a0001e2c 100644 --- a/modules/swagger-parser-v3/src/test/resources/anyOf_OneOf.yaml +++ b/modules/swagger-parser-v3/src/test/resources/anyOf_OneOf.yaml @@ -13,11 +13,11 @@ paths: application/json: schema: oneOf: - - $ref: '#/components/schemas/Book' - - $ref: '#/components/schemas/Movie' + - $ref: "#/components/schemas/Book" + - $ref: "#/components/schemas/Movie" anyOf: - - $ref: '#/components/schemas/Movie' - - $ref: '#/components/schemas/Book' + - $ref: "#/components/schemas/Movie" + - $ref: "#/components/schemas/Book" /mixed-array: get: diff --git a/modules/swagger-parser-v3/src/test/resources/callbacks-issue/domain.yaml b/modules/swagger-parser-v3/src/test/resources/callbacks-issue/domain.yaml index f4fb27c4bc..cbe17b136f 100644 --- a/modules/swagger-parser-v3/src/test/resources/callbacks-issue/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/callbacks-issue/domain.yaml @@ -21,14 +21,14 @@ components: 'https://yourdomain.com/css/yourCallbackEndpoint': post: parameters: - - $ref: '#/components/parameters/x-api-key' + - $ref: "#/components/parameters/x-api-key" requestBody: required: true description: description content: application/json: schema: - $ref: '#/components/schemas/WebhookVerification' + $ref: "#/components/schemas/WebhookVerification" responses: '202': description: Your server returns this code if it accepts the message it was sent diff --git a/modules/swagger-parser-v3/src/test/resources/cant-read-deep-properties.yaml b/modules/swagger-parser-v3/src/test/resources/cant-read-deep-properties.yaml index 9221a92a8f..0efb735160 100644 --- a/modules/swagger-parser-v3/src/test/resources/cant-read-deep-properties.yaml +++ b/modules/swagger-parser-v3/src/test/resources/cant-read-deep-properties.yaml @@ -31,7 +31,7 @@ paths: projects: type: array items: - $ref: '#/components/schemas/Project' + $ref: "#/components/schemas/Project" '400': description: Invalid '401': @@ -51,9 +51,9 @@ components: - project_type properties: user: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" project_type: - $ref: '#/components/schemas/TypeProject/properties/id' + $ref: "#/components/schemas/TypeProject/properties/id" User: type: object required: diff --git a/modules/swagger-parser-v3/src/test/resources/codegen-issue-8601.yaml b/modules/swagger-parser-v3/src/test/resources/codegen-issue-8601.yaml index 0627373a34..0db67be3c9 100644 --- a/modules/swagger-parser-v3/src/test/resources/codegen-issue-8601.yaml +++ b/modules/swagger-parser-v3/src/test/resources/codegen-issue-8601.yaml @@ -22,7 +22,7 @@ paths: application/json: schema: allOf: - - $ref: '#/components/schemas/Test1' + - $ref: "#/components/schemas/Test1" - type: object responses: default: diff --git a/modules/swagger-parser-v3/src/test/resources/codegen-issue-9773/domain.yaml b/modules/swagger-parser-v3/src/test/resources/codegen-issue-9773/domain.yaml index dc38cf0800..6bb541056a 100644 --- a/modules/swagger-parser-v3/src/test/resources/codegen-issue-9773/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/codegen-issue-9773/domain.yaml @@ -5,7 +5,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Foo' + $ref: "#/components/schemas/Foo" schemas: Foo: diff --git a/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/Responses/1.0.0/domain.yaml b/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/Responses/1.0.0/domain.yaml index 82c6f690a0..d80a2d7921 100644 --- a/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/Responses/1.0.0/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/Responses/1.0.0/domain.yaml @@ -70,12 +70,12 @@ components: content: application/json: schema: - $ref: '#/components/schemas/ErrorModel' + $ref: "#/components/schemas/ErrorModel" headers: X-RateLimit-Limit: - $ref: '#/components/headers/X-RateLimit-Limit' + $ref: "#/components/headers/X-RateLimit-Limit" X-RateLimit-Remaining: - $ref: '#/components/headers/X-RateLimit-Remaining' + $ref: "#/components/headers/X-RateLimit-Remaining" ######################### # Common headers @@ -102,17 +102,17 @@ components: summary: Get all items description: This operation supports pagination parameters: - - $ref: '#/components/parameters/offsetParam' - - $ref: '#/components/parameters/limitParam' + - $ref: "#/components/parameters/offsetParam" + - $ref: "#/components/parameters/limitParam" responses: '200': description: A list of items default: - $ref: '#/components/responses/GeneralError' + $ref: "#/components/responses/GeneralError" post: summary: Add a new item requestBody: - $ref: '#/components/requestBodies/NewItem' + $ref: "#/components/requestBodies/NewItem" responses: '201': description: Created diff --git a/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/openapi.yaml b/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/openapi.yaml index 7c82eb0ac7..b43c22c76c 100644 --- a/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/openapi.yaml +++ b/modules/swagger-parser-v3/src/test/resources/codegen-remote-responses/openapi.yaml @@ -46,7 +46,7 @@ paths: - 'write:pets' - 'read:pets' requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" put: tags: - pet @@ -64,7 +64,7 @@ paths: - 'write:pets' - 'read:pets' requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" /pet/findByStatus: get: tags: @@ -95,12 +95,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid status value security: @@ -136,12 +136,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid tag value security: @@ -170,10 +170,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid ID supplied '404': @@ -259,7 +259,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ApiResponse' + $ref: "#/components/schemas/ApiResponse" security: - petstore_auth: - 'write:pets' @@ -301,17 +301,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" application/xml: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" '400': description: Invalid Order requestBody: content: application/json: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" description: order placed for purchasing the pet required: true '/store/order/{orderId}': @@ -339,10 +339,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" application/xml: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" '400': description: Invalid ID supplied '404': @@ -383,7 +383,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" description: Created user object required: true /user/createWithArray: @@ -396,7 +396,7 @@ paths: default: description: successful operation requestBody: - $ref: '#/components/requestBodies/UserArray' + $ref: "#/components/requestBodies/UserArray" /user/createWithList: post: tags: @@ -407,7 +407,7 @@ paths: default: description: successful operation requestBody: - $ref: '#/components/requestBodies/UserArray' + $ref: "#/components/requestBodies/UserArray" /user/login: get: tags: @@ -478,10 +478,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" application/xml: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" '400': description: Invalid username supplied '404': @@ -508,7 +508,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" description: Updated user object required: true delete: @@ -615,7 +615,7 @@ components: type: integer format: int64 category: - $ref: '#/components/schemas/Category' + $ref: "#/components/schemas/Category" name: type: string example: doggie @@ -632,7 +632,7 @@ components: name: tag wrapped: true items: - $ref: '#/components/schemas/Tag' + $ref: "#/components/schemas/Tag" status: type: string description: pet status in the store @@ -657,10 +657,10 @@ components: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" description: Pet object that needs to be added to the store required: true UserArray: @@ -669,7 +669,7 @@ components: schema: type: array items: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" description: List of user object required: true securitySchemes: diff --git a/modules/swagger-parser-v3/src/test/resources/composed.yaml b/modules/swagger-parser-v3/src/test/resources/composed.yaml index 64dabb2f0b..1d5249e22c 100644 --- a/modules/swagger-parser-v3/src/test/resources/composed.yaml +++ b/modules/swagger-parser-v3/src/test/resources/composed.yaml @@ -32,7 +32,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/ExtendedAddress' + $ref: "#/components/schemas/ExtendedAddress" required: false responses: '200': @@ -43,7 +43,7 @@ components: type: object x-swagger-router-model: io.swagger.oas.test.models.ExtendedAddress allOf: - - $ref: '#/components/schemas/Address' + - $ref: "#/components/schemas/Address" - type: object required: - gps diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Cat.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Cat.yaml index dba16a6399..885948255e 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Cat.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Cat.yaml @@ -1,6 +1,6 @@ Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Dog.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Dog.yaml index 32dd08179f..d33859eb15 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Dog.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/Dog.yaml @@ -1,6 +1,6 @@ Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/main-external-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/main-external-mapping.yaml index 701a3fca31..ab538ed9bb 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/main-external-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/main-external-mapping.yaml @@ -49,7 +49,7 @@ paths: pets: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid status value components: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-internal-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-internal-mapping.yaml index ccd9f0e0bb..bea8cc71fe 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-internal-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-internal-mapping.yaml @@ -10,11 +10,11 @@ components: discriminator: propertyName: pet_type mapping: - Cat: '#/components/schemas/Cat' - Dog: '#/components/schemas/Dog' + Cat: "#/components/schemas/Cat" + Dog: "#/components/schemas/Dog" Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -22,7 +22,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml index 098bf9af13..08c824099f 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping-oneof.yaml @@ -8,13 +8,13 @@ components: pet_type: type: string oneOf: - - $ref: '#/components/schemas/Cat' - - $ref: '#/components/schemas/Dog' + - $ref: "#/components/schemas/Cat" + - $ref: "#/components/schemas/Dog" discriminator: propertyName: pet_type Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -22,7 +22,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping.yaml index 9190e539ea..240f63aab6 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-no-mapping.yaml @@ -11,7 +11,7 @@ components: propertyName: pet_type Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -19,7 +19,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-plain-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-plain-mapping.yaml index d20c66a4ea..2a3d16d5df 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-plain-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/pet-plain-mapping.yaml @@ -14,7 +14,7 @@ components: Dog: Dog Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -22,7 +22,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-internal-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-internal-mapping.yaml index ea9097ddb6..263aeae74b 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-internal-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-internal-mapping.yaml @@ -49,7 +49,7 @@ paths: pets: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid status value components: @@ -64,11 +64,11 @@ components: discriminator: propertyName: pet_type mapping: - Cat: '#/components/schemas/Cat' - Dog: '#/components/schemas/Dog' + Cat: "#/components/schemas/Cat" + Dog: "#/components/schemas/Dog" Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -76,7 +76,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-no-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-no-mapping.yaml index 014d7e9855..8ebb313486 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-no-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-no-mapping.yaml @@ -49,7 +49,7 @@ paths: pets: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid status value components: @@ -65,7 +65,7 @@ components: propertyName: pet_type Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -73,7 +73,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-plain-mapping.yaml b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-plain-mapping.yaml index d1a484c136..675280f4c7 100644 --- a/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-plain-mapping.yaml +++ b/modules/swagger-parser-v3/src/test/resources/discriminator-mapping-resolution/single-file-plain-mapping.yaml @@ -49,7 +49,7 @@ paths: pets: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid status value components: @@ -68,7 +68,7 @@ components: Dog: Dog Cat: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Cat` type: object properties: @@ -76,7 +76,7 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Pet' + - $ref: "#/components/schemas/Pet" # all other properties specific to a `Dog` type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/domain-issue-1335.yaml b/modules/swagger-parser-v3/src/test/resources/domain-issue-1335.yaml index fcb128e5fd..a1faa5f042 100644 --- a/modules/swagger-parser-v3/src/test/resources/domain-issue-1335.yaml +++ b/modules/swagger-parser-v3/src/test/resources/domain-issue-1335.yaml @@ -8,7 +8,7 @@ components: type: string examples: ex1: - $ref: '#/components/examples/ex1' + $ref: "#/components/examples/ex1" examples: ex1: diff --git a/modules/swagger-parser-v3/src/test/resources/domain.yaml b/modules/swagger-parser-v3/src/test/resources/domain.yaml index 1f45202d42..8b42a86666 100644 --- a/modules/swagger-parser-v3/src/test/resources/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/domain.yaml @@ -5,7 +5,7 @@ info: components: schemas: Parse: - $ref: '#/components/schemas/ParseEnum' + $ref: "#/components/schemas/ParseEnum" ParseEnum: title: Parse It description: Can it parse it? diff --git a/modules/swagger-parser-v3/src/test/resources/empty-strings.yaml b/modules/swagger-parser-v3/src/test/resources/empty-strings.yaml index 015e88ea4e..b9f227c4e7 100644 --- a/modules/swagger-parser-v3/src/test/resources/empty-strings.yaml +++ b/modules/swagger-parser-v3/src/test/resources/empty-strings.yaml @@ -41,7 +41,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Foo' + $ref: "#/components/schemas/Foo" components: schemas: diff --git a/modules/swagger-parser-v3/src/test/resources/flattenArrayItems.yaml b/modules/swagger-parser-v3/src/test/resources/flattenArrayItems.yaml index 5063fa5bdf..59f2f3bbff 100644 --- a/modules/swagger-parser-v3/src/test/resources/flattenArrayItems.yaml +++ b/modules/swagger-parser-v3/src/test/resources/flattenArrayItems.yaml @@ -70,7 +70,7 @@ paths: schema: type: object allOf: - - $ref: '#/components/schemas/Address' + - $ref: "#/components/schemas/Address" - type: object required: - gps @@ -82,7 +82,7 @@ paths: type: array items: allOf: - - $ref: '#/components/schemas/Address2' + - $ref: "#/components/schemas/Address2" - type: object required: - gps2 diff --git a/modules/swagger-parser-v3/src/test/resources/internal-references-in-external-files/main.yaml b/modules/swagger-parser-v3/src/test/resources/internal-references-in-external-files/main.yaml index 95e501c614..72a1f08c6c 100644 --- a/modules/swagger-parser-v3/src/test/resources/internal-references-in-external-files/main.yaml +++ b/modules/swagger-parser-v3/src/test/resources/internal-references-in-external-files/main.yaml @@ -10,7 +10,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/create' + $ref: "#/components/schemas/create" responses: '200': description: Successful response diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1040/lib/lib.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1040/lib/lib.yaml index 1818166376..444d55c290 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1040/lib/lib.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1040/lib/lib.yaml @@ -10,4 +10,4 @@ components: type: object properties: id: - $ref: '#/components/schemas/ValueId' \ No newline at end of file + $ref: "#/components/schemas/ValueId" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1063/api.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1063/api.yaml index 5595caf9e1..94bb98d7d9 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1063/api.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1063/api.yaml @@ -8,8 +8,8 @@ paths: get: operationId: getValues parameters: - - $ref: '#/components/parameters/IdParam' - - $ref: '#/components/parameters/NameParam' + - $ref: "#/components/parameters/IdParam" + - $ref: "#/components/parameters/NameParam" responses: 200: description: Successful response diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1078/common.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1078/common.yaml index 7c5d3b629d..2290a460b7 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1078/common.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1078/common.yaml @@ -12,9 +12,9 @@ components: type: object properties: lat: - $ref: '#/components/schemas/Lat' + $ref: "#/components/schemas/Lat" long: - $ref: '#/components/schemas/Long' + $ref: "#/components/schemas/Long" required: - lat - long diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1081/spec2.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1081/spec2.yaml index 1183743852..2931cbcc90 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1081/spec2.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1081/spec2.yaml @@ -10,6 +10,6 @@ components: type: object properties: fDesc: - $ref: '#/components/schemas/FlowDescription' + $ref: "#/components/schemas/FlowDescription" fDir: $ref: 'spec1.yaml#/components/schemas/FlowDirection' \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1103/domain.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1103/domain.yaml index 92650a14d6..d0b71f77b5 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1103/domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1103/domain.yaml @@ -12,7 +12,7 @@ components: summary: Set value of this parameter description: Provide the lookup table for localized strings parameters: - - $ref: '#/components/parameters/param_lang' + - $ref: "#/components/parameters/param_lang" parameters: param_lang: name: lang diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1147/common.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1147/common.yaml index 6a7ddc9d27..6ba3da9879 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1147/common.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1147/common.yaml @@ -11,4 +11,4 @@ components: type: object properties: val: - $ref: '#/components/schemas/String' + $ref: "#/components/schemas/String" diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1147/issue1147.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1147/issue1147.yaml index e52b484b17..fd90b61b28 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1147/issue1147.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1147/issue1147.yaml @@ -6,7 +6,7 @@ paths: /: post: requestBody: - $ref: '#/components/requestBodies/RefRequestBody' + $ref: "#/components/requestBodies/RefRequestBody" responses: default: description: "Error" diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1157/allOf-example.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1157/allOf-example.yaml index b3b2eb76bd..c8969aabed 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1157/allOf-example.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1157/allOf-example.yaml @@ -12,7 +12,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" components: schemas: Dog: @@ -31,5 +31,5 @@ components: type: integer Pet: allOf: - - $ref: '#/components/schemas/Cat' - - $ref: '#/components/schemas/Dog' \ No newline at end of file + - $ref: "#/components/schemas/Cat" + - $ref: "#/components/schemas/Dog" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1157/anyOf-example.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1157/anyOf-example.yaml index 084f63a889..10e5e782ce 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1157/anyOf-example.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1157/anyOf-example.yaml @@ -12,7 +12,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" components: schemas: Dog: @@ -31,5 +31,5 @@ components: type: integer Pet: anyOf: - - $ref: '#/components/schemas/Cat' - - $ref: '#/components/schemas/Dog' + - $ref: "#/components/schemas/Cat" + - $ref: "#/components/schemas/Dog" diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1157/oneOf-example.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1157/oneOf-example.yaml index b098ffad15..129fe3f702 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1157/oneOf-example.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1157/oneOf-example.yaml @@ -12,7 +12,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" components: schemas: Dog: @@ -31,5 +31,5 @@ components: type: integer Pet: oneOf: - - $ref: '#/components/schemas/Cat' - - $ref: '#/components/schemas/Dog' + - $ref: "#/components/schemas/Cat" + - $ref: "#/components/schemas/Dog" diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1161/common.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1161/common.yaml index b87cb59703..7a92681934 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1161/common.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1161/common.yaml @@ -16,9 +16,9 @@ components: type: object properties: primary: - $ref: '#/components/schemas/Colour' + $ref: "#/components/schemas/Colour" secondary: - $ref: '#/components/schemas/Colour' + $ref: "#/components/schemas/Colour" Colour: type: string enum: ['black', 'white', 'tan', 'red', 'blue'] \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1161/swagger.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1161/swagger.yaml index aa4c5afd66..75a2adb825 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1161/swagger.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1161/swagger.yaml @@ -9,7 +9,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pets' + $ref: "#/components/schemas/Pets" responses: '200': description: Expected response to a valid request diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1170/common.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1170/common.yaml index 8877d30e15..40d78e7cb2 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1170/common.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1170/common.yaml @@ -8,13 +8,13 @@ components: BreedsList: type: array items: - $ref: '#/components/schemas/BreedsListItems' + $ref: "#/components/schemas/BreedsListItems" BreedsListItems: type: object properties: breed: - $ref: '#/components/schemas/Breed' + $ref: "#/components/schemas/Breed" Breed: type: object @@ -32,15 +32,15 @@ components: petType: type: string colouring: - $ref: '#/components/schemas/Colouring' + $ref: "#/components/schemas/Colouring" Colouring: type: object properties: primary: - $ref: '#/components/schemas/Colour' + $ref: "#/components/schemas/Colour" secondary: - $ref: '#/components/schemas/Colour' + $ref: "#/components/schemas/Colour" Colour: type: string diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1177/common/common-types.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1177/common/common-types.yaml index b434ca06b9..99cd5221b7 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1177/common/common-types.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1177/common/common-types.yaml @@ -8,7 +8,7 @@ components: PetsList: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" Pet: type: object @@ -16,7 +16,7 @@ components: petType: type: string breed: - $ref: '#/components/schemas/Breed' + $ref: "#/components/schemas/Breed" Breed: type: object diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1266/issue-1266.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1266/issue-1266.yaml index 6b493414c5..3e178005a7 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1266/issue-1266.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1266/issue-1266.yaml @@ -17,7 +17,7 @@ components: type: object x-extension-ref: 2 allOf: - - $ref: '#/components/schemas/ResponseModel' + - $ref: "#/components/schemas/ResponseModel" - type: object required: - gps diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1319.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1319.yaml index fa95995aec..7d22c3fb93 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1319.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1319.yaml @@ -8,14 +8,14 @@ paths: get: operationId: description parameters: - - $ref: '#/components/parameters/UserId' + - $ref: "#/components/parameters/UserId" responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/goraUrl' + $ref: "#/components/schemas/goraUrl" '/gora/{gora_id}/test': get: operationId: test @@ -32,7 +32,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/goraUrl' + $ref: "#/components/schemas/goraUrl" components: parameters: UserId: @@ -58,4 +58,4 @@ components: url: type: string description: Url with information or picture of the product - - $ref: '#/components/schemas/gora' \ No newline at end of file + - $ref: "#/components/schemas/gora" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1367.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1367.yaml index 4194f063e9..270f9d41ef 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1367.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1367.yaml @@ -25,7 +25,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TestDTO' + $ref: "#/components/schemas/TestDTO" components: schemas: TestDTO: @@ -36,7 +36,7 @@ components: choice: description: Choice description allOf: - - $ref: '#/components/schemas/TestEnum' + - $ref: "#/components/schemas/TestEnum" TestEnum: type: string enum: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1561/swagger.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1561/swagger.yaml index 6051b0b404..16d3e0bfac 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1561/swagger.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1561/swagger.yaml @@ -23,14 +23,14 @@ paths: schema: type: integer requestBody: - $ref: '#/components/requestBodies/TrazabilidadBodyRequest' + $ref: "#/components/requestBodies/TrazabilidadBodyRequest" responses: '201': description: Created content: application/json: schema: - $ref: '#/components/schemas/BodyOutResponse' + $ref: "#/components/schemas/BodyOutResponse" '400': $ref: >- exceptions.yml#/components/responses/400 @@ -47,7 +47,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/TrazabilidadBodyRequest' + $ref: "#/components/schemas/TrazabilidadBodyRequest" description: body request required: true schemas: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1621/example.openapi.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1621/example.openapi.yaml index 216969255a..20e77ba47b 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1621/example.openapi.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1621/example.openapi.yaml @@ -9,7 +9,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ExamplePost' + $ref: "#/components/schemas/ExamplePost" responses: 204: description: No content diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1658/apis.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1658/apis.yaml index ac126a9ae4..fadf580494 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1658/apis.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1658/apis.yaml @@ -8,13 +8,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/responseBase' + $ref: "#/components/schemas/responseBase" components: schemas: responseBase: - $ref: '#/components/schemas/ref1' + $ref: "#/components/schemas/ref1" ref1: $ref: './api2.yaml#/components/schemas/ref2' \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1777/issue1777.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1777/issue1777.yaml index 344f933cb8..d8be52c51b 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1777/issue1777.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1777/issue1777.yaml @@ -12,7 +12,7 @@ tags: paths: /customers/{customerId}: parameters: - - $ref: '#/components/parameters/customerIdPathParam' + - $ref: "#/components/parameters/customerIdPathParam" get: summary: Retrieve customer information description: Description for operation that allows retrieve customer information @@ -25,7 +25,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/customer' + $ref: "#/components/schemas/customer" components: parameters: @@ -35,7 +35,7 @@ components: required: true description: The id of the customer schema: - $ref: '#/components/schemas/uuid' + $ref: "#/components/schemas/uuid" schemas: uuid: @@ -51,6 +51,6 @@ components: id: description: The id of the customer allOf: - - $ref: '#/components/schemas/uuid' + - $ref: "#/components/schemas/uuid" x-apigen-mapping: field: id \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1802/issue1802.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1802/issue1802.yaml index 22c57a2fd5..676b274407 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1802/issue1802.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1802/issue1802.yaml @@ -33,7 +33,7 @@ components: errors: type: array items: - $ref: '#/components/schemas/standard_error' + $ref: "#/components/schemas/standard_error" info: type: string trace_id: @@ -54,7 +54,7 @@ components: standard_response_res_one: type: object allOf: - - $ref: '#/components/schemas/standard_response_result' + - $ref: "#/components/schemas/standard_response_result" properties: data: properties: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1865/apis/foo.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1865/apis/foo.yaml index 2b0c3d42b5..ed4cdac623 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1865/apis/foo.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1865/apis/foo.yaml @@ -16,7 +16,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Foo' + $ref: "#/components/schemas/Foo" components: schemas: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-1886/openapi.yaml b/modules/swagger-parser-v3/src/test/resources/issue-1886/openapi.yaml index 7c6797cf7f..8537250d34 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-1886/openapi.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-1886/openapi.yaml @@ -35,7 +35,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/TransactionsPatchRequestBody' + $ref: "#/components/schemas/TransactionsPatchRequestBody" responses: "204": description: OK diff --git a/modules/swagger-parser-v3/src/test/resources/issue-2037/paths/get.yaml b/modules/swagger-parser-v3/src/test/resources/issue-2037/paths/get.yaml index 9f5b7b0738..88f402afe0 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-2037/paths/get.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-2037/paths/get.yaml @@ -5,13 +5,13 @@ endpoint: content: application/json: schema: - $ref: '#/RequestBodyRef' + $ref: "#/RequestBodyRef" responses: '200': content: application/json: schema: - $ref: '#/ResponsesRef' + $ref: "#/ResponsesRef" RequestBodyRef: type: string diff --git a/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml b/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml index 3d0068dfb0..c7ed125de6 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml @@ -4,14 +4,14 @@ components: type: array items: oneOf: - - $ref: '#/components/schemas/ProductRow' + - $ref: "#/components/schemas/ProductRow" properties: orderRow: - $ref: '#/components/schemas/OrderRow' + $ref: "#/components/schemas/OrderRow" discriminator: propertyName: type mapping: - 'product': '#/components/schemas/ProductRow' + 'product': "#/components/schemas/ProductRow" ProductRow: type: object additionalProperties: false @@ -19,7 +19,7 @@ components: - type properties: type: - $ref: '#/components/schemas/ProductRowType' + $ref: "#/components/schemas/ProductRowType" payload: type: string ProductRowType: @@ -33,7 +33,7 @@ components: - type properties: type: - $ref: '#/components/schemas/OrderRowType' + $ref: "#/components/schemas/OrderRowType" payload: type: string OrderRowType: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-339.yaml b/modules/swagger-parser-v3/src/test/resources/issue-339.yaml index 5db1600f06..055af4dac8 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-339.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-339.yaml @@ -43,7 +43,7 @@ paths: - 'write:pets' - 'read:pets' requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" put: tags: - pet @@ -62,7 +62,7 @@ paths: - 'write:pets' - 'read:pets' requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" /pet/findByStatus: get: tags: @@ -93,12 +93,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/json: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid status value security: @@ -132,12 +132,12 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/json: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid tag value security: @@ -165,10 +165,10 @@ paths: content: application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" '400': description: Invalid ID supplied '404': @@ -255,7 +255,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ApiResponse' + $ref: "#/components/schemas/ApiResponse" security: - petstore_auth: - 'write:pets' @@ -305,17 +305,17 @@ paths: content: application/xml: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" application/json: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" '400': description: Invalid Order requestBody: content: application/json: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" description: order placed for purchasing the pet required: true '/store/order/{orderId}': @@ -343,10 +343,10 @@ paths: content: application/xml: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" application/json: schema: - $ref: '#/components/schemas/Order' + $ref: "#/components/schemas/Order" '400': description: Invalid ID supplied '404': @@ -385,7 +385,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" description: Created user object required: true /user/createWithArray: @@ -399,7 +399,7 @@ paths: default: description: successful operation requestBody: - $ref: '#/components/requestBodies/UserArray' + $ref: "#/components/requestBodies/UserArray" /user/createWithList: post: tags: @@ -411,7 +411,7 @@ paths: default: description: successful operation requestBody: - $ref: '#/components/requestBodies/UserArray' + $ref: "#/components/requestBodies/UserArray" /user/login: get: tags: @@ -485,10 +485,10 @@ paths: content: application/xml: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" '400': description: Invalid username supplied '404': @@ -515,7 +515,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" description: Updated user object required: true delete: @@ -549,12 +549,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Client' + $ref: "#/components/schemas/Client" requestBody: content: application/json: schema: - $ref: '#/components/schemas/Client' + $ref: "#/components/schemas/Client" description: client model required: true get: @@ -757,17 +757,17 @@ components: schema: type: array items: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" description: List of user object required: true Pet: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" description: Pet object that needs to be added to the store required: true securitySchemes: @@ -870,7 +870,7 @@ components: format: int64 x-is-unique: true category: - $ref: '#/components/schemas/Category' + $ref: "#/components/schemas/Category" name: type: string example: doggie @@ -887,7 +887,7 @@ components: name: tag wrapped: true items: - $ref: '#/components/schemas/Tag' + $ref: "#/components/schemas/Tag" status: type: string description: pet status in the store @@ -951,14 +951,14 @@ components: type: string Dog: allOf: - - $ref: '#/components/schemas/Animal' + - $ref: "#/components/schemas/Animal" - type: object properties: breed: type: string Cat: allOf: - - $ref: '#/components/schemas/Animal' + - $ref: "#/components/schemas/Animal" - type: object properties: declawed: @@ -978,7 +978,7 @@ components: AnimalFarm: type: array items: - $ref: '#/components/schemas/Animal' + $ref: "#/components/schemas/Animal" format_test: type: object required: @@ -1065,7 +1065,7 @@ components: - 1.1 - -1.2 outerEnum: - $ref: '#/components/schemas/OuterEnum' + $ref: "#/components/schemas/OuterEnum" AdditionalPropertiesClass: type: object properties: @@ -1091,7 +1091,7 @@ components: map: type: object additionalProperties: - $ref: '#/components/schemas/Animal' + $ref: "#/components/schemas/Animal" List: type: object properties: @@ -1171,7 +1171,7 @@ components: items: type: array items: - $ref: '#/components/schemas/ReadOnlyFirst' + $ref: "#/components/schemas/ReadOnlyFirst" NumberOnly: type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-480.yaml b/modules/swagger-parser-v3/src/test/resources/issue-480.yaml index 45673059db..294fbe8e5f 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-480.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-480.yaml @@ -18,7 +18,7 @@ paths: security: - api_key: [] requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" put: tags: - pet @@ -37,17 +37,17 @@ paths: - 'write:pets' - 'read:pets' requestBody: - $ref: '#/components/requestBodies/Pet' + $ref: "#/components/requestBodies/Pet" components: requestBodies: Pet: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" description: Pet object that needs to be added to the store required: true securitySchemes: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/external-operation.yaml b/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/external-operation.yaml index 30fcdb8290..7558229489 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/external-operation.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/external-operation.yaml @@ -10,7 +10,7 @@ post: type: string examples: testExample: - $ref: '#/components/examples/testExample' + $ref: "#/components/examples/testExample" responses: '201': description: New guest added to event list @@ -22,7 +22,7 @@ post: type: string examples: testExample: - $ref: '#/components/examples/testExample' + $ref: "#/components/examples/testExample" components: examples: testExample: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/main.yaml b/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/main.yaml index 78521076af..abc8a0cd7d 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/main.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-837-853-1131/main.yaml @@ -25,7 +25,7 @@ paths: value: test: plain local: - $ref: '#/components/examples/LocalRef' + $ref: "#/components/examples/LocalRef" external: $ref: './issue-837-853-1131/components.yaml#/components/examples/ExternalRef' responses: @@ -46,7 +46,7 @@ paths: value: test: plain local: - $ref: '#/components/examples/LocalRef' + $ref: "#/components/examples/LocalRef" external: $ref: './issue-837-853-1131/components.yaml#/components/examples/ExternalRef' /guests: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-901/ref.yaml b/modules/swagger-parser-v3/src/test/resources/issue-901/ref.yaml index c60d3324b9..ed7120d1f4 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-901/ref.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-901/ref.yaml @@ -14,7 +14,7 @@ components: stuff: type: array items: - $ref: '#/components/schemas/TESTTHING' + $ref: "#/components/schemas/TESTTHING" TESTTHING: type: object properties: @@ -31,4 +31,4 @@ pathitems: content: application/json: schema: - $ref: '#/components/schemas/Test.Definition' \ No newline at end of file + $ref: "#/components/schemas/Test.Definition" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-901/ref2.yaml b/modules/swagger-parser-v3/src/test/resources/issue-901/ref2.yaml index a219e0b0ed..e48d741d3d 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-901/ref2.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-901/ref2.yaml @@ -14,7 +14,7 @@ components: stuff: type: array items: - $ref: '#/components/schemas/TEST.THING.OUT.Stuff' + $ref: "#/components/schemas/TEST.THING.OUT.Stuff" TEST.THING.OUT.Stuff: type: object properties: @@ -31,4 +31,4 @@ pathitems: content: application/json: schema: - $ref: '#/components/schemas/Test.Definition' \ No newline at end of file + $ref: "#/components/schemas/Test.Definition" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/issue-913/BS/ApiSpecification.yaml b/modules/swagger-parser-v3/src/test/resources/issue-913/BS/ApiSpecification.yaml index aea4b2a909..d787acf7d2 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-913/BS/ApiSpecification.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-913/BS/ApiSpecification.yaml @@ -21,7 +21,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/accessProfileBO' + $ref: "#/components/schemas/accessProfileBO" servers: - url: 'https://api.com/{access}/accessProfileAPI' variables: diff --git a/modules/swagger-parser-v3/src/test/resources/issue-983-domain.yaml b/modules/swagger-parser-v3/src/test/resources/issue-983-domain.yaml index fcf2d32031..d90d771608 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-983-domain.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-983-domain.yaml @@ -29,4 +29,4 @@ components: description: 'Could be composite key' required: true schema: - $ref: '#/components/schemas/InventoryId' + $ref: "#/components/schemas/InventoryId" diff --git a/modules/swagger-parser-v3/src/test/resources/issue-983.yaml b/modules/swagger-parser-v3/src/test/resources/issue-983.yaml index 51719bb7ac..e4c7c964a7 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-983.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-983.yaml @@ -26,7 +26,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/InventoryItem' + $ref: "#/components/schemas/InventoryItem" '400': description: bad input parameter diff --git a/modules/swagger-parser-v3/src/test/resources/issue1758.yaml b/modules/swagger-parser-v3/src/test/resources/issue1758.yaml index 2e0db04dfe..d4eb5eba76 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue1758.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue1758.yaml @@ -6,20 +6,20 @@ servers: - url: / paths: /path1: - $ref: '#/components/schemas/xFoo' + $ref: "#/components/schemas/xFoo" /foo: get: description: ok parameters: - - $ref: '#/components/schemas/xFoo' + - $ref: "#/components/schemas/xFoo" requestBody: - $ref: '#/components/schemas/xFoo' + $ref: "#/components/schemas/xFoo" responses: default: description: ok headers: three: - $ref: '#/components/schemas/xFoo' + $ref: "#/components/schemas/xFoo" '200': description: successful operation content: @@ -27,15 +27,15 @@ paths: schema: type: array items: - $ref: '#/components/parameters/pet' + $ref: "#/components/parameters/pet" examples: one: - $ref: '#/components/schemas/xFoo' + $ref: "#/components/schemas/xFoo" links: user: - $ref: '#/components/schemas/xFoo' + $ref: "#/components/schemas/xFoo" '400': - $ref: '#/components/schemas/xFoo' + $ref: "#/components/schemas/xFoo" callbacks: mainHook: $ref: "#/components/schemas/xFoo" diff --git a/modules/swagger-parser-v3/src/test/resources/issue1902/1902-string-example-in-component.yaml b/modules/swagger-parser-v3/src/test/resources/issue1902/1902-string-example-in-component.yaml index ffbdf6eb27..b5ec6da77d 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue1902/1902-string-example-in-component.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue1902/1902-string-example-in-component.yaml @@ -17,7 +17,7 @@ paths: content: application/json: example: - $ref: '#/components/examples/Things' + $ref: "#/components/examples/Things" components: examples: diff --git a/modules/swagger-parser-v3/src/test/resources/issue203/issue203AllOf.yaml b/modules/swagger-parser-v3/src/test/resources/issue203/issue203AllOf.yaml index 42eb5680f4..06c8091d1a 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue203/issue203AllOf.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue203/issue203AllOf.yaml @@ -11,7 +11,7 @@ paths: content: application/xml: schema: - $ref: '#/components/schemas/InventoryItem' + $ref: "#/components/schemas/InventoryItem" components: schemas: InventoryItem: @@ -20,7 +20,7 @@ components: suppliersArray: type: array items: - $ref: '#/components/schemas/Supplier' + $ref: "#/components/schemas/Supplier" xml: name: inventoryItem Manufacturer: @@ -33,7 +33,7 @@ components: name: manufacturer Supplier: allOf: - - $ref: '#/components/schemas/Manufacturer' + - $ref: "#/components/schemas/Manufacturer" - type: object properties: supplierRef: diff --git a/modules/swagger-parser-v3/src/test/resources/issue2081/openapi.yaml b/modules/swagger-parser-v3/src/test/resources/issue2081/openapi.yaml index 0cf9cc048d..04e795ab40 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue2081/openapi.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue2081/openapi.yaml @@ -9,7 +9,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PetCreate' + $ref: "#/components/schemas/PetCreate" responses: '201': description: Created @@ -27,8 +27,8 @@ components: - name allOf: - anyOf: - - $ref: '#/components/schemas/Pet' - - $ref: '#/components/schemas/Cow' + - $ref: "#/components/schemas/Pet" + - $ref: "#/components/schemas/Cow" - properties: name: type: string diff --git a/modules/swagger-parser-v3/src/test/resources/issue_1039.yaml b/modules/swagger-parser-v3/src/test/resources/issue_1039.yaml index c3999dbc78..fbd3172e21 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_1039.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_1039.yaml @@ -43,13 +43,13 @@ paths: schema: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" default: description: unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" post: description: Creates a new pet in the store. Duplicates are allowed operationId: addPet @@ -59,20 +59,20 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NewPet' + $ref: "#/components/schemas/NewPet" responses: '200': description: pet response content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" default: description: unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" /pets/{id}: get: description: Returns a user based on a single ID, if the user does not have access to the pet @@ -91,13 +91,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" default: description: unexpected error content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" delete: description: deletes a single pet based on the ID supplied operationId: deletePet @@ -117,12 +117,12 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" components: schemas: Pet: allOf: - - $ref: '#/components/schemas/NewPet' + - $ref: "#/components/schemas/NewPet" - required: - id properties: diff --git a/modules/swagger-parser-v3/src/test/resources/issue_146.yaml b/modules/swagger-parser-v3/src/test/resources/issue_146.yaml index 5834de9315..cb5a395075 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_146.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_146.yaml @@ -26,7 +26,7 @@ paths: content: '*/*': schema: - $ref: '#/components/schemas/OperationType' + $ref: "#/components/schemas/OperationType" components: schemas: OperationType: diff --git a/modules/swagger-parser-v3/src/test/resources/issue_16.yaml b/modules/swagger-parser-v3/src/test/resources/issue_16.yaml index d9b04cdb55..0900550c51 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_16.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_16.yaml @@ -12,13 +12,13 @@ paths: content: '*/*': schema: - $ref: '#/components/schemas/InternshipResultModel' + $ref: "#/components/schemas/InternshipResultModel" components: schemas: InternshipResultModel: properties: Review: - $ref: '#/components/schemas/ReviewModel' + $ref: "#/components/schemas/ReviewModel" ReviewModel: properties: Rating: diff --git a/modules/swagger-parser-v3/src/test/resources/issue_277.yaml b/modules/swagger-parser-v3/src/test/resources/issue_277.yaml index 64f9fadcf3..50cc790183 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_277.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_277.yaml @@ -8,7 +8,7 @@ info: paths: '/buckets/{bucketKey}/details': parameters: - - $ref: '#/components/parameters/bucketKey' + - $ref: "#/components/parameters/bucketKey" get: operationId: get_bucket_details description: test @@ -17,23 +17,23 @@ paths: description: Default response responses: '200': - $ref: '#/components/responses/OK' + $ref: "#/components/responses/OK" '/buckets/{bucketKey}/objects/{objectName}': parameters: - - $ref: '#/components/parameters/bucketKey' - - $ref: '#/components/parameters/objectName' + - $ref: "#/components/parameters/bucketKey" + - $ref: "#/components/parameters/objectName" put: operationId: upload_object description: test responses: '200': - $ref: '#/components/responses/OK' + $ref: "#/components/responses/OK" get: operationId: get_object description: test responses: '200': - $ref: '#/components/responses/OK' + $ref: "#/components/responses/OK" components: parameters: bucketKey: diff --git a/modules/swagger-parser-v3/src/test/resources/issue_358.yaml b/modules/swagger-parser-v3/src/test/resources/issue_358.yaml index 407329fab1..9c50124a40 100755 --- a/modules/swagger-parser-v3/src/test/resources/issue_358.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_358.yaml @@ -19,7 +19,7 @@ paths: default: description: OK parameters: - - $ref: '#/components/parameters/pathParam' + - $ref: "#/components/parameters/pathParam" components: parameters: pathParam: diff --git a/modules/swagger-parser-v3/src/test/resources/issue_360.yaml b/modules/swagger-parser-v3/src/test/resources/issue_360.yaml index 670f272298..d21d1474ba 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_360.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_360.yaml @@ -42,7 +42,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" required: true responses: default: diff --git a/modules/swagger-parser-v3/src/test/resources/issue_469.yaml b/modules/swagger-parser-v3/src/test/resources/issue_469.yaml index 94e4102852..3ec3c9ab1e 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_469.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_469.yaml @@ -40,10 +40,10 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" application/xml: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" components: schemas: Category: @@ -64,7 +64,7 @@ components: type: integer format: int64 category: - $ref: '#/components/schemas/Category' + $ref: "#/components/schemas/Category" name: type: string example: doggie @@ -81,7 +81,7 @@ components: name: tag wrapped: true items: - $ref: '#/components/schemas/Tag' + $ref: "#/components/schemas/Tag" status: type: string description: pet status in the store diff --git a/modules/swagger-parser-v3/src/test/resources/issue_855.yaml b/modules/swagger-parser-v3/src/test/resources/issue_855.yaml index 2cea666015..722476174d 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_855.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_855.yaml @@ -7,10 +7,10 @@ paths: /adopt: post: requestBody: - $ref: '#/components/requestBodies/ASinglePet' + $ref: "#/components/requestBodies/ASinglePet" responses: 201: - $ref: '#/components/responses/Adopted' + $ref: "#/components/responses/Adopted" components: requestBodies: @@ -20,14 +20,14 @@ components: content: application/petstore+json: schema: - $ref: '#/components/schemas/AdoptionRequest' + $ref: "#/components/schemas/AdoptionRequest" responses: Adopted: description: Pet successfully adopted content: application/petstore+json: schema: - $ref: '#/components/schemas/AdoptionResponse' + $ref: "#/components/schemas/AdoptionResponse" schemas: Pets: @@ -36,7 +36,7 @@ components: pets: type: array items: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" Pet: type: object properties: @@ -54,7 +54,7 @@ components: description: Name pet store type: string pets: - $ref: '#/components/schemas/Pets' + $ref: "#/components/schemas/Pets" AdoptionResponse: description: Adoption Response type: object diff --git a/modules/swagger-parser-v3/src/test/resources/issue_877.yaml b/modules/swagger-parser-v3/src/test/resources/issue_877.yaml index 4c026cc69b..533468b119 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_877.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_877.yaml @@ -13,7 +13,7 @@ paths: description: It gets pets operationId: getPetById parameters: - - $ref: '#/components/parameters/limit' + - $ref: "#/components/parameters/limit" responses: '200': description: successful operation diff --git a/modules/swagger-parser-v3/src/test/resources/issue_884.yaml b/modules/swagger-parser-v3/src/test/resources/issue_884.yaml index d3249ba818..78e8ac1935 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue_884.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue_884.yaml @@ -20,10 +20,10 @@ paths: schema: type: array items: - $ref: '#/components/schemas/repository' + $ref: "#/components/schemas/repository" links: userRepository: - $ref: '#/components/links/userRepository' + $ref: "#/components/links/userRepository" /2.0/repositories/{username}/{slug}: get: operationId: getRepository @@ -44,7 +44,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/repository' + $ref: "#/components/schemas/repository" components: links: userRepository: @@ -69,7 +69,7 @@ components: slug: type: string owner: - $ref: '#/components/schemas/user' + $ref: "#/components/schemas/user" pullrequest: type: object properties: @@ -78,6 +78,6 @@ components: title: type: string repository: - $ref: '#/components/schemas/repository' + $ref: "#/components/schemas/repository" author: - $ref: '#/components/schemas/user' \ No newline at end of file + $ref: "#/components/schemas/user" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/linkIssue.yaml b/modules/swagger-parser-v3/src/test/resources/linkIssue.yaml index fa575fff7b..27e6253aeb 100644 --- a/modules/swagger-parser-v3/src/test/resources/linkIssue.yaml +++ b/modules/swagger-parser-v3/src/test/resources/linkIssue.yaml @@ -20,7 +20,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/repository' + $ref: "#/components/schemas/repository" links: userRepository: operationId: getRepository @@ -45,7 +45,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/repository' + $ref: "#/components/schemas/repository" components: schemas: user: @@ -61,7 +61,7 @@ components: slug: type: string owner: - $ref: '#/components/schemas/user' + $ref: "#/components/schemas/user" pullrequest: type: object properties: @@ -70,6 +70,6 @@ components: title: type: string repository: - $ref: '#/components/schemas/repository' + $ref: "#/components/schemas/repository" author: - $ref: '#/components/schemas/user' \ No newline at end of file + $ref: "#/components/schemas/user" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/media-type-null-example.yaml b/modules/swagger-parser-v3/src/test/resources/media-type-null-example.yaml index 1bf3f9dc8a..34a08e6e63 100644 --- a/modules/swagger-parser-v3/src/test/resources/media-type-null-example.yaml +++ b/modules/swagger-parser-v3/src/test/resources/media-type-null-example.yaml @@ -18,7 +18,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Pet' + $ref: "#/components/schemas/Pet" example: id: 10 name: kitty @@ -61,7 +61,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullExample' + $ref: "#/components/schemas/ObjectWithNullExample" examples: foo: value: '{"foo": "bar"}' @@ -77,7 +77,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullInSchemaExample' + $ref: "#/components/schemas/ObjectWithNullInSchemaExample" examples: a: value: 5 @@ -98,7 +98,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullPropertyExample' + $ref: "#/components/schemas/ObjectWithNullPropertyExample" /string-with-null-example: get: @@ -109,7 +109,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/StringWithNullExample' + $ref: "#/components/schemas/StringWithNullExample" /array-with-null-array-example: get: @@ -120,7 +120,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullArrayExample' + $ref: "#/components/schemas/ArrayWithNullArrayExample" /array-with-null-item-example: get: @@ -131,7 +131,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullItemExample' + $ref: "#/components/schemas/ArrayWithNullItemExample" /arrey-with-null-in-array-example: get: @@ -142,7 +142,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullInArrayExample' + $ref: "#/components/schemas/ArrayWithNullInArrayExample" components: schemas: Pet: diff --git a/modules/swagger-parser-v3/src/test/resources/nested-file-references/common/issue-421-defns.yaml b/modules/swagger-parser-v3/src/test/resources/nested-file-references/common/issue-421-defns.yaml index 523f5fe4c5..0e114ce167 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-file-references/common/issue-421-defns.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-file-references/common/issue-421-defns.yaml @@ -11,7 +11,7 @@ components: format: int64 x-is-unique: true category: - $ref: '#/components/schemas/Category' + $ref: "#/components/schemas/Category" name: type: string example: doggie @@ -28,7 +28,7 @@ components: name: tag wrapped: true items: - $ref: '#/components/schemas/Tag' + $ref: "#/components/schemas/Tag" status: type: string description: pet status in the store diff --git a/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-308.yaml b/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-308.yaml index 8f89430f5f..89e6ed882f 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-308.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-308.yaml @@ -23,7 +23,7 @@ paths: paging: $ref: './paging.yaml#/Paging' items: - $ref: '#/components/schemas/StatusResponse' + $ref: "#/components/schemas/StatusResponse" components: schemas: StatusResponse: diff --git a/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-310.yaml b/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-310.yaml index 4dd1463124..672d54ff21 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-310.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-310.yaml @@ -23,7 +23,7 @@ paths: paging: $ref: './common/paging.yaml#/Paging' items: - $ref: '#/components/schemas/StatusResponse' + $ref: "#/components/schemas/StatusResponse" components: schemas: StatusResponse: diff --git a/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-421.yaml b/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-421.yaml index 5fd7fa4bc5..3a8ec5a9ea 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-421.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-file-references/issue-421.yaml @@ -34,17 +34,17 @@ paths: parameters: - $ref: './common/issue-421-parms.yaml#/petIdParam' requestBody: - $ref: '#/components/requestBodies/requestBody' + $ref: "#/components/requestBodies/requestBody" responses: '200': description: successful operation content: application/xml: schema: - $ref: '#/components/schemas/ApiResponse' + $ref: "#/components/schemas/ApiResponse" application/json: schema: - $ref: '#/components/schemas/ApiResponse' + $ref: "#/components/schemas/ApiResponse" '405': description: Invalid input /store/order: diff --git a/modules/swagger-parser-v3/src/test/resources/nested-items-references/a.yaml b/modules/swagger-parser-v3/src/test/resources/nested-items-references/a.yaml index b0d067dace..2e4af2f41f 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-items-references/a.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-items-references/a.yaml @@ -12,7 +12,7 @@ components: zs: type: array items: - $ref: '#/components/schemas/z' + $ref: "#/components/schemas/z" z: type: object properties: @@ -20,7 +20,7 @@ components: type: object additionalProperties: type: array - $ref: '#/components/schemas/w' + $ref: "#/components/schemas/w" w: type: object properties: diff --git a/modules/swagger-parser-v3/src/test/resources/nested-network-references/common/issue-330-entities.yaml b/modules/swagger-parser-v3/src/test/resources/nested-network-references/common/issue-330-entities.yaml index 3678aef384..8e2da3532a 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-network-references/common/issue-330-entities.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-network-references/common/issue-330-entities.yaml @@ -6,7 +6,7 @@ components: street: type: string phone: - $ref: '#/components/schemas/Phone' + $ref: "#/components/schemas/Phone" Phone: title: the phone number type: string diff --git a/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-411-remote2.yaml b/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-411-remote2.yaml index c479ebbb01..6ba38ebc43 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-411-remote2.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-411-remote2.yaml @@ -8,7 +8,7 @@ pathItems: content: '*/*': schema: - $ref: '#/components/schemas/Success' + $ref: "#/components/schemas/Success" parameters: skip: in: query diff --git a/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-454-components.yaml b/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-454-components.yaml index 597cf84022..4021b34093 100644 --- a/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-454-components.yaml +++ b/modules/swagger-parser-v3/src/test/resources/nested-network-references/issue-454-components.yaml @@ -13,7 +13,7 @@ components: RemoteComponent: properties: nestedProperty: - $ref: '#/components/schemas/NestedProperty' + $ref: "#/components/schemas/NestedProperty" NestedProperty: properties: name: @@ -25,4 +25,4 @@ components: content: "*/*": schema: - $ref: '#/components/schemas/ErrorModel' \ No newline at end of file + $ref: "#/components/schemas/ErrorModel" \ No newline at end of file diff --git a/modules/swagger-parser-v3/src/test/resources/null-example.yaml b/modules/swagger-parser-v3/src/test/resources/null-example.yaml index 2308e7dda3..a711e025d0 100644 --- a/modules/swagger-parser-v3/src/test/resources/null-example.yaml +++ b/modules/swagger-parser-v3/src/test/resources/null-example.yaml @@ -13,7 +13,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullExample' + $ref: "#/components/schemas/ObjectWithNullExample" /object-with-null-in-schema-example: get: @@ -24,7 +24,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullInSchemaExample' + $ref: "#/components/schemas/ObjectWithNullInSchemaExample" /object-with-null-property-example: get: @@ -35,7 +35,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullPropertyExample' + $ref: "#/components/schemas/ObjectWithNullPropertyExample" /string-with-null-example: get: @@ -46,7 +46,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/StringWithNullExample' + $ref: "#/components/schemas/StringWithNullExample" /array-with-null-array-example: get: @@ -57,7 +57,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullArrayExample' + $ref: "#/components/schemas/ArrayWithNullArrayExample" /array-with-null-item-example: get: @@ -68,7 +68,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullItemExample' + $ref: "#/components/schemas/ArrayWithNullItemExample" /arrey-with-null-in-array-example: get: @@ -79,7 +79,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullInArrayExample' + $ref: "#/components/schemas/ArrayWithNullInArrayExample" components: schemas: diff --git a/modules/swagger-parser-v3/src/test/resources/null-full-example.yaml b/modules/swagger-parser-v3/src/test/resources/null-full-example.yaml index 81124e714e..b454570d59 100644 --- a/modules/swagger-parser-v3/src/test/resources/null-full-example.yaml +++ b/modules/swagger-parser-v3/src/test/resources/null-full-example.yaml @@ -13,7 +13,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullExample' + $ref: "#/components/schemas/ObjectWithNullExample" /object-with-null-in-schema-example: get: @@ -24,7 +24,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullInSchemaExample' + $ref: "#/components/schemas/ObjectWithNullInSchemaExample" /object-with-null-property-example: get: @@ -35,7 +35,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithNullPropertyExample' + $ref: "#/components/schemas/ObjectWithNullPropertyExample" /string-with-null-example: get: @@ -46,7 +46,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/StringWithNullExample' + $ref: "#/components/schemas/StringWithNullExample" /array-with-null-array-example: get: @@ -57,7 +57,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullArrayExample' + $ref: "#/components/schemas/ArrayWithNullArrayExample" /array-with-null-item-example: get: @@ -68,7 +68,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullItemExample' + $ref: "#/components/schemas/ArrayWithNullItemExample" /arrey-with-null-in-array-example: get: @@ -79,7 +79,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithNullInArrayExample' + $ref: "#/components/schemas/ArrayWithNullInArrayExample" /object-without-null-example: get: @@ -90,7 +90,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithoutNullExample' + $ref: "#/components/schemas/ObjectWithoutNullExample" /object-without-null-in-schema-example: get: @@ -101,7 +101,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithoutNullInSchemaExample' + $ref: "#/components/schemas/ObjectWithoutNullInSchemaExample" /object-without-null-property-example: get: @@ -112,7 +112,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ObjectWithoutNullPropertyExample' + $ref: "#/components/schemas/ObjectWithoutNullPropertyExample" /string-without-null-example: get: @@ -123,7 +123,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/StringWithoutNullExample' + $ref: "#/components/schemas/StringWithoutNullExample" /array-without-null-array-example: get: @@ -134,7 +134,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithoutNullArrayExample' + $ref: "#/components/schemas/ArrayWithoutNullArrayExample" /array-without-null-item-example: get: @@ -145,7 +145,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithoutNullItemExample' + $ref: "#/components/schemas/ArrayWithoutNullItemExample" /arrey-without-null-in-array-example: get: @@ -156,7 +156,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ArrayWithoutNullInArrayExample' + $ref: "#/components/schemas/ArrayWithoutNullInArrayExample" components: schemas: ObjectWithNullExample: diff --git a/modules/swagger-parser-v3/src/test/resources/oas.yaml b/modules/swagger-parser-v3/src/test/resources/oas.yaml index 164a8ffad7..37fac9a059 100644 --- a/modules/swagger-parser-v3/src/test/resources/oas.yaml +++ b/modules/swagger-parser-v3/src/test/resources/oas.yaml @@ -182,7 +182,7 @@ components: content: application/json: schema: - $ref: '#/components/schemas/ExtendedErrorModel' + $ref: "#/components/schemas/ExtendedErrorModel" examples: cat: summary: An example of a cat diff --git a/modules/swagger-parser-v3/src/test/resources/oas4.yaml b/modules/swagger-parser-v3/src/test/resources/oas4.yaml index 79cea6e10b..97f368d239 100644 --- a/modules/swagger-parser-v3/src/test/resources/oas4.yaml +++ b/modules/swagger-parser-v3/src/test/resources/oas4.yaml @@ -31,13 +31,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/three_d_secure' + $ref: "#/components/schemas/three_d_secure" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" requestBody: content: application/x-www-form-urlencoded: @@ -115,13 +115,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/three_d_secure' + $ref: "#/components/schemas/three_d_secure" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" /v1/account: delete: description: >- @@ -140,13 +140,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/account' + $ref: "#/components/schemas/account" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" requestBody: content: application/x-www-form-urlencoded: @@ -193,13 +193,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/account' + $ref: "#/components/schemas/account" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" post: description: >-
Updates an account by setting the values of the parameters passed. @@ -218,15 +218,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/account' + $ref: "#/components/schemas/account" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" requestBody: - $ref: '#/components/requestBodies/payload' + $ref: "#/components/requestBodies/payload" /v1/account/bank_accounts: post: description: '' @@ -238,15 +238,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/external_account_source' + $ref: "#/components/schemas/external_account_source" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" requestBody: - $ref: '#/components/requestBodies/payload2' + $ref: "#/components/requestBodies/payload2" '/v1/account/bank_accounts/{id}': delete: description: '' @@ -264,15 +264,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/external_account_source' + $ref: "#/components/schemas/external_account_source" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" requestBody: - $ref: '#/components/requestBodies/payload3' + $ref: "#/components/requestBodies/payload3" get: description: '' operationId: RetrieveAccountExternalAccount @@ -295,13 +295,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/external_account_source' + $ref: "#/components/schemas/external_account_source" default: description: Error response. content: application/json: schema: - $ref: '#/components/schemas/error' + $ref: "#/components/schemas/error" post: description: >-
Updates the metadata of a bank account belonging to a -
True if this list has another page of items after this one
@@ -424,7 +424,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateAccountExternalAccount
@@ -435,15 +435,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload2'
+ $ref: "#/components/requestBodies/payload2"
'/v1/account/external_accounts/{id}':
delete:
description: ''
@@ -461,15 +461,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveAccountExternalAccount
@@ -492,13 +492,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the metadata of a bank account belonging to a -
True if this list has another page of items after this one
@@ -674,7 +674,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: AccountCreate
@@ -685,13 +685,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/account_with_keys'
+ $ref: "#/components/schemas/account_with_keys"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -902,15 +902,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/account'
+ $ref: "#/components/schemas/account"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: Retrieves the details of the account. Updates an account by setting the values of the parameters passed.
@@ -960,15 +960,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/account'
+ $ref: "#/components/schemas/account"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload'
+ $ref: "#/components/requestBodies/payload"
'/v1/accounts/{account}/bank_accounts':
post:
description: ''
@@ -980,15 +980,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload2'
+ $ref: "#/components/requestBodies/payload2"
'/v1/accounts/{account}/bank_accounts/{id}':
delete:
description: ''
@@ -1006,15 +1006,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveAccountExternalAccount
@@ -1037,13 +1037,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the metadata of a bank account belonging to a -
True if this list has another page of items after this one
@@ -1166,7 +1166,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateAccountExternalAccount
@@ -1177,15 +1177,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload2'
+ $ref: "#/components/requestBodies/payload2"
'/v1/accounts/{account}/external_accounts/{id}':
delete:
description: ''
@@ -1203,15 +1203,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveAccountExternalAccount
@@ -1234,13 +1234,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/external_account_source'
+ $ref: "#/components/schemas/external_account_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the metadata of a bank account belonging to a -
True if this list has another page of items after this one
@@ -1471,7 +1471,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateApplePayDomain
@@ -1482,13 +1482,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/apple_pay_domain'
+ $ref: "#/components/schemas/apple_pay_domain"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -1528,15 +1528,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/apple_pay_domain'
+ $ref: "#/components/schemas/apple_pay_domain"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveApplePayDomain
@@ -1559,13 +1559,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/apple_pay_domain'
+ $ref: "#/components/schemas/apple_pay_domain"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
/v1/application_fees:
get:
description: >-
@@ -1635,7 +1635,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/platform_earning'
+ $ref: "#/components/schemas/platform_earning"
has_more:
description: >-
True if this list has another page of items after this one
@@ -1676,7 +1676,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/application_fees/{fee}/refunds/{id}':
get:
description: >-
@@ -1709,13 +1709,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specified application fee refund by setting the values of
@@ -1729,13 +1729,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -1786,13 +1786,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/platform_earning'
+ $ref: "#/components/schemas/platform_earning"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/application_fees/{id}/refund':
post:
description: ''
@@ -1810,13 +1810,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/platform_earning'
+ $ref: "#/components/schemas/platform_earning"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -1906,7 +1906,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
has_more:
description: >-
True if this list has another page of items after this one
@@ -1946,7 +1946,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreatePlatformEarningRefund
@@ -1963,13 +1963,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -2019,13 +2019,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/balance'
+ $ref: "#/components/schemas/balance"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
/v1/balance/history:
get:
description: >-
@@ -2123,7 +2123,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/balance_transaction'
+ $ref: "#/components/schemas/balance_transaction"
has_more:
description: >-
True if this list has another page of items after this one
@@ -2165,7 +2165,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/balance/history/{id}':
get:
description: Retrieves the balance transaction with the given ID. Creates a Bitcoin receiver object that can be used to accept bitcoin
@@ -2502,13 +2502,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/bitcoin_receiver'
+ $ref: "#/components/schemas/bitcoin_receiver"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -2585,15 +2585,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/bitcoin_receiver'
+ $ref: "#/components/schemas/bitcoin_receiver"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: Retrieves the Bitcoin receiver with the given ID. Updates the specified charge by setting the values of the parameters
@@ -3317,13 +3317,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/charge'
+ $ref: "#/components/schemas/charge"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -3420,13 +3420,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/charge'
+ $ref: "#/components/schemas/charge"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -3513,13 +3513,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/dispute'
+ $ref: "#/components/schemas/dispute"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: UpdateChargeDispute
@@ -3536,15 +3536,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/dispute'
+ $ref: "#/components/schemas/dispute"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload7'
+ $ref: "#/components/requestBodies/payload7"
'/v1/charges/{charge}/dispute/close':
post:
description: ''
@@ -3562,15 +3562,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/dispute'
+ $ref: "#/components/schemas/dispute"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
'/v1/charges/{charge}/refund':
post:
description: ''
@@ -3588,15 +3588,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/charge'
+ $ref: "#/components/schemas/charge"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload6'
+ $ref: "#/components/requestBodies/payload6"
'/v1/charges/{charge}/refunds':
get:
description: >-
@@ -3660,7 +3660,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
has_more:
description: >-
True if this list has another page of items after this one
@@ -3700,7 +3700,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateChargeRefund
@@ -3717,13 +3717,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -3798,13 +3798,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: UpdateChargeRefund
@@ -3821,15 +3821,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload8'
+ $ref: "#/components/requestBodies/payload8"
/v1/country_specs:
get:
description: Lists all Country Spec objects available in the API. Returns a Country Spec for a given Country code. Returns a list of your coupons. You can create coupons easily via the Retrieves the coupon with the given ID. Updates the metadata of a coupon. Other coupon details (currency,
@@ -4261,13 +4261,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/coupon'
+ $ref: "#/components/schemas/coupon"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -4351,7 +4351,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/customer'
+ $ref: "#/components/schemas/customer"
has_more:
description: >-
True if this list has another page of items after this one
@@ -4392,7 +4392,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: Creates a new customer object. Retrieves the details of an existing customer. You need only supply
@@ -4465,13 +4465,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer'
+ $ref: "#/components/schemas/customer"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CustomerUpdateWithPlan
@@ -4488,15 +4488,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer'
+ $ref: "#/components/schemas/customer"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload9'
+ $ref: "#/components/requestBodies/payload9"
'/v1/customers/{customer}/alipay_accounts':
get:
description: ''
@@ -4555,7 +4555,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/alipay_account'
+ $ref: "#/components/schemas/alipay_account"
has_more:
description: >-
True if this list has another page of items after this one
@@ -4595,7 +4595,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateCustomerSource
@@ -4606,15 +4606,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer_source'
+ $ref: "#/components/schemas/customer_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload10'
+ $ref: "#/components/requestBodies/payload10"
'/v1/customers/{customer}/alipay_accounts/{id}':
delete:
description: ''
@@ -4632,15 +4632,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer_source'
+ $ref: "#/components/schemas/customer_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveCustomerAlipayAccount
@@ -4663,13 +4663,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/alipay_account'
+ $ref: "#/components/schemas/alipay_account"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/customers/{customer}/bank_accounts':
get:
description: >-
@@ -4733,7 +4733,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/bank_account'
+ $ref: "#/components/schemas/bank_account"
has_more:
description: >-
True if this list has another page of items after this one
@@ -4773,7 +4773,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateCustomerSource
@@ -4784,15 +4784,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer_source'
+ $ref: "#/components/schemas/customer_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload10'
+ $ref: "#/components/requestBodies/payload10"
'/v1/customers/{customer}/bank_accounts/{id}':
delete:
description: ''
@@ -4810,15 +4810,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer_source'
+ $ref: "#/components/schemas/customer_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: >-
By default, you can see the 10 most recent sources stored on a
@@ -4850,13 +4850,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/bank_account'
+ $ref: "#/components/schemas/bank_account"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: UpdateCustomerCard
@@ -4873,15 +4873,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload11'
+ $ref: "#/components/requestBodies/payload11"
'/v1/customers/{customer}/bank_accounts/{id}/verify':
post:
description: ''
@@ -4905,15 +4905,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/bank_account'
+ $ref: "#/components/schemas/bank_account"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload12'
+ $ref: "#/components/requestBodies/payload12"
'/v1/customers/{customer}/cards':
get:
description: ''
@@ -4972,7 +4972,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
has_more:
description: >-
True if this list has another page of items after this one
@@ -5012,7 +5012,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateCustomerSource
@@ -5023,15 +5023,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer_source'
+ $ref: "#/components/schemas/customer_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload10'
+ $ref: "#/components/requestBodies/payload10"
'/v1/customers/{customer}/cards/{id}':
delete:
description: ''
@@ -5049,15 +5049,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/customer_source'
+ $ref: "#/components/schemas/customer_source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveCustomerCard
@@ -5080,13 +5080,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: UpdateCustomerCard
@@ -5103,15 +5103,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload11'
+ $ref: "#/components/requestBodies/payload11"
'/v1/customers/{customer}/discount':
delete:
description: Removes the currently applied discount on a customer. Creates a new subscription on an existing customer. Retrieves the subscription with the given ID. Updates an existing subscription on a customer to match the specified
@@ -5725,15 +5725,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/subscription'
+ $ref: "#/components/schemas/subscription"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload14'
+ $ref: "#/components/requestBodies/payload14"
'/v1/customers/{customer}/subscriptions/{subscription_exposed_id}/discount':
delete:
description: Removes the currently applied discount on a customer. Returns a list of your disputes. Retrieves the dispute with the given ID. When you get a dispute, contacting your customer is always the best
@@ -5939,15 +5939,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/dispute'
+ $ref: "#/components/schemas/dispute"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload7'
+ $ref: "#/components/requestBodies/payload7"
'/v1/disputes/{dispute}/close':
post:
description: >-
@@ -5970,15 +5970,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/dispute'
+ $ref: "#/components/schemas/dispute"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
/v1/events:
get:
description: ' List events, going back up to 30 days. Resend an event. This only works in testmode Adds an arbitrary charge or credit to the customer’s upcoming
@@ -6278,13 +6278,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/invoice_item'
+ $ref: "#/components/schemas/invoice_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -6395,15 +6395,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/invoice_item'
+ $ref: "#/components/schemas/invoice_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: Retrieves the invoice item with the given ID. Updates the amount or description of an invoice item on an upcoming
@@ -6446,13 +6446,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/invoice_item'
+ $ref: "#/components/schemas/invoice_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -6576,7 +6576,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/invoice'
+ $ref: "#/components/schemas/invoice"
has_more:
description: >-
True if this list has another page of items after this one
@@ -6617,7 +6617,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
If you need to invoice your customer outside the regular billing
@@ -6634,13 +6634,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/invoice'
+ $ref: "#/components/schemas/invoice"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -6843,13 +6843,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/upcoming_invoice'
+ $ref: "#/components/schemas/upcoming_invoice"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/invoices/{invoice}':
get:
description: Retrieves the invoice with the given ID. Until an invoice is paid, it is marked as open (closed=false). If
@@ -6894,13 +6894,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/invoice'
+ $ref: "#/components/schemas/invoice"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -7125,7 +7125,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/invoice_line_item'
+ $ref: "#/components/schemas/invoice_line_item"
has_more:
description: >-
True if this list has another page of items after this one
@@ -7165,7 +7165,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/invoices/{invoice}/pay':
post:
description: >-
@@ -7189,15 +7189,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/invoice'
+ $ref: "#/components/schemas/invoice"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
/v1/order_returns:
get:
description: >-
@@ -7265,7 +7265,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/order_return'
+ $ref: "#/components/schemas/order_return"
has_more:
description: >-
True if this list has another page of items after this one
@@ -7306,7 +7306,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
'/v1/order_returns/{id}':
get:
description: >-
@@ -7334,13 +7334,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/order_return'
+ $ref: "#/components/schemas/order_return"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
/v1/orders:
get:
description: >-
@@ -7436,7 +7436,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/order'
+ $ref: "#/components/schemas/order"
has_more:
description: >-
True if this list has another page of items after this one
@@ -7477,7 +7477,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateOrder
@@ -7488,13 +7488,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/order'
+ $ref: "#/components/schemas/order"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -7591,13 +7591,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/order'
+ $ref: "#/components/schemas/order"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specific order by setting the values of the parameters
@@ -7618,13 +7618,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/order'
+ $ref: "#/components/schemas/order"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -7696,13 +7696,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/order'
+ $ref: "#/components/schemas/order"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -7789,13 +7789,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/order_return'
+ $ref: "#/components/schemas/order_return"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -7880,7 +7880,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/charge'
+ $ref: "#/components/schemas/charge"
has_more:
description: >-
True if this list has another page of items after this one
@@ -7921,7 +7921,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreatePayment
@@ -7932,15 +7932,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/charge'
+ $ref: "#/components/schemas/charge"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload5'
+ $ref: "#/components/requestBodies/payload5"
'/v1/payments/{payment}':
get:
description: ''
@@ -7964,13 +7964,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/charge'
+ $ref: "#/components/schemas/charge"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
/v1/payouts:
get:
description: >-
@@ -8054,7 +8054,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/payout'
+ $ref: "#/components/schemas/payout"
has_more:
description: >-
True if this list has another page of items after this one
@@ -8096,7 +8096,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
To send funds to your own bank account, you create a new payout
@@ -8116,13 +8116,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/payout'
+ $ref: "#/components/schemas/payout"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -8227,13 +8227,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/payout'
+ $ref: "#/components/schemas/payout"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specified payout by setting the values of the parameters
@@ -8253,13 +8253,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/payout'
+ $ref: "#/components/schemas/payout"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -8304,15 +8304,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/payout'
+ $ref: "#/components/schemas/payout"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
/v1/plans:
get:
description: Returns a list of your plans. You can create plans easily via the Retrieves the plan with the given ID. Updates the name of a plan. Other plan details (price, interval,
@@ -8617,13 +8617,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/plan'
+ $ref: "#/components/schemas/plan"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -8762,7 +8762,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/product'
+ $ref: "#/components/schemas/product"
has_more:
description: >-
True if this list has another page of items after this one
@@ -8803,7 +8803,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: Creates a new product object. Retrieves the details of an existing product. Supply the unique
@@ -8973,13 +8973,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/product'
+ $ref: "#/components/schemas/product"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specific product by setting the values of the parameters
@@ -8995,13 +8995,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/product'
+ $ref: "#/components/schemas/product"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -9170,7 +9170,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/transfer_recipient'
+ $ref: "#/components/schemas/transfer_recipient"
has_more:
description: >-
True if this list has another page of items after this one
@@ -9211,7 +9211,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: TransferRecipientCreate
@@ -9222,13 +9222,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/transfer_recipient'
+ $ref: "#/components/schemas/transfer_recipient"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -9306,15 +9306,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/transfer_recipient'
+ $ref: "#/components/schemas/transfer_recipient"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: >-
Retrieves the details of an existing recipient. You need only supply
@@ -9340,13 +9340,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/transfer_recipient'
+ $ref: "#/components/schemas/transfer_recipient"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: TransferRecipientUpdate
@@ -9363,13 +9363,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/transfer_recipient'
+ $ref: "#/components/schemas/transfer_recipient"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -9490,7 +9490,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
has_more:
description: >-
True if this list has another page of items after this one
@@ -9530,7 +9530,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateTransferRecipientCard
@@ -9541,13 +9541,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -9599,15 +9599,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload3'
+ $ref: "#/components/requestBodies/payload3"
get:
description: ''
operationId: RetrieveTransferRecipientCard
@@ -9636,13 +9636,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: UpdateTransferRecipientCard
@@ -9653,13 +9653,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -9782,7 +9782,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
has_more:
description: >-
True if this list has another page of items after this one
@@ -9823,7 +9823,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: ''
operationId: CreateChargeRefund
@@ -9834,13 +9834,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -9916,13 +9916,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specified refund by setting the values of the parameters
@@ -9936,15 +9936,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload8'
+ $ref: "#/components/requestBodies/payload8"
/v1/skus:
get:
description: >-
@@ -10040,7 +10040,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/sku'
+ $ref: "#/components/schemas/sku"
has_more:
description: >-
True if this list has another page of items after this one
@@ -10081,7 +10081,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: Creates a new SKU associated with a product. Retrieves the details of an existing SKU. Supply the unique SKU
@@ -10244,13 +10244,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/sku'
+ $ref: "#/components/schemas/sku"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specific SKU by setting the values of the parameters
@@ -10266,13 +10266,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/sku'
+ $ref: "#/components/schemas/sku"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -10365,13 +10365,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/source'
+ $ref: "#/components/schemas/source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -10494,13 +10494,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/source'
+ $ref: "#/components/schemas/source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the specified source by setting the values of the parameters
@@ -10515,13 +10515,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/source'
+ $ref: "#/components/schemas/source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -10569,13 +10569,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/source'
+ $ref: "#/components/schemas/source"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -10658,7 +10658,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/subscription_item'
+ $ref: "#/components/schemas/subscription_item"
has_more:
description: >-
True if this list has another page of items after this one
@@ -10699,7 +10699,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Adds a new item to an existing subscription. No existing items will
@@ -10712,13 +10712,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/subscription_item'
+ $ref: "#/components/schemas/subscription_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -10790,13 +10790,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/subscription_item'
+ $ref: "#/components/schemas/subscription_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -10851,13 +10851,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/subscription_item'
+ $ref: "#/components/schemas/subscription_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: >-
Updates the plan or quantity of an item on a current
@@ -10876,13 +10876,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/subscription_item'
+ $ref: "#/components/schemas/subscription_item"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -11011,7 +11011,7 @@ paths:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/subscription'
+ $ref: "#/components/schemas/subscription"
has_more:
description: >-
True if this list has another page of items after this one
@@ -11052,7 +11052,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
post:
description: Creates a new subscription on an existing customer. Retrieves the subscription with the given ID. Updates an existing subscription on a customer to match the specified
@@ -11277,15 +11277,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/subscription'
+ $ref: "#/components/schemas/subscription"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
- $ref: '#/components/requestBodies/payload14'
+ $ref: "#/components/requestBodies/payload14"
'/v1/subscriptions/{subscription_exposed_id}/discount':
delete:
description: Removes the currently applied discount on a customer. Updates the specified reversal by setting the values of the
@@ -11903,13 +11903,13 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/transfer_reversal'
+ $ref: "#/components/schemas/transfer_reversal"
default:
description: Error response.
content:
application/json:
schema:
- $ref: '#/components/schemas/error'
+ $ref: "#/components/schemas/error"
requestBody:
content:
application/x-www-form-urlencoded:
@@ -11960,7 +11960,7 @@ components:
oneOf:
- type: boolean
decline_charge_on:
- $ref: '#/components/schemas/account_decline_charge_on'
+ $ref: "#/components/schemas/account_decline_charge_on"
default_currency:
description: The currency this account has chosen to use as the default.
oneOf:
@@ -11987,7 +11987,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/bank_account'
+ $ref: "#/components/schemas/bank_account"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -12028,7 +12028,7 @@ components:
oneOf:
- type: string
legal_entity:
- $ref: '#/components/schemas/legal_entity'
+ $ref: "#/components/schemas/legal_entity"
managed:
description: >-
Whether or not the account is
@@ -12050,7 +12050,7 @@ components:
oneOf:
- type: string
payout_schedule:
- $ref: '#/components/schemas/transfer_schedule'
+ $ref: "#/components/schemas/transfer_schedule"
payout_statement_descriptor:
description: >-
The text that will appear on the account's bank account statement
@@ -12094,9 +12094,9 @@ components:
oneOf:
- type: string
tos_acceptance:
- $ref: '#/components/schemas/account_tos_acceptance'
+ $ref: "#/components/schemas/account_tos_acceptance"
verification:
- $ref: '#/components/schemas/account_verification'
+ $ref: "#/components/schemas/account_verification"
required:
- charges_enabled
- country
@@ -12241,7 +12241,7 @@ components:
oneOf:
- type: boolean
decline_charge_on:
- $ref: '#/components/schemas/account_decline_charge_on'
+ $ref: "#/components/schemas/account_decline_charge_on"
default_currency:
description: The currency this account has chosen to use as the default.
oneOf:
@@ -12268,7 +12268,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/bank_account'
+ $ref: "#/components/schemas/bank_account"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -12313,7 +12313,7 @@ components:
oneOf:
- type: object
legal_entity:
- $ref: '#/components/schemas/legal_entity'
+ $ref: "#/components/schemas/legal_entity"
managed:
description: >-
Whether or not the account is
@@ -12335,7 +12335,7 @@ components:
oneOf:
- type: string
payout_schedule:
- $ref: '#/components/schemas/transfer_schedule'
+ $ref: "#/components/schemas/transfer_schedule"
payout_statement_descriptor:
description: >-
The text that will appear on the account's bank account statement
@@ -12379,9 +12379,9 @@ components:
oneOf:
- type: string
tos_acceptance:
- $ref: '#/components/schemas/account_tos_acceptance'
+ $ref: "#/components/schemas/account_tos_acceptance"
verification:
- $ref: '#/components/schemas/account_verification'
+ $ref: "#/components/schemas/account_verification"
required:
- charges_enabled
- country
@@ -12447,7 +12447,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
fingerprint:
@@ -12591,12 +12591,12 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/balance_transaction'
+ $ref: "#/components/schemas/balance_transaction"
card:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/issued_card'
+ - $ref: "#/components/schemas/issued_card"
oneOf:
- type: string
currency:
@@ -12620,7 +12620,7 @@ components:
oneOf:
- type: string
merchant_data:
- $ref: '#/components/schemas/merchant_data'
+ $ref: "#/components/schemas/merchant_data"
metadata:
description: >-
Set of key/value pairs that you can attach to an object. It can be
@@ -12657,7 +12657,7 @@ components:
description: ID of the Stripe account this fee was taken from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
amount:
@@ -12674,7 +12674,7 @@ components:
description: ID of the Connect application that earned the fee.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/application'
+ - $ref: "#/components/schemas/application"
oneOf:
- type: string
balance_transaction:
@@ -12683,14 +12683,14 @@ components:
application fee on your account balance (not including refunds).
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
charge:
description: ID of the charge that the application fee was taken from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -12727,8 +12727,8 @@ components:
was the result of a charge using the `destination` parameter.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
- - $ref: '#/components/schemas/transfer'
+ - $ref: "#/components/schemas/charge"
+ - $ref: "#/components/schemas/transfer"
oneOf:
- type: string
refunded:
@@ -12743,7 +12743,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -12886,7 +12886,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/fee'
+ $ref: "#/components/schemas/fee"
id:
description: Unique identifier for the object.
oneOf:
@@ -12905,20 +12905,20 @@ components:
description: The Stripe object this transaction is related to.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/bitcoin_transaction'
- - $ref: '#/components/schemas/charge'
- - $ref: '#/components/schemas/dispute'
- - $ref: '#/components/schemas/fee_refund'
- - $ref: '#/components/schemas/authorization'
- - $ref: '#/components/schemas/transaction'
- - $ref: '#/components/schemas/legacy_transfer'
- - $ref: '#/components/schemas/payout'
- - $ref: '#/components/schemas/platform_fee'
- - $ref: '#/components/schemas/refund'
- - $ref: '#/components/schemas/reserve_transaction'
- - $ref: '#/components/schemas/transfer'
- - $ref: '#/components/schemas/transfer_recipient_transfer'
- - $ref: '#/components/schemas/transfer_reversal'
+ - $ref: "#/components/schemas/bitcoin_transaction"
+ - $ref: "#/components/schemas/charge"
+ - $ref: "#/components/schemas/dispute"
+ - $ref: "#/components/schemas/fee_refund"
+ - $ref: "#/components/schemas/authorization"
+ - $ref: "#/components/schemas/transaction"
+ - $ref: "#/components/schemas/legacy_transfer"
+ - $ref: "#/components/schemas/payout"
+ - $ref: "#/components/schemas/platform_fee"
+ - $ref: "#/components/schemas/refund"
+ - $ref: "#/components/schemas/reserve_transaction"
+ - $ref: "#/components/schemas/transfer"
+ - $ref: "#/components/schemas/transfer_recipient_transfer"
+ - $ref: "#/components/schemas/transfer_reversal"
oneOf:
- type: string
status:
@@ -12960,7 +12960,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
account_holder_name:
@@ -12996,7 +12996,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
default_for_currency:
@@ -13181,7 +13181,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/bitcoin_transaction'
+ $ref: "#/components/schemas/bitcoin_transaction"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -13308,7 +13308,7 @@ components:
card object if the card belongs to a customer or recipient instead.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
address_city:
@@ -13382,7 +13382,7 @@ components:
instead.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
cvc_check:
@@ -13457,7 +13457,7 @@ components:
instead.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/transfer_recipient'
+ - $ref: "#/components/schemas/transfer_recipient"
oneOf:
- type: string
tokenization_method:
@@ -13505,7 +13505,7 @@ components:
description: ID of the Connect application that created the charge.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/application'
+ - $ref: "#/components/schemas/application"
oneOf:
- type: string
application_fee:
@@ -13515,8 +13515,8 @@ components:
details.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/backwards_compatible_platform_earning'
- - $ref: '#/components/schemas/platform_fee'
+ - $ref: "#/components/schemas/backwards_compatible_platform_earning"
+ - $ref: "#/components/schemas/platform_fee"
oneOf:
- type: string
balance_transaction:
@@ -13525,7 +13525,7 @@ components:
charge on your account balance (not including refunds or disputes).
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
captured:
@@ -13552,7 +13552,7 @@ components:
description: ID of the customer this charge is for if one exists.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
description:
@@ -13568,14 +13568,14 @@ components:
documentation](/docs/connect/destination-charges) for details.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
dispute:
description: Details about the dispute if the charge has been disputed.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/dispute'
+ - $ref: "#/components/schemas/dispute"
oneOf:
- type: string
failure_code:
@@ -13606,7 +13606,7 @@ components:
description: ID of the invoice this charge is for if one exists.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/invoice'
+ - $ref: "#/components/schemas/invoice"
oneOf:
- type: string
livemode:
@@ -13633,18 +13633,18 @@ components:
documentation](/docs/connect/charges-transfers) for details.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
order:
description: ID of the order this charge is for if one exists.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/order'
+ - $ref: "#/components/schemas/order"
oneOf:
- type: string
outcome:
- $ref: '#/components/schemas/charge_outcome'
+ $ref: "#/components/schemas/charge_outcome"
paid:
description: >-
`true` if the charge succeeded, or was successfully authorized for
@@ -13675,7 +13675,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/refund'
+ $ref: "#/components/schemas/refund"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -13714,11 +13714,11 @@ components:
description: ID of the review associated with this charge if one exists.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/review'
+ - $ref: "#/components/schemas/review"
oneOf:
- type: string
shipping:
- $ref: '#/components/schemas/shipping'
+ $ref: "#/components/schemas/shipping"
source_transfer:
description: >-
The transfer ID which created this charge. Only present if the
@@ -13726,7 +13726,7 @@ components:
documentation](/docs/connect/destination-charges) for details.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/transfer'
+ - $ref: "#/components/schemas/transfer"
oneOf:
- type: string
statement_descriptor:
@@ -13747,7 +13747,7 @@ components:
the charge was created using the `destination` parameter).
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/transfer'
+ - $ref: "#/components/schemas/transfer"
oneOf:
- type: string
transfer_group:
@@ -13821,7 +13821,7 @@ components:
description: The ID of the Radar rule that matched the payment.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/rule'
+ - $ref: "#/components/schemas/rule"
oneOf:
- type: string
seller_message:
@@ -14040,12 +14040,12 @@ components:
description: ID of the default source attached to this customer.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account_debit_account'
- - $ref: '#/components/schemas/alipay_account'
- - $ref: '#/components/schemas/bank_account'
- - $ref: '#/components/schemas/bitcoin_receiver'
- - $ref: '#/components/schemas/card'
- - $ref: '#/components/schemas/source'
+ - $ref: "#/components/schemas/account_debit_account"
+ - $ref: "#/components/schemas/alipay_account"
+ - $ref: "#/components/schemas/bank_account"
+ - $ref: "#/components/schemas/bitcoin_receiver"
+ - $ref: "#/components/schemas/card"
+ - $ref: "#/components/schemas/source"
oneOf:
- type: string
delinquent:
@@ -14061,7 +14061,7 @@ components:
oneOf:
- type: string
discount:
- $ref: '#/components/schemas/discount'
+ $ref: "#/components/schemas/discount"
email:
description: The customer's email address.
oneOf:
@@ -14088,14 +14088,14 @@ components:
oneOf:
- type: string
shipping:
- $ref: '#/components/schemas/customer_shipping'
+ $ref: "#/components/schemas/customer_shipping"
sources:
properties:
data:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/account_debit_account'
+ $ref: "#/components/schemas/account_debit_account"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -14137,7 +14137,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/subscription'
+ $ref: "#/components/schemas/subscription"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -14190,7 +14190,7 @@ components:
customer_shipping:
properties:
address:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
name:
description: Customer name.
oneOf:
@@ -14213,7 +14213,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
id:
@@ -14241,11 +14241,11 @@ components:
- customer
x-polymorphicResources:
oneOf:
- - $ref: '#/components/schemas/alipay_account'
- - $ref: '#/components/schemas/bank_account'
- - $ref: '#/components/schemas/bitcoin_receiver'
- - $ref: '#/components/schemas/card'
- - $ref: '#/components/schemas/source'
+ - $ref: "#/components/schemas/alipay_account"
+ - $ref: "#/components/schemas/bank_account"
+ - $ref: "#/components/schemas/bitcoin_receiver"
+ - $ref: "#/components/schemas/card"
+ - $ref: "#/components/schemas/source"
x-resourceId: customer_source
oneOf:
- type: object
@@ -14283,12 +14283,12 @@ components:
discount:
properties:
coupon:
- $ref: '#/components/schemas/coupon'
+ $ref: "#/components/schemas/coupon"
customer:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
end:
@@ -14337,12 +14337,12 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/balance_transaction'
+ $ref: "#/components/schemas/balance_transaction"
charge:
description: ID of the charge that was disputed.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -14500,7 +14500,7 @@ components:
oneOf:
- type: integer
data:
- $ref: '#/components/schemas/event_data'
+ $ref: "#/components/schemas/event_data"
id:
description: Unique identifier for the object.
oneOf:
@@ -14578,7 +14578,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
country:
@@ -14598,7 +14598,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
default_for_currency:
@@ -14646,8 +14646,8 @@ components:
- customer
x-polymorphicResources:
oneOf:
- - $ref: '#/components/schemas/bank_account'
- - $ref: '#/components/schemas/card'
+ - $ref: "#/components/schemas/bank_account"
+ - $ref: "#/components/schemas/card"
x-resourceId: external_account_source
oneOf:
- type: object
@@ -14700,7 +14700,7 @@ components:
balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
created:
@@ -14721,7 +14721,7 @@ components:
description: ID of the application fee that was refunded.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/platform_fee'
+ - $ref: "#/components/schemas/platform_fee"
oneOf:
- type: string
id:
@@ -14880,7 +14880,7 @@ components:
description: 'ID of the latest charge generated for this invoice, if any.'
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
closed:
@@ -14902,7 +14902,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
date:
@@ -14918,7 +14918,7 @@ components:
oneOf:
- type: string
discount:
- $ref: '#/components/schemas/discount'
+ $ref: "#/components/schemas/discount"
ending_balance:
description: >-
Ending customer balance after attempting to pay invoice. If the
@@ -14943,7 +14943,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/invoice_line_item'
+ $ref: "#/components/schemas/invoice_line_item"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -15041,7 +15041,7 @@ components:
description: 'The subscription that this invoice was prepared for, if any.'
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/subscription'
+ - $ref: "#/components/schemas/subscription"
oneOf:
- type: string
subscription_proration_date:
@@ -15132,7 +15132,7 @@ components:
billed.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
date:
@@ -15159,7 +15159,7 @@ components:
description: The ID of the invoice this invoice item belongs to.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/invoice'
+ - $ref: "#/components/schemas/invoice"
oneOf:
- type: string
livemode:
@@ -15184,7 +15184,7 @@ components:
oneOf:
- type: object
plan:
- $ref: '#/components/schemas/plan'
+ $ref: "#/components/schemas/plan"
proration:
description: >-
Whether or not the invoice item was created automatically as a
@@ -15203,7 +15203,7 @@ components:
any.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/subscription'
+ - $ref: "#/components/schemas/subscription"
oneOf:
- type: string
subscription_item:
@@ -15287,7 +15287,7 @@ components:
oneOf:
- type: object
plan:
- $ref: '#/components/schemas/plan'
+ $ref: "#/components/schemas/plan"
proration:
description: Whether or not this is a proration.
oneOf:
@@ -15341,7 +15341,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/card'
+ - $ref: "#/components/schemas/card"
oneOf:
- type: string
currency:
@@ -15395,7 +15395,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/backwards_compatible_platform_earning'
+ - $ref: "#/components/schemas/backwards_compatible_platform_earning"
oneOf:
- type: string
balance_transaction:
@@ -15404,7 +15404,7 @@ components:
your account balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
created:
@@ -15437,9 +15437,9 @@ components:
sent to.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
- - $ref: '#/components/schemas/bank_account'
- - $ref: '#/components/schemas/card'
+ - $ref: "#/components/schemas/account"
+ - $ref: "#/components/schemas/bank_account"
+ - $ref: "#/components/schemas/card"
oneOf:
- type: string
destination_payment:
@@ -15448,7 +15448,7 @@ components:
payment that the destination account received for the transfer.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
failure_code:
@@ -15500,7 +15500,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/transfer_reversal'
+ $ref: "#/components/schemas/transfer_reversal"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -15548,9 +15548,9 @@ components:
balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
- - $ref: '#/components/schemas/platform_fee'
- - $ref: '#/components/schemas/transfer_reversal'
+ - $ref: "#/components/schemas/charge"
+ - $ref: "#/components/schemas/platform_fee"
+ - $ref: "#/components/schemas/transfer_reversal"
oneOf:
- type: string
source_type:
@@ -15617,13 +15617,13 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/legal_entity_additional_owner'
+ $ref: "#/components/schemas/legal_entity_additional_owner"
address:
- $ref: '#/components/schemas/legal_entity_address'
+ $ref: "#/components/schemas/legal_entity_address"
address_kana:
- $ref: '#/components/schemas/legal_entity_japan_address'
+ $ref: "#/components/schemas/legal_entity_japan_address"
address_kanji:
- $ref: '#/components/schemas/legal_entity_japan_address'
+ $ref: "#/components/schemas/legal_entity_japan_address"
business_name:
description: The legal name of the company.
oneOf:
@@ -15649,7 +15649,7 @@ components:
oneOf:
- type: boolean
dob:
- $ref: '#/components/schemas/legal_entity_dob'
+ $ref: "#/components/schemas/legal_entity_dob"
first_name:
description: The first name of the individual responsible for the account.
oneOf:
@@ -15693,11 +15693,11 @@ components:
oneOf:
- type: string
personal_address:
- $ref: '#/components/schemas/legal_entity_address'
+ $ref: "#/components/schemas/legal_entity_address"
personal_address_kana:
- $ref: '#/components/schemas/legal_entity_japan_address'
+ $ref: "#/components/schemas/legal_entity_japan_address"
personal_address_kanji:
- $ref: '#/components/schemas/legal_entity_japan_address'
+ $ref: "#/components/schemas/legal_entity_japan_address"
personal_id_number_provided:
description: >-
Whether the personal id number of the individual responsible for the
@@ -15721,7 +15721,7 @@ components:
oneOf:
- type: string
verification:
- $ref: '#/components/schemas/legal_entity_verification'
+ $ref: "#/components/schemas/legal_entity_verification"
required:
- address
- business_tax_id_provided
@@ -15739,9 +15739,9 @@ components:
legal_entity_additional_owner:
properties:
address:
- $ref: '#/components/schemas/legal_entity_address'
+ $ref: "#/components/schemas/legal_entity_address"
dob:
- $ref: '#/components/schemas/legal_entity_dob'
+ $ref: "#/components/schemas/legal_entity_dob"
first_name:
description: The first name of this additional owner.
oneOf:
@@ -15751,7 +15751,7 @@ components:
oneOf:
- type: string
verification:
- $ref: '#/components/schemas/legal_entity_verification'
+ $ref: "#/components/schemas/legal_entity_verification"
required:
- address
- dob
@@ -15873,7 +15873,7 @@ components:
or local ID card.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/file'
+ - $ref: "#/components/schemas/file"
oneOf:
- type: string
status:
@@ -15973,7 +15973,7 @@ components:
order status is `paid`, `fulfilled`, or `refunded`.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -15994,7 +15994,7 @@ components:
description: The customer used for the order.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
email:
@@ -16010,7 +16010,7 @@ components:
oneOf:
- type: string
items:
- $ref: '#/components/schemas/order_item'
+ $ref: "#/components/schemas/order_item"
livemode:
description: Flag indicating whether the object exists in live mode or test mode.
oneOf:
@@ -16034,7 +16034,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/order_return'
+ $ref: "#/components/schemas/order_return"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -16079,9 +16079,9 @@ components:
oneOf:
- type: string
shipping:
- $ref: '#/components/schemas/shipping'
+ $ref: "#/components/schemas/shipping"
shipping_methods:
- $ref: '#/components/schemas/shipping_method'
+ $ref: "#/components/schemas/shipping_method"
status:
description: >-
Current order status. One of `created`, `paid`, `canceled`,
@@ -16090,7 +16090,7 @@ components:
oneOf:
- type: string
status_transitions:
- $ref: '#/components/schemas/status_transitions'
+ $ref: "#/components/schemas/status_transitions"
updated:
description: ''
oneOf:
@@ -16151,8 +16151,8 @@ components:
not null (e.g., expandable to a SKU).
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/discount'
- - $ref: '#/components/schemas/sku'
+ - $ref: "#/components/schemas/discount"
+ - $ref: "#/components/schemas/sku"
oneOf:
- type: string
quantity:
@@ -16208,7 +16208,7 @@ components:
oneOf:
- type: string
items:
- $ref: '#/components/schemas/order_item'
+ $ref: "#/components/schemas/order_item"
livemode:
description: Flag indicating whether the object exists in live mode or test mode.
oneOf:
@@ -16223,14 +16223,14 @@ components:
description: The order that this return includes items from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/order'
+ - $ref: "#/components/schemas/order"
oneOf:
- type: string
refund:
description: The ID of the refund issued for this return.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/refund'
+ - $ref: "#/components/schemas/refund"
oneOf:
- type: string
required:
@@ -16294,7 +16294,7 @@ components:
payout on your account balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
created:
@@ -16315,8 +16315,8 @@ components:
description: ID of the bank account or card the payout was sent to.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/bank_account'
- - $ref: '#/components/schemas/card'
+ - $ref: "#/components/schemas/bank_account"
+ - $ref: "#/components/schemas/card"
oneOf:
- type: string
failure_balance_transaction:
@@ -16326,7 +16326,7 @@ components:
and puts the funds from the failed payout back in your balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
failure_code:
@@ -16512,7 +16512,7 @@ components:
description: ID of the Stripe account this fee was taken from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
amount:
@@ -16529,7 +16529,7 @@ components:
description: ID of the Connect application that earned the fee.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/application'
+ - $ref: "#/components/schemas/application"
oneOf:
- type: string
balance_transaction:
@@ -16538,14 +16538,14 @@ components:
application fee on your account balance (not including refunds).
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
charge:
description: ID of the charge that the application fee was taken from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -16582,8 +16582,8 @@ components:
was the result of a charge using the `destination` parameter.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
- - $ref: '#/components/schemas/transfer'
+ - $ref: "#/components/schemas/charge"
+ - $ref: "#/components/schemas/transfer"
oneOf:
- type: string
refunded:
@@ -16598,7 +16598,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -16663,7 +16663,7 @@ components:
description: ID of the Stripe account this fee was taken from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
amount:
@@ -16678,7 +16678,7 @@ components:
description: ID of the Connect Application that earned the fee.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/application'
+ - $ref: "#/components/schemas/application"
oneOf:
- type: string
balance_transaction:
@@ -16687,14 +16687,14 @@ components:
application fee on your account balance (not including refunds).
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
charge:
description: ID of the charge that the application fee was taken from.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -16731,8 +16731,8 @@ components:
was the result of a charge using the `destination` parameter.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
- - $ref: '#/components/schemas/transfer'
+ - $ref: "#/components/schemas/charge"
+ - $ref: "#/components/schemas/transfer"
oneOf:
- type: string
refunded:
@@ -16747,7 +16747,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/fee_refund'
+ $ref: "#/components/schemas/fee_refund"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -16872,7 +16872,7 @@ components:
oneOf:
- type: string
package_dimensions:
- $ref: '#/components/schemas/package_dimensions'
+ $ref: "#/components/schemas/package_dimensions"
shippable:
description: Whether this product is a shipped good.
oneOf:
@@ -16883,7 +16883,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/sku'
+ $ref: "#/components/schemas/sku"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -16955,14 +16955,14 @@ components:
balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
charge:
description: ID of the charge that was refunded.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -17081,7 +17081,7 @@ components:
description: The charge associated with this review.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
created:
@@ -17157,7 +17157,7 @@ components:
shipping:
properties:
address:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
carrier:
description: >-
The delivery service that shipped a physical product, such as Fedex,
@@ -17205,7 +17205,7 @@ components:
oneOf:
- type: string
delivery_estimate:
- $ref: '#/components/schemas/delivery_estimate'
+ $ref: "#/components/schemas/delivery_estimate"
description:
description: >-
An arbitrary string attached to the object. Often useful for
@@ -17265,7 +17265,7 @@ components:
oneOf:
- type: string
inventory:
- $ref: '#/components/schemas/inventory'
+ $ref: "#/components/schemas/inventory"
livemode:
description: Flag indicating whether the object exists in live mode or test mode.
oneOf:
@@ -17284,7 +17284,7 @@ components:
oneOf:
- type: string
package_dimensions:
- $ref: '#/components/schemas/package_dimensions'
+ $ref: "#/components/schemas/package_dimensions"
price:
description: >-
The cost of the item as a positive integer in the smallest currency
@@ -17298,7 +17298,7 @@ components:
be currently active.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/product'
+ - $ref: "#/components/schemas/product"
oneOf:
- type: string
updated:
@@ -17340,7 +17340,7 @@ components:
oneOf:
- type: string
code_verification:
- $ref: '#/components/schemas/source_code_verification_flow'
+ $ref: "#/components/schemas/source_code_verification_flow"
created:
description: >-
Time at which the object was created. Measured in seconds since the
@@ -17384,11 +17384,11 @@ components:
oneOf:
- type: string
owner:
- $ref: '#/components/schemas/source_owner'
+ $ref: "#/components/schemas/source_owner"
receiver:
- $ref: '#/components/schemas/source_receiver_flow'
+ $ref: "#/components/schemas/source_receiver_flow"
redirect:
- $ref: '#/components/schemas/source_redirect_flow'
+ $ref: "#/components/schemas/source_redirect_flow"
status:
description: >-
The status of the charge, one of `canceled`, `chargeable`,
@@ -17450,7 +17450,7 @@ components:
source_owner:
properties:
address:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
email:
description: Owner's email address.
oneOf:
@@ -17464,7 +17464,7 @@ components:
oneOf:
- type: string
verified_address:
- $ref: '#/components/schemas/address'
+ $ref: "#/components/schemas/address"
verified_email:
description: Verified owner's email address.
oneOf:
@@ -17621,11 +17621,11 @@ components:
description: ID of the customer who owns the subscription.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
discount:
- $ref: '#/components/schemas/discount'
+ $ref: "#/components/schemas/discount"
ended_at:
description: >-
If the subscription has ended (either because it was canceled or
@@ -17643,7 +17643,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/subscription_item'
+ $ref: "#/components/schemas/subscription_item"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -17696,7 +17696,7 @@ components:
oneOf:
- type: string
plan:
- $ref: '#/components/schemas/plan'
+ $ref: "#/components/schemas/plan"
quantity:
description: >-
The quantity of the plan to which the customer should be subscribed.
@@ -17775,7 +17775,7 @@ components:
oneOf:
- type: string
plan:
- $ref: '#/components/schemas/plan'
+ $ref: "#/components/schemas/plan"
quantity:
description: >-
The [quantity](/docs/subscriptions/quantities) of the plan to which
@@ -17806,7 +17806,7 @@ components:
oneOf:
- type: boolean
card:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
created:
description: >-
Time at which the object was created. Measured in seconds since the
@@ -17872,9 +17872,9 @@ components:
token:
properties:
bank_account:
- $ref: '#/components/schemas/token_bank_account'
+ $ref: "#/components/schemas/token_bank_account"
card:
- $ref: '#/components/schemas/token_card'
+ $ref: "#/components/schemas/token_card"
client_ip:
description: IP address of the client that generated the token.
oneOf:
@@ -18151,21 +18151,21 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/authorization'
+ - $ref: "#/components/schemas/authorization"
oneOf:
- type: string
balance_transaction:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
card:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/issued_card'
+ - $ref: "#/components/schemas/issued_card"
oneOf:
- type: string
currency:
@@ -18181,7 +18181,7 @@ components:
oneOf:
- type: string
merchant_data:
- $ref: '#/components/schemas/merchant_data'
+ $ref: "#/components/schemas/merchant_data"
object:
description: >-
String representing the object's type. Objects of the same type
@@ -18227,7 +18227,7 @@ components:
your account balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
created:
@@ -18246,7 +18246,7 @@ components:
description: ID of the Stripe account the transfer was sent to.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
destination_payment:
@@ -18255,7 +18255,7 @@ components:
payment that the destination account received for the transfer.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
id:
@@ -18285,7 +18285,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/transfer_reversal'
+ $ref: "#/components/schemas/transfer_reversal"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -18332,7 +18332,7 @@ components:
null, the transfer was funded from the available balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
source_type:
@@ -18370,14 +18370,14 @@ components:
transfer_recipient:
properties:
active_account:
- $ref: '#/components/schemas/bank_account'
+ $ref: "#/components/schemas/bank_account"
cards:
properties:
data:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/card'
+ $ref: "#/components/schemas/card"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -18422,7 +18422,7 @@ components:
description: The default card to use for creating transfers to this recipient.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/card'
+ - $ref: "#/components/schemas/card"
oneOf:
- type: string
description:
@@ -18458,7 +18458,7 @@ components:
instead.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
+ - $ref: "#/components/schemas/account"
oneOf:
- type: string
name:
@@ -18505,7 +18505,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/backwards_compatible_platform_earning'
+ - $ref: "#/components/schemas/backwards_compatible_platform_earning"
oneOf:
- type: string
balance_transaction:
@@ -18514,7 +18514,7 @@ components:
your account balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
created:
@@ -18547,9 +18547,9 @@ components:
sent to.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/account'
- - $ref: '#/components/schemas/bank_account'
- - $ref: '#/components/schemas/card'
+ - $ref: "#/components/schemas/account"
+ - $ref: "#/components/schemas/bank_account"
+ - $ref: "#/components/schemas/card"
oneOf:
- type: string
destination_payment:
@@ -18558,7 +18558,7 @@ components:
payment that the destination account received for the transfer.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
failure_code:
@@ -18610,7 +18610,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/transfer_reversal'
+ $ref: "#/components/schemas/transfer_reversal"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -18658,9 +18658,9 @@ components:
balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
- - $ref: '#/components/schemas/platform_fee'
- - $ref: '#/components/schemas/transfer_reversal'
+ - $ref: "#/components/schemas/charge"
+ - $ref: "#/components/schemas/platform_fee"
+ - $ref: "#/components/schemas/transfer_reversal"
oneOf:
- type: string
source_type:
@@ -18733,7 +18733,7 @@ components:
balance.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/balance_transaction'
+ - $ref: "#/components/schemas/balance_transaction"
oneOf:
- type: string
created:
@@ -18771,8 +18771,8 @@ components:
description: ID of the transfer that was reversed.
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/legacy_transfer'
- - $ref: '#/components/schemas/transfer'
+ - $ref: "#/components/schemas/legacy_transfer"
+ - $ref: "#/components/schemas/transfer"
oneOf:
- type: string
required:
@@ -18864,7 +18864,7 @@ components:
description: 'ID of the latest charge generated for this invoice, if any.'
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/charge'
+ - $ref: "#/components/schemas/charge"
oneOf:
- type: string
closed:
@@ -18886,7 +18886,7 @@ components:
description: ''
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/customer'
+ - $ref: "#/components/schemas/customer"
oneOf:
- type: string
date:
@@ -18902,7 +18902,7 @@ components:
oneOf:
- type: string
discount:
- $ref: '#/components/schemas/discount'
+ $ref: "#/components/schemas/discount"
ending_balance:
description: >-
Ending customer balance after attempting to pay invoice. If the
@@ -18923,7 +18923,7 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/invoice_line_item'
+ $ref: "#/components/schemas/invoice_line_item"
has_more:
description: >-
True if this list has another page of items after this one that
@@ -19021,7 +19021,7 @@ components:
description: 'The subscription that this invoice was prepared for, if any.'
x-expansionResources:
oneOf:
- - $ref: '#/components/schemas/subscription'
+ - $ref: "#/components/schemas/subscription"
oneOf:
- type: string
subscription_proration_date:
diff --git a/modules/swagger-parser-v3/src/test/resources/objectExample.yaml b/modules/swagger-parser-v3/src/test/resources/objectExample.yaml
index c73a1f21f2..fa29a3b7de 100644
--- a/modules/swagger-parser-v3/src/test/resources/objectExample.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/objectExample.yaml
@@ -10,7 +10,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SamplePayload'
+ $ref: "#/components/schemas/SamplePayload"
required: true
responses:
default:
diff --git a/modules/swagger-parser-v3/src/test/resources/oneof-anyof.yaml b/modules/swagger-parser-v3/src/test/resources/oneof-anyof.yaml
index 7da19e262d..5e4c028d17 100644
--- a/modules/swagger-parser-v3/src/test/resources/oneof-anyof.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/oneof-anyof.yaml
@@ -13,8 +13,8 @@ paths:
application/json:
schema:
oneOf:
- - $ref: '#/components/schemas/Book'
- - $ref: '#/components/schemas/Movie'
+ - $ref: "#/components/schemas/Book"
+ - $ref: "#/components/schemas/Movie"
/anyOf:
get:
@@ -25,8 +25,8 @@ paths:
application/json:
schema:
anyOf:
- - $ref: '#/components/schemas/Movie'
- - $ref: '#/components/schemas/Book'
+ - $ref: "#/components/schemas/Movie"
+ - $ref: "#/components/schemas/Book"
/mixed-array:
get:
diff --git a/modules/swagger-parser-v3/src/test/resources/oneof_name_conflict/oneOf-external-ref-name-conflict.yaml b/modules/swagger-parser-v3/src/test/resources/oneof_name_conflict/oneOf-external-ref-name-conflict.yaml
index c94563d276..a5cd33893a 100644
--- a/modules/swagger-parser-v3/src/test/resources/oneof_name_conflict/oneOf-external-ref-name-conflict.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/oneof_name_conflict/oneOf-external-ref-name-conflict.yaml
@@ -49,7 +49,7 @@ paths:
pets:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid status value
components:
@@ -63,13 +63,13 @@ components:
type: string
oneOf:
- $ref: './oneof_name_conflict/relative_ref/OtherPets.yaml#/components/schemas/Cat'
- - $ref: '#/components/schemas/Dog'
- - $ref: '#/components/schemas/Lizard'
+ - $ref: "#/components/schemas/Dog"
+ - $ref: "#/components/schemas/Lizard"
discriminator:
propertyName: pet_type
Cat:
allOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
# all other properties specific to a `Cat`
type: object
properties:
@@ -77,7 +77,7 @@ components:
type: string
Dog:
allOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
# all other properties specific to a `Dog`
type: object
properties:
@@ -85,7 +85,7 @@ components:
type: string
Lizard:
allOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
# all other properties specific to a `Lizard`
type: object
properties:
diff --git a/modules/swagger-parser-v3/src/test/resources/over-quoted-example.yaml b/modules/swagger-parser-v3/src/test/resources/over-quoted-example.yaml
index 2359fe73fd..f5c8cd3b8e 100644
--- a/modules/swagger-parser-v3/src/test/resources/over-quoted-example.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/over-quoted-example.yaml
@@ -11,7 +11,7 @@ paths:
content:
'*/*':
schema:
- $ref: '#/components/schemas/CustomerType'
+ $ref: "#/components/schemas/CustomerType"
info:
version: ''
title: ''
diff --git a/modules/swagger-parser-v3/src/test/resources/parametersAsNumbers/domain.yaml b/modules/swagger-parser-v3/src/test/resources/parametersAsNumbers/domain.yaml
index ae1ef89d33..e85145e066 100644
--- a/modules/swagger-parser-v3/src/test/resources/parametersAsNumbers/domain.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/parametersAsNumbers/domain.yaml
@@ -50,7 +50,7 @@ components:
content:
application/vnd.common.v3+json:
schema:
- $ref: '#/components/schemas/GetDealResponse'
+ $ref: "#/components/schemas/GetDealResponse"
'401':
description: Unauthorized
'403':
@@ -60,7 +60,7 @@ components:
content:
application/vnd.common.v3+json:
schema:
- $ref: '#/components/schemas/inlineResponse4041'
+ $ref: "#/components/schemas/inlineResponse4041"
'503':
description: Server Error
schemas:
@@ -101,7 +101,7 @@ components:
uniqueItems: true
type: array
items:
- $ref: '#/components/schemas/ReferenceKeyModel'
+ $ref: "#/components/schemas/ReferenceKeyModel"
description: Gets or sets the reference keys.
nullable: true
createdDate:
diff --git a/modules/swagger-parser-v3/src/test/resources/petstore-codegen.yaml b/modules/swagger-parser-v3/src/test/resources/petstore-codegen.yaml
index b0cb500b00..83153aa966 100644
--- a/modules/swagger-parser-v3/src/test/resources/petstore-codegen.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/petstore-codegen.yaml
@@ -43,7 +43,7 @@ paths:
- 'write:pets'
- 'read:pets'
requestBody:
- $ref: '#/components/requestBodies/Pet'
+ $ref: "#/components/requestBodies/Pet"
put:
tags:
- pet
@@ -62,7 +62,7 @@ paths:
- 'write:pets'
- 'read:pets'
requestBody:
- $ref: '#/components/requestBodies/Pet'
+ $ref: "#/components/requestBodies/Pet"
/pet/findByStatus:
get:
tags:
@@ -93,12 +93,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid status value
security:
@@ -132,12 +132,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid tag value
security:
@@ -165,10 +165,10 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid ID supplied
'404':
@@ -255,7 +255,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ApiResponse'
+ $ref: "#/components/schemas/ApiResponse"
security:
- petstore_auth:
- 'write:pets'
@@ -305,17 +305,17 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
'400':
description: Invalid Order
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
description: order placed for purchasing the pet
required: true
'/store/order/{orderId}':
@@ -343,10 +343,10 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
'400':
description: Invalid ID supplied
'404':
@@ -386,7 +386,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: Created user object
required: true
/user/createWithArray:
@@ -400,7 +400,7 @@ paths:
default:
description: successful operation
requestBody:
- $ref: '#/components/requestBodies/UserArray'
+ $ref: "#/components/requestBodies/UserArray"
/user/createWithList:
post:
tags:
@@ -412,7 +412,7 @@ paths:
default:
description: successful operation
requestBody:
- $ref: '#/components/requestBodies/UserArray'
+ $ref: "#/components/requestBodies/UserArray"
/user/login:
get:
tags:
@@ -486,10 +486,10 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
'400':
description: Invalid username supplied
'404':
@@ -516,7 +516,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: Updated user object
required: true
delete:
@@ -550,12 +550,12 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Client'
+ $ref: "#/components/schemas/Client"
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/Client'
+ $ref: "#/components/schemas/Client"
description: client model
required: true
get:
@@ -758,17 +758,17 @@ components:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: List of user object
required: true
Pet:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
description: Pet object that needs to be added to the store
required: true
securitySchemes:
@@ -871,7 +871,7 @@ components:
format: int64
x-is-unique: true
category:
- $ref: '#/components/schemas/Category'
+ $ref: "#/components/schemas/Category"
name:
type: string
example: doggie
@@ -888,7 +888,7 @@ components:
name: tag
wrapped: true
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/Tag"
status:
type: string
description: pet status in the store
@@ -952,14 +952,14 @@ components:
type: string
Dog:
allOf:
- - $ref: '#/components/schemas/Animal'
+ - $ref: "#/components/schemas/Animal"
- type: object
properties:
breed:
type: string
Cat:
allOf:
- - $ref: '#/components/schemas/Animal'
+ - $ref: "#/components/schemas/Animal"
- type: object
properties:
declawed:
@@ -979,7 +979,7 @@ components:
AnimalFarm:
type: array
items:
- $ref: '#/components/schemas/Animal'
+ $ref: "#/components/schemas/Animal"
format_test:
type: object
required:
@@ -1065,7 +1065,7 @@ components:
- 1.1
- -1.2
outerEnum:
- $ref: '#/components/schemas/OuterEnum'
+ $ref: "#/components/schemas/OuterEnum"
AdditionalPropertiesClass:
type: object
properties:
@@ -1091,7 +1091,7 @@ components:
map:
type: object
additionalProperties:
- $ref: '#/components/schemas/Animal'
+ $ref: "#/components/schemas/Animal"
List:
type: object
properties:
@@ -1154,7 +1154,7 @@ components:
items:
type: array
items:
- $ref: '#/components/schemas/ReadOnlyFirst'
+ $ref: "#/components/schemas/ReadOnlyFirst"
NumberOnly:
type: object
properties:
diff --git a/modules/swagger-parser-v3/src/test/resources/petstore.yaml b/modules/swagger-parser-v3/src/test/resources/petstore.yaml
index c33acc8941..ee4ed86299 100644
--- a/modules/swagger-parser-v3/src/test/resources/petstore.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/petstore.yaml
@@ -44,7 +44,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
description: Pet object that needs to be added to the store
/pet:
post:
@@ -64,10 +64,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
description: Pet object that needs to be added to the store
put:
tags:
@@ -87,7 +87,7 @@ paths:
- 'write:pets'
- 'read:pets'
requestBody:
- $ref: '#/components/requestBodies/Pet'
+ $ref: "#/components/requestBodies/Pet"
/pet/findByStatus:
get:
tags:
@@ -112,10 +112,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PetArray'
+ $ref: "#/components/schemas/PetArray"
application/xml:
schema:
- $ref: '#/components/schemas/PetArray'
+ $ref: "#/components/schemas/PetArray"
'400':
description: Invalid status value
security:
@@ -149,12 +149,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/xml:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid tag value
security:
@@ -184,10 +184,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid ID supplied
'404':
@@ -260,7 +260,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
description: Pet extra params that needs to be deleted
'/pet/{petId}/uploadImage':
post:
@@ -339,17 +339,17 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
application/xml:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
'400':
description: Invalid Order
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
description: order placed for purchasing the pet
'/store/order/{orderId}':
get:
@@ -373,10 +373,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
application/xml:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
'400':
description: Invalid ID supplied
'404':
@@ -415,7 +415,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: Created user object
/user/createWithArray:
post:
@@ -428,7 +428,7 @@ paths:
default:
description: successful operation
requestBody:
- $ref: '#/components/requestBodies/UserArray'
+ $ref: "#/components/requestBodies/UserArray"
/user/createWithList:
post:
tags:
@@ -440,7 +440,7 @@ paths:
default:
description: successful operation
requestBody:
- $ref: '#/components/requestBodies/UserArray'
+ $ref: "#/components/requestBodies/UserArray"
/user/login:
get:
tags:
@@ -507,10 +507,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
application/xml:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
'400':
description: Invalid username supplied
'404':
@@ -537,7 +537,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: Updated user object
delete:
tags:
@@ -584,16 +584,16 @@ components:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: List of user object
Pet:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
description: Pet object that needs to be added to the store
securitySchemes:
api_key:
@@ -650,7 +650,7 @@ components:
type: integer
format: int64
category:
- $ref: '#/components/schemas/Category'
+ $ref: "#/components/schemas/Category"
name:
type: string
example: doggie
@@ -667,7 +667,7 @@ components:
name: tag
wrapped: true
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/Tag"
status:
type: string
description: pet status in the store
@@ -706,4 +706,4 @@ components:
PetArray:
type: array
items:
- $ref: '#/components/schemas/Pet'
\ No newline at end of file
+ $ref: "#/components/schemas/Pet"
\ No newline at end of file
diff --git a/modules/swagger-parser-v3/src/test/resources/recursive2.yaml b/modules/swagger-parser-v3/src/test/resources/recursive2.yaml
index 301a2c51c1..576a3d7b50 100644
--- a/modules/swagger-parser-v3/src/test/resources/recursive2.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/recursive2.yaml
@@ -11,7 +11,7 @@ paths:
'200':
description: Ok
requestBody:
- $ref: '#/components/requestBodies/MyRequestBody'
+ $ref: "#/components/requestBodies/MyRequestBody"
/bar:
put:
@@ -19,7 +19,7 @@ paths:
'200':
description: Ok
requestBody:
- $ref: '#/components/requestBodies/MyRequestBody'
+ $ref: "#/components/requestBodies/MyRequestBody"
components:
schemas:
@@ -27,18 +27,18 @@ components:
type: object
properties:
prop:
- $ref: '#/components/schemas/Schema2'
+ $ref: "#/components/schemas/Schema2"
Schema2:
type: object
properties:
prop1:
- $ref: '#/components/schemas/Schema1'
+ $ref: "#/components/schemas/Schema1"
prop2:
- $ref: '#/components/schemas/Schema1'
+ $ref: "#/components/schemas/Schema1"
requestBodies:
MyRequestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/Schema2'
\ No newline at end of file
+ $ref: "#/components/schemas/Schema2"
\ No newline at end of file
diff --git a/modules/swagger-parser-v3/src/test/resources/refComponents.yaml b/modules/swagger-parser-v3/src/test/resources/refComponents.yaml
index e76ddbc8b7..f43b835f7c 100644
--- a/modules/swagger-parser-v3/src/test/resources/refComponents.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/refComponents.yaml
@@ -16,7 +16,7 @@ components:
type: string
Cat:
allOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
- type: object
properties:
huntingSkill:
@@ -29,7 +29,7 @@ components:
- huntingSkill
Dog:
allOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
- type: object
properties:
packSize:
@@ -39,7 +39,7 @@ components:
- packSize
Lion:
oneOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
- type: object
properties:
huntingSkill:
@@ -52,7 +52,7 @@ components:
- huntingSkill
Bear:
anyOf:
- - $ref: '#/components/schemas/Pet'
+ - $ref: "#/components/schemas/Pet"
- type: object
properties:
packSize:
diff --git a/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29510_Nnrf_NFManagement.yaml b/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29510_Nnrf_NFManagement.yaml
index a3d8a1dc34..1ef7291aec 100644
--- a/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29510_Nnrf_NFManagement.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29510_Nnrf_NFManagement.yaml
@@ -29,7 +29,7 @@ paths:
description: Type of NF
required: false
schema:
- $ref: '#/components/schemas/NFType'
+ $ref: "#/components/schemas/NFType"
- name: limit
in: query
description: How many items to return at one time
@@ -128,7 +128,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NFProfile'
+ $ref: "#/components/schemas/NFProfile"
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
@@ -176,7 +176,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NFProfile'
+ $ref: "#/components/schemas/NFProfile"
required: true
responses:
'200':
@@ -184,7 +184,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NFProfile'
+ $ref: "#/components/schemas/NFProfile"
headers:
Accept-Encoding:
description: Accept-Encoding, described in IETF RFC 7694
@@ -195,7 +195,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NFProfile'
+ $ref: "#/components/schemas/NFProfile"
headers:
Location:
description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nnrf-nfm/v1/nf-instances/{nfInstanceId}'
@@ -257,7 +257,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NFProfile'
+ $ref: "#/components/schemas/NFProfile"
'204':
description: Expected response with empty body
'400':
@@ -327,7 +327,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SubscriptionData'
+ $ref: "#/components/schemas/SubscriptionData"
required: true
responses:
'201':
@@ -335,7 +335,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SubscriptionData'
+ $ref: "#/components/schemas/SubscriptionData"
headers:
Location:
description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nnrf-nfm/v1/subscriptions/{subscriptionId}'
@@ -375,7 +375,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NotificationData'
+ $ref: "#/components/schemas/NotificationData"
responses:
'204':
description: Expected response to a successful callback processing
@@ -431,7 +431,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SubscriptionData'
+ $ref: "#/components/schemas/SubscriptionData"
'204':
description: No Content
'400':
@@ -522,9 +522,9 @@ components:
nfInstanceName:
type: string
nfType:
- $ref: '#/components/schemas/NFType'
+ $ref: "#/components/schemas/NFType"
nfStatus:
- $ref: '#/components/schemas/NFStatus'
+ $ref: "#/components/schemas/NFStatus"
heartBeatTimer:
type: integer
plmnList:
@@ -545,7 +545,7 @@ components:
perPlmnSnssaiList:
type: array
items:
- $ref: '#/components/schemas/PlmnSnssai'
+ $ref: "#/components/schemas/PlmnSnssai"
minItems: 1
nsiList:
type: array
@@ -553,9 +553,9 @@ components:
type: string
minItems: 1
fqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
interPlmnFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
ipv4Addresses:
type: array
items:
@@ -579,7 +579,7 @@ components:
allowedNfTypes:
type: array
items:
- $ref: '#/components/schemas/NFType'
+ $ref: "#/components/schemas/NFType"
minItems: 1
allowedNfDomains:
type: array
@@ -606,78 +606,78 @@ components:
locality:
type: string
udrInfo:
- $ref: '#/components/schemas/UdrInfo'
+ $ref: "#/components/schemas/UdrInfo"
udrInfoExt:
type: array
items:
- $ref: '#/components/schemas/UdrInfo'
+ $ref: "#/components/schemas/UdrInfo"
minItems: 1
udmInfo:
- $ref: '#/components/schemas/UdmInfo'
+ $ref: "#/components/schemas/UdmInfo"
udmInfoExt:
type: array
items:
- $ref: '#/components/schemas/UdmInfo'
+ $ref: "#/components/schemas/UdmInfo"
minItems: 1
ausfInfo:
- $ref: '#/components/schemas/AusfInfo'
+ $ref: "#/components/schemas/AusfInfo"
ausfInfoExt:
type: array
items:
- $ref: '#/components/schemas/AusfInfo'
+ $ref: "#/components/schemas/AusfInfo"
minItems: 1
amfInfo:
- $ref: '#/components/schemas/AmfInfo'
+ $ref: "#/components/schemas/AmfInfo"
amfInfoExt:
type: array
items:
- $ref: '#/components/schemas/AmfInfo'
+ $ref: "#/components/schemas/AmfInfo"
minItems: 1
smfInfo:
- $ref: '#/components/schemas/SmfInfo'
+ $ref: "#/components/schemas/SmfInfo"
smfInfoExt:
type: array
items:
- $ref: '#/components/schemas/SmfInfo'
+ $ref: "#/components/schemas/SmfInfo"
minItems: 1
upfInfo:
- $ref: '#/components/schemas/UpfInfo'
+ $ref: "#/components/schemas/UpfInfo"
upfInfoExt:
type: array
items:
- $ref: '#/components/schemas/UpfInfo'
+ $ref: "#/components/schemas/UpfInfo"
minItems: 1
pcfInfo:
- $ref: '#/components/schemas/PcfInfo'
+ $ref: "#/components/schemas/PcfInfo"
pcfInfoExt:
type: array
items:
- $ref: '#/components/schemas/PcfInfo'
+ $ref: "#/components/schemas/PcfInfo"
minItems: 1
bsfInfo:
- $ref: '#/components/schemas/BsfInfo'
+ $ref: "#/components/schemas/BsfInfo"
bsfInfoExt:
type: array
items:
- $ref: '#/components/schemas/BsfInfo'
+ $ref: "#/components/schemas/BsfInfo"
minItems: 1
chfInfo:
- $ref: '#/components/schemas/ChfInfo'
+ $ref: "#/components/schemas/ChfInfo"
chfInfoExt:
type: array
items:
- $ref: '#/components/schemas/ChfInfo'
+ $ref: "#/components/schemas/ChfInfo"
minItems: 1
nefInfo:
- $ref: '#/components/schemas/NefInfo'
+ $ref: "#/components/schemas/NefInfo"
nrfInfo:
- $ref: '#/components/schemas/NrfInfo'
+ $ref: "#/components/schemas/NrfInfo"
nwdafInfo:
- $ref: '#/components/schemas/NwdafInfo'
+ $ref: "#/components/schemas/NwdafInfo"
pcscfInfo:
type: array
items:
- $ref: '#/components/schemas/PcscfInfo'
+ $ref: "#/components/schemas/PcscfInfo"
minItems: 1
customInfo:
type: object
@@ -689,7 +689,7 @@ components:
nfServices:
type: array
items:
- $ref: '#/components/schemas/NFService'
+ $ref: "#/components/schemas/NFService"
minItems: 1
nfProfileChangesSupportInd:
type: boolean
@@ -702,11 +702,11 @@ components:
defaultNotificationSubscriptions:
type: array
items:
- $ref: '#/components/schemas/DefaultNotificationSubscription'
+ $ref: "#/components/schemas/DefaultNotificationSubscription"
lmfInfo:
- $ref: '#/components/schemas/LmfInfo'
+ $ref: "#/components/schemas/LmfInfo"
gmlcInfo:
- $ref: '#/components/schemas/GmlcInfo'
+ $ref: "#/components/schemas/GmlcInfo"
nfSetIdList:
type: array
items:
@@ -724,31 +724,31 @@ components:
serviceInstanceId:
type: string
serviceName:
- $ref: '#/components/schemas/ServiceName'
+ $ref: "#/components/schemas/ServiceName"
versions:
type: array
items:
- $ref: '#/components/schemas/NFServiceVersion'
+ $ref: "#/components/schemas/NFServiceVersion"
minItems: 1
scheme:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UriScheme'
nfServiceStatus:
- $ref: '#/components/schemas/NFServiceStatus'
+ $ref: "#/components/schemas/NFServiceStatus"
fqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
interPlmnFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
ipEndPoints:
type: array
items:
- $ref: '#/components/schemas/IpEndPoint'
+ $ref: "#/components/schemas/IpEndPoint"
minItems: 1
apiPrefix:
type: string
defaultNotificationSubscriptions:
type: array
items:
- $ref: '#/components/schemas/DefaultNotificationSubscription'
+ $ref: "#/components/schemas/DefaultNotificationSubscription"
minItems: 1
allowedPlmns:
type: array
@@ -763,7 +763,7 @@ components:
allowedNfTypes:
type: array
items:
- $ref: '#/components/schemas/NFType'
+ $ref: "#/components/schemas/NFType"
minItems: 1
allowedNfDomains:
type: array
@@ -790,7 +790,7 @@ components:
recoveryTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
chfServiceInfo:
- $ref: '#/components/schemas/ChfServiceInfo'
+ $ref: "#/components/schemas/ChfServiceInfo"
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
nfServiceSetIdList:
@@ -836,7 +836,7 @@ components:
ipv6Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
transport:
- $ref: '#/components/schemas/TransportProtocol'
+ $ref: "#/components/schemas/TransportProtocol"
port:
type: integer
minimum: 0
@@ -853,15 +853,15 @@ components:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
subscrCond:
oneOf:
- - $ref: '#/components/schemas/NfInstanceIdCond'
- - $ref: '#/components/schemas/NfTypeCond'
- - $ref: '#/components/schemas/ServiceNameCond'
- - $ref: '#/components/schemas/AmfCond'
- - $ref: '#/components/schemas/GuamiListCond'
- - $ref: '#/components/schemas/NetworkSliceCond'
- - $ref: '#/components/schemas/NfGroupCond'
- - $ref: '#/components/schemas/NfSetCond'
- - $ref: '#/components/schemas/NfServiceSetCond'
+ - $ref: "#/components/schemas/NfInstanceIdCond"
+ - $ref: "#/components/schemas/NfTypeCond"
+ - $ref: "#/components/schemas/ServiceNameCond"
+ - $ref: "#/components/schemas/AmfCond"
+ - $ref: "#/components/schemas/GuamiListCond"
+ - $ref: "#/components/schemas/NetworkSliceCond"
+ - $ref: "#/components/schemas/NfGroupCond"
+ - $ref: "#/components/schemas/NfSetCond"
+ - $ref: "#/components/schemas/NfServiceSetCond"
subscriptionId:
type: string
pattern: '^([0-9]{5,6}-)?[^-]+$'
@@ -871,18 +871,18 @@ components:
reqNotifEvents:
type: array
items:
- $ref: '#/components/schemas/NotificationEventType'
+ $ref: "#/components/schemas/NotificationEventType"
minItems: 1
plmnId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId'
nid:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Nid'
notifCondition:
- $ref: '#/components/schemas/NotifCondition'
+ $ref: "#/components/schemas/NotifCondition"
reqNfType:
- $ref: '#/components/schemas/NFType'
+ $ref: "#/components/schemas/NFType"
reqNfFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
reqSnssais:
type: array
items:
@@ -908,14 +908,14 @@ components:
required: [ nfGroupId ]
properties:
nfType:
- $ref: '#/components/schemas/NFType'
+ $ref: "#/components/schemas/NFType"
ServiceNameCond:
type: object
required:
- serviceName
properties:
serviceName:
- $ref: '#/components/schemas/ServiceName'
+ $ref: "#/components/schemas/ServiceName"
AmfCond:
type: object
anyOf:
@@ -986,22 +986,22 @@ components:
supiRanges:
type: array
items:
- $ref: '#/components/schemas/SupiRange'
+ $ref: "#/components/schemas/SupiRange"
minItems: 1
gpsiRanges:
type: array
items:
- $ref: '#/components/schemas/IdentityRange'
+ $ref: "#/components/schemas/IdentityRange"
minItems: 1
externalGroupIdentifiersRanges:
type: array
items:
- $ref: '#/components/schemas/IdentityRange'
+ $ref: "#/components/schemas/IdentityRange"
minItems: 1
supportedDataSets:
type: array
items:
- $ref: '#/components/schemas/DataSetId'
+ $ref: "#/components/schemas/DataSetId"
minItems: 1
SupiRange:
type: object
@@ -1042,17 +1042,17 @@ components:
supiRanges:
type: array
items:
- $ref: '#/components/schemas/SupiRange'
+ $ref: "#/components/schemas/SupiRange"
minItems: 1
gpsiRanges:
type: array
items:
- $ref: '#/components/schemas/IdentityRange'
+ $ref: "#/components/schemas/IdentityRange"
minItems: 1
externalGroupIdentifiersRanges:
type: array
items:
- $ref: '#/components/schemas/IdentityRange'
+ $ref: "#/components/schemas/IdentityRange"
minItems: 1
routingIndicators:
type: array
@@ -1068,7 +1068,7 @@ components:
supiRanges:
type: array
items:
- $ref: '#/components/schemas/SupiRange'
+ $ref: "#/components/schemas/SupiRange"
minItems: 1
routingIndicators:
type: array
@@ -1100,7 +1100,7 @@ components:
taiRangeList:
type: array
items:
- $ref: '#/components/schemas/TaiRange'
+ $ref: "#/components/schemas/TaiRange"
minItems: 1
backupInfoAmfFailure:
type: array
@@ -1113,7 +1113,7 @@ components:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Guami'
minItems: 1
n2InterfaceAmfInfo:
- $ref: '#/components/schemas/N2InterfaceAmfInfo'
+ $ref: "#/components/schemas/N2InterfaceAmfInfo"
SmfInfo:
type: object
required:
@@ -1122,7 +1122,7 @@ components:
sNssaiSmfInfoList:
type: array
items:
- $ref: '#/components/schemas/SnssaiSmfInfoItem'
+ $ref: "#/components/schemas/SnssaiSmfInfoItem"
minItems: 1
taiList:
type: array
@@ -1132,10 +1132,10 @@ components:
taiRangeList:
type: array
items:
- $ref: '#/components/schemas/TaiRange'
+ $ref: "#/components/schemas/TaiRange"
minItems: 1
pgwFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
accessType:
type: array
items:
@@ -1152,7 +1152,7 @@ components:
dnnSmfInfoList:
type: array
items:
- $ref: '#/components/schemas/DnnSmfInfoItem'
+ $ref: "#/components/schemas/DnnSmfInfoItem"
minItems: 1
DnnSmfInfoItem:
type: object
@@ -1169,7 +1169,7 @@ components:
sNssaiUpfInfoList:
type: array
items:
- $ref: '#/components/schemas/SnssaiUpfInfoItem'
+ $ref: "#/components/schemas/SnssaiUpfInfoItem"
minItems: 1
smfServingArea:
type: array
@@ -1179,7 +1179,7 @@ components:
interfaceUpfInfoList:
type: array
items:
- $ref: '#/components/schemas/InterfaceUpfInfoItem'
+ $ref: "#/components/schemas/InterfaceUpfInfoItem"
minItems: 1
iwkEpsInd:
type: boolean
@@ -1200,9 +1200,9 @@ components:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Tai'
minItems: 1
wAgfInfo:
- $ref: '#/components/schemas/WAgfInfo'
+ $ref: "#/components/schemas/WAgfInfo"
tngfInfo:
- $ref: '#/components/schemas/TngfInfo'
+ $ref: "#/components/schemas/TngfInfo"
SnssaiUpfInfoItem:
type: object
required:
@@ -1214,7 +1214,7 @@ components:
dnnUpfInfoList:
type: array
items:
- $ref: '#/components/schemas/DnnUpfInfoItem'
+ $ref: "#/components/schemas/DnnUpfInfoItem"
minItems: 1
DnnUpfInfoItem:
type: object
@@ -1236,12 +1236,12 @@ components:
ipv4AddressRanges:
type: array
items:
- $ref: '#/components/schemas/Ipv4AddressRange'
+ $ref: "#/components/schemas/Ipv4AddressRange"
minItems: 1
ipv6PrefixRanges:
type: array
items:
- $ref: '#/components/schemas/Ipv6PrefixRange'
+ $ref: "#/components/schemas/Ipv6PrefixRange"
minItems: 1
InterfaceUpfInfoItem:
type: object
@@ -1249,7 +1249,7 @@ components:
- interfaceType
properties:
interfaceType:
- $ref: '#/components/schemas/UPInterfaceType'
+ $ref: "#/components/schemas/UPInterfaceType"
ipv4EndpointAddresses:
type: array
items:
@@ -1261,7 +1261,7 @@ components:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
minItems: 1
endpointFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
networkInstance:
type: string
UPInterfaceType:
@@ -1286,7 +1286,7 @@ components:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
minItems: 1
endpointFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
TngfInfo:
type: object
properties:
@@ -1301,7 +1301,7 @@ components:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
minItems: 1
endpointFqdn:
- $ref: '#/components/schemas/Fqdn'
+ $ref: "#/components/schemas/Fqdn"
PcfInfo:
type: object
properties:
@@ -1315,12 +1315,12 @@ components:
supiRanges:
type: array
items:
- $ref: '#/components/schemas/SupiRange'
+ $ref: "#/components/schemas/SupiRange"
minItems: 1
gpsiRanges:
type: array
items:
- $ref: '#/components/schemas/IdentityRange'
+ $ref: "#/components/schemas/IdentityRange"
minItems: 1
rxDiamHost:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DiameterIdentity'
@@ -1342,12 +1342,12 @@ components:
ipv4AddressRanges:
type: array
items:
- $ref: '#/components/schemas/Ipv4AddressRange'
+ $ref: "#/components/schemas/Ipv4AddressRange"
minItems: 1
ipv6PrefixRanges:
type: array
items:
- $ref: '#/components/schemas/Ipv6PrefixRange'
+ $ref: "#/components/schemas/Ipv6PrefixRange"
minItems: 1
ChfInfo:
type: object
@@ -1355,17 +1355,17 @@ components:
supiRangeList:
type: array
items:
- $ref: '#/components/schemas/SupiRange'
+ $ref: "#/components/schemas/SupiRange"
minItems: 1
gpsiRangeList:
type: array
items:
- $ref: '#/components/schemas/IdentityRange'
+ $ref: "#/components/schemas/IdentityRange"
minItems: 1
plmnRangeList:
type: array
items:
- $ref: '#/components/schemas/PlmnRange'
+ $ref: "#/components/schemas/PlmnRange"
minItems: 1
Ipv4AddressRange:
type: object
@@ -1388,7 +1388,7 @@ components:
- callbackUri
properties:
notificationType:
- $ref: '#/components/schemas/NotificationType'
+ $ref: "#/components/schemas/NotificationType"
callbackUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
n1MessageClass:
@@ -1467,12 +1467,12 @@ components:
- required: [ nfProfile ]
properties:
event:
- $ref: '#/components/schemas/NotificationEventType'
+ $ref: "#/components/schemas/NotificationEventType"
nfInstanceUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
nfProfile:
allOf:
- - $ref: '#/components/schemas/NFProfile'
+ - $ref: "#/components/schemas/NFProfile"
- not:
required: [ interPlmnFqdn ]
- not:
@@ -1488,7 +1488,7 @@ components:
type: array
items:
allOf:
- - $ref: '#/components/schemas/NFService'
+ - $ref: "#/components/schemas/NFService"
- not:
required: [ interPlmnFqdn ]
- not:
@@ -1598,7 +1598,7 @@ components:
tacRangeList:
type: array
items:
- $ref: '#/components/schemas/TacRange'
+ $ref: "#/components/schemas/TacRange"
minItems: 1
nid:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Nid'
@@ -1639,62 +1639,62 @@ components:
servedUdrInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/UdrInfo'
+ $ref: "#/components/schemas/UdrInfo"
minProperties: 1
servedUdmInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/UdmInfo'
+ $ref: "#/components/schemas/UdmInfo"
minProperties: 1
servedAusfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/AusfInfo'
+ $ref: "#/components/schemas/AusfInfo"
minProperties: 1
servedAmfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/AmfInfo'
+ $ref: "#/components/schemas/AmfInfo"
minProperties: 1
servedSmfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/SmfInfo'
+ $ref: "#/components/schemas/SmfInfo"
minProperties: 1
servedUpfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/UpfInfo'
+ $ref: "#/components/schemas/UpfInfo"
minProperties: 1
servedPcfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/PcfInfo'
+ $ref: "#/components/schemas/PcfInfo"
minProperties: 1
servedBsfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/BsfInfo'
+ $ref: "#/components/schemas/BsfInfo"
minProperties: 1
servedChfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/ChfInfo'
+ $ref: "#/components/schemas/ChfInfo"
minProperties: 1
servedNefInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/NefInfo'
+ $ref: "#/components/schemas/NefInfo"
minProperties: 1
servedNwdafInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/NwdafInfo'
+ $ref: "#/components/schemas/NwdafInfo"
minProperties: 1
servedPcscfInfo:
type: object
additionalProperties:
- $ref: '#/components/schemas/PcscfInfo'
+ $ref: "#/components/schemas/PcscfInfo"
minProperties: 1
PlmnSnssai:
type: object
@@ -1715,9 +1715,9 @@ components:
type: object
properties:
pfdData:
- $ref: '#/components/schemas/PfdData'
+ $ref: "#/components/schemas/PfdData"
afEeData:
- $ref: '#/components/schemas/AfEventExposureData'
+ $ref: "#/components/schemas/AfEventExposureData"
PfdData:
type: object
properties:
@@ -1752,7 +1752,7 @@ components:
taiRangeList:
type: array
items:
- $ref: '#/components/schemas/TaiRange'
+ $ref: "#/components/schemas/TaiRange"
minItems: 1
LmfInfo:
type: object
diff --git a/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29571_CommonData.yaml b/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29571_CommonData.yaml
index 354a4a5bd7..24bd3d8987 100644
--- a/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29571_CommonData.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/referenceFiles/TS29571_CommonData.yaml
@@ -237,7 +237,7 @@ components:
type: object
properties:
type:
- $ref: '#/components/schemas/Uri'
+ $ref: "#/components/schemas/Uri"
title:
type: string
status:
@@ -245,32 +245,32 @@ components:
detail:
type: string
instance:
- $ref: '#/components/schemas/Uri'
+ $ref: "#/components/schemas/Uri"
cause:
type: string
invalidParams:
type: array
items:
- $ref: '#/components/schemas/InvalidParam'
+ $ref: "#/components/schemas/InvalidParam"
minItems: 1
supportedFeatures:
- $ref: '#/components/schemas/SupportedFeatures'
+ $ref: "#/components/schemas/SupportedFeatures"
Link:
type: object
properties:
href:
- $ref: '#/components/schemas/Uri'
+ $ref: "#/components/schemas/Uri"
LinkRm:
type: object
properties:
href:
- $ref: '#/components/schemas/Uri'
+ $ref: "#/components/schemas/Uri"
nullable: true
PatchItem:
type: object
properties:
op:
- $ref: '#/components/schemas/PatchOperation'
+ $ref: "#/components/schemas/PatchOperation"
path:
type: string
from:
@@ -284,14 +284,14 @@ components:
oneOf:
- type: array
items:
- $ref: '#/components/schemas/Link'
+ $ref: "#/components/schemas/Link"
minItems: 1
- - $ref: '#/components/schemas/Link'
+ - $ref: "#/components/schemas/Link"
SelfLink:
type: object
properties:
self:
- $ref: '#/components/schemas/Link'
+ $ref: "#/components/schemas/Link"
required:
- self
InvalidParam:
@@ -307,7 +307,7 @@ components:
type: object
properties:
op:
- $ref: '#/components/schemas/ChangeType'
+ $ref: "#/components/schemas/ChangeType"
path:
type: string
from:
@@ -324,16 +324,16 @@ components:
- changes
properties:
resourceId:
- $ref: '#/components/schemas/Uri'
+ $ref: "#/components/schemas/Uri"
changes:
type: array
items:
- $ref: '#/components/schemas/ChangeItem'
+ $ref: "#/components/schemas/ChangeItem"
minItems: 1
ComplexQuery:
oneOf:
- - $ref: '#/components/schemas/Cnf'
- - $ref: '#/components/schemas/Dnf'
+ - $ref: "#/components/schemas/Cnf"
+ - $ref: "#/components/schemas/Dnf"
Cnf:
type: object
required:
@@ -342,7 +342,7 @@ components:
cnfUnits:
type: array
items:
- $ref: '#/components/schemas/CnfUnit'
+ $ref: "#/components/schemas/CnfUnit"
minItems: 1
Dnf:
type: object
@@ -352,7 +352,7 @@ components:
dnfUnits:
type: array
items:
- $ref: '#/components/schemas/DnfUnit'
+ $ref: "#/components/schemas/DnfUnit"
minItems: 1
CnfUnit:
type: object
@@ -362,7 +362,7 @@ components:
cnfUnit:
type: array
items:
- $ref: '#/components/schemas/Atom'
+ $ref: "#/components/schemas/Atom"
minItems: 1
DnfUnit:
type: object
@@ -372,7 +372,7 @@ components:
dnfUnit:
type: array
items:
- $ref: '#/components/schemas/Atom'
+ $ref: "#/components/schemas/Atom"
minItems: 1
Atom:
type: object
@@ -403,23 +403,23 @@ components:
targetPlmnList:
type: array
items:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
minItems: 1
requesterPlmnList:
type: array
items:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
minItems: 1
targetNfInstanceId:
- $ref: '#/components/schemas/NfInstanceId'
+ $ref: "#/components/schemas/NfInstanceId"
targetNfFqdn:
$ref: 'TS29510_Nnrf_NFManagement.yaml#/components/schemas/Fqdn'
hnrfUri:
- $ref: '#/components/schemas/Uri'
+ $ref: "#/components/schemas/Uri"
snssais:
type: array
items:
- $ref: '#/components/schemas/Snssai'
+ $ref: "#/components/schemas/Snssai"
minItems: 1
plmnSpecificSnssaiList:
type: array
@@ -427,34 +427,34 @@ components:
$ref: 'TS29510_Nnrf_NFManagement.yaml#/components/schemas/PlmnSnssai'
minItems: 1
dnn:
- $ref: '#/components/schemas/Dnn'
+ $ref: "#/components/schemas/Dnn"
nsiList:
type: array
items:
type: string
minItems: 1
tai:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
amfRegionId:
- $ref: '#/components/schemas/AmfRegionId'
+ $ref: "#/components/schemas/AmfRegionId"
amfSetId:
- $ref: '#/components/schemas/AmfSetId'
+ $ref: "#/components/schemas/AmfSetId"
guami:
- $ref: '#/components/schemas/Guami'
+ $ref: "#/components/schemas/Guami"
supi:
- $ref: '#/componentss/schemas/Supi'
+ $ref: "#/componentss/schemas/Supi"
ueIpv4Address:
- $ref: '#/components/schemas/Ipv4Addr'
+ $ref: "#/components/schemas/Ipv4Addr"
ipDomain:
type: string
ueIpv6Prefix:
- $ref: '#/components/schemas/Ipv6Prefix'
+ $ref: "#/components/schemas/Ipv6Prefix"
pgwInd:
type: boolean
pgw:
$ref: 'TS29510_Nnrf_NFManagement.yaml#/components/schemas/Fqdn'
gpsi:
- $ref: '#/components/schemas/Gpsi'
+ $ref: "#/components/schemas/Gpsi"
externalGroupIdentity:
type: string
dataSet:
@@ -465,33 +465,33 @@ components:
groupIdList:
type: array
items:
- $ref: '#/components/schemas/NfGroupId'
+ $ref: "#/components/schemas/NfGroupId"
minItems: 1
dnaiList:
type: array
items:
- $ref: '#/components/schemas/Dnai'
+ $ref: "#/components/schemas/Dnai"
minItems: 1
pduSessionTypes:
type: array
items:
- $ref: '#/components/schemas/PduSessionType'
+ $ref: "#/components/schemas/PduSessionType"
minItems: 1
upfIwkEpsInd:
type: boolean
chfSupportedPlmn:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
preferredLocality:
type: string
accessType:
- $ref: '#/components/schemas/AccessType'
+ $ref: "#/components/schemas/AccessType"
requiredFeatures:
type: array
items:
- $ref: '#/components/schemas/SupportedFeatures'
+ $ref: "#/components/schemas/SupportedFeatures"
minItems: 1
complexQuery:
- $ref: '#/components/schemas/ComplexQuery'
+ $ref: "#/components/schemas/ComplexQuery"
PatchResult:
type: object
required:
@@ -500,7 +500,7 @@ components:
report:
type: array
items:
- $ref: '#/components/schemas/ReportItem'
+ $ref: "#/components/schemas/ReportItem"
minItems: 1
ReportItem:
type: object
@@ -589,9 +589,9 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
amfId:
- $ref: '#/components/schemas/AmfId'
+ $ref: "#/components/schemas/AmfId"
required:
- plmnId
- amfId
@@ -599,9 +599,9 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
amfId:
- $ref: '#/components/schemas/AmfId'
+ $ref: "#/components/schemas/AmfId"
required:
- plmnId
- amfId
@@ -610,9 +610,9 @@ components:
type: object
properties:
mnc:
- $ref: '#/components/schemas/Mnc'
+ $ref: "#/components/schemas/Mnc"
mcc:
- $ref: '#/components/schemas/Mcc'
+ $ref: "#/components/schemas/Mcc"
#
@@ -672,7 +672,7 @@ components:
type: string
nullable: true
5GMmCause:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
AmfName:
type: string
AreaCode:
@@ -894,9 +894,9 @@ components:
type: object
properties:
mcc:
- $ref: '#/components/schemas/Mcc'
+ $ref: "#/components/schemas/Mcc"
mnc:
- $ref: '#/components/schemas/Mnc'
+ $ref: "#/components/schemas/Mnc"
required:
- mcc
- mnc
@@ -904,9 +904,9 @@ components:
type: object
properties:
mcc:
- $ref: '#/components/schemas/Mcc'
+ $ref: "#/components/schemas/Mcc"
mnc:
- $ref: '#/components/schemas/Mnc'
+ $ref: "#/components/schemas/Mnc"
required:
- mcc
- mnc
@@ -915,11 +915,11 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
tac:
- $ref: '#/components/schemas/Tac'
+ $ref: "#/components/schemas/Tac"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
required:
- plmnId
- tac
@@ -927,11 +927,11 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
tac:
- $ref: '#/components/schemas/Tac'
+ $ref: "#/components/schemas/Tac"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
required:
- plmnId
- tac
@@ -940,12 +940,12 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
# PLMN Identity
eutraCellId:
- $ref: '#/components/schemas/EutraCellId'
+ $ref: "#/components/schemas/EutraCellId"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
required:
- plmnId
- eutraCellId
@@ -953,12 +953,12 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
# PLMN Identity
eutraCellId:
- $ref: '#/components/schemas/EutraCellId'
+ $ref: "#/components/schemas/EutraCellId"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
required:
- plmnId
- eutraCellId
@@ -967,11 +967,11 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
nrCellId:
- $ref: '#/components/schemas/NrCellId'
+ $ref: "#/components/schemas/NrCellId"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
required:
- plmnId
- nrCellId
@@ -979,11 +979,11 @@ components:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
nrCellId:
- $ref: '#/components/schemas/NrCellId'
+ $ref: "#/components/schemas/NrCellId"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
required:
- plmnId
- nrCellId
@@ -992,24 +992,24 @@ components:
type: object
properties:
eutraLocation:
- $ref: '#/components/schemas/EutraLocation'
+ $ref: "#/components/schemas/EutraLocation"
nrLocation:
- $ref: '#/components/schemas/NrLocation'
+ $ref: "#/components/schemas/NrLocation"
n3gaLocation:
- $ref: '#/components/schemas/N3gaLocation'
+ $ref: "#/components/schemas/N3gaLocation"
EutraLocation:
type: object
properties:
tai:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
ecgi:
- $ref: '#/components/schemas/Ecgi'
+ $ref: "#/components/schemas/Ecgi"
ageOfLocationInformation:
type: integer
minimum: 0
maximum: 32767
ueLocationTimestamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
geographicalInformation:
type: string
pattern: '^[0-9A-F]{16}$'
@@ -1017,7 +1017,7 @@ components:
type: string
pattern: '^[0-9A-F]{20}$'
globalNgenbId:
- $ref: '#/components/schemas/GlobalRanNodeId'
+ $ref: "#/components/schemas/GlobalRanNodeId"
required:
- tai
- ecgi
@@ -1025,15 +1025,15 @@ components:
type: object
properties:
tai:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
ecgi:
- $ref: '#/components/schemas/Ecgi'
+ $ref: "#/components/schemas/Ecgi"
ageOfLocationInformation:
type: integer
minimum: 0
maximum: 32767
ueLocationTimestamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
geographicalInformation:
type: string
pattern: '^[0-9A-F]{16}$'
@@ -1041,7 +1041,7 @@ components:
type: string
pattern: '^[0-9A-F]{20}$'
globalNgenbId:
- $ref: '#/components/schemas/GlobalRanNodeId'
+ $ref: "#/components/schemas/GlobalRanNodeId"
required:
- tai
- ecgi
@@ -1050,15 +1050,15 @@ components:
type: object
properties:
tai:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
ncgi:
- $ref: '#/components/schemas/Ncgi'
+ $ref: "#/components/schemas/Ncgi"
ageOfLocationInformation:
type: integer
minimum: 0
maximum: 32767
ueLocationTimestamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
geographicalInformation:
type: string
pattern: '^[0-9A-F]{16}$'
@@ -1066,7 +1066,7 @@ components:
type: string
pattern: '^[0-9A-F]{20}$'
globalGnbId:
- $ref: '#/components/schemas/GlobalRanNodeId'
+ $ref: "#/components/schemas/GlobalRanNodeId"
required:
- tai
- ncgi
@@ -1074,15 +1074,15 @@ components:
type: object
properties:
tai:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
ncgi:
- $ref: '#/components/schemas/Ncgi'
+ $ref: "#/components/schemas/Ncgi"
ageOfLocationInformation:
type: integer
minimum: 0
maximum: 32767
ueLocationTimestamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
geographicalInformation:
type: string
pattern: '^[0-9A-F]{16}$'
@@ -1090,7 +1090,7 @@ components:
type: string
pattern: '^[0-9A-F]{20}$'
globalGnbId:
- $ref: '#/components/schemas/GlobalRanNodeId'
+ $ref: "#/components/schemas/GlobalRanNodeId"
required:
- tai
- ncgi
@@ -1099,23 +1099,23 @@ components:
type: object
properties:
n3gppTai:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
n3IwfId:
type: string
pattern: '^[A-Fa-f0-9]+$'
ueIpv4Addr:
- $ref: '#/components/schemas/Ipv4Addr'
+ $ref: "#/components/schemas/Ipv4Addr"
ueIpv6Addr:
- $ref: '#/components/schemas/Ipv6Addr'
+ $ref: "#/components/schemas/Ipv6Addr"
portNumber:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
UpSecurity:
type: object
properties:
upIntegr:
- $ref: '#/components/schemas/UpIntegrity'
+ $ref: "#/components/schemas/UpIntegrity"
upConfid:
- $ref: '#/components/schemas/UpConfidentiality'
+ $ref: "#/components/schemas/UpConfidentiality"
required:
- upIntegr
- upConfid
@@ -1123,9 +1123,9 @@ components:
type: object
properties:
upIntegr:
- $ref: '#/components/schemas/UpIntegrity'
+ $ref: "#/components/schemas/UpIntegrity"
upConfid:
- $ref: '#/components/schemas/UpConfidentiality'
+ $ref: "#/components/schemas/UpConfidentiality"
required:
- upIntegr
- upConfid
@@ -1134,9 +1134,9 @@ components:
type: object
properties:
group:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
value:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
required:
- group
- value
@@ -1144,11 +1144,11 @@ components:
type: object
properties:
backupAmf:
- $ref: '#/components/schemas/AmfName'
+ $ref: "#/components/schemas/AmfName"
guamiList:
type: array
items:
- $ref: '#/components/schemas/Guami'
+ $ref: "#/components/schemas/Guami"
minItems: 1
required:
- backupAmf
@@ -1171,9 +1171,9 @@ components:
type: object
properties:
dnai:
- $ref: '#/components/schemas/Dnai'
+ $ref: "#/components/schemas/Dnai"
routeInfo:
- $ref: '#/components/schemas/RouteInformation'
+ $ref: "#/components/schemas/RouteInformation"
routeProfId:
type: string
nullable: true
@@ -1187,11 +1187,11 @@ components:
type: object
properties:
ipv4Addr:
- $ref: '#/components/schemas/Ipv4Addr'
+ $ref: "#/components/schemas/Ipv4Addr"
ipv6Addr:
- $ref: '#/components/schemas/Ipv6Addr'
+ $ref: "#/components/schemas/Ipv6Addr"
portNumber:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
required:
- portNumber
nullable: true
@@ -1202,11 +1202,11 @@ components:
- arp
properties:
5qi:
- $ref: '#/components/schemas/5Qi'
+ $ref: "#/components/schemas/5Qi"
arp:
- $ref: '#/components/schemas/Arp'
+ $ref: "#/components/schemas/Arp"
priorityLevel:
- $ref: '#/components/schemas/5QiPriorityLevel'
+ $ref: "#/components/schemas/5QiPriorityLevel"
Area:
type: object
oneOf:
@@ -1218,23 +1218,23 @@ components:
tacs:
type: array
items:
- $ref: '#/components/schemas/Tac'
+ $ref: "#/components/schemas/Tac"
minItems: 1
areaCode:
- $ref: '#/components/schemas/AreaCode'
+ $ref: "#/components/schemas/AreaCode"
ServiceAreaRestriction:
type: object
properties:
restrictionType:
- $ref: '#/components/schemas/RestrictionType'
+ $ref: "#/components/schemas/RestrictionType"
areas:
type: array
items:
- $ref: '#/components/schemas/Area'
+ $ref: "#/components/schemas/Area"
maxNumOfTAs:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
maxNumOfTAsForNotAllowedAreas:
- $ref: '#/components/schemas/Uinteger'
+ $ref: "#/components/schemas/Uinteger"
allOf:
#
# 1st condition: restrictionType and areas attributes shall be either both absent
@@ -1276,26 +1276,26 @@ components:
praId:
type: string
presenceState:
- $ref: '#/components/schemas/PresenceState'
+ $ref: "#/components/schemas/PresenceState"
trackingAreaList:
type: array
items:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
minItems: 1
ecgiList:
type: array
items:
- $ref: '#/components/schemas/Ecgi'
+ $ref: "#/components/schemas/Ecgi"
minItems: 1
ncgiList:
type: array
items:
- $ref: '#/components/schemas/Ncgi'
+ $ref: "#/components/schemas/Ncgi"
minItems: 1
globalRanNodeIdList:
type: array
items:
- $ref: '#/components/schemas/GlobalRanNodeId'
+ $ref: "#/components/schemas/GlobalRanNodeId"
minItems: 1
PresenceInfoRm:
type: object
@@ -1303,40 +1303,40 @@ components:
praId:
type: string
presenceState:
- $ref: '#/components/schemas/PresenceState'
+ $ref: "#/components/schemas/PresenceState"
trackingAreaList:
type: array
items:
- $ref: '#/components/schemas/Tai'
+ $ref: "#/components/schemas/Tai"
minItems: 0
ecgiList:
type: array
items:
- $ref: '#/components/schemas/Ecgi'
+ $ref: "#/components/schemas/Ecgi"
minItems: 0
ncgiList:
type: array
items:
- $ref: '#/components/schemas/Ncgi'
+ $ref: "#/components/schemas/Ncgi"
minItems: 0
globalRanNodeIdList:
type: array
items:
- $ref: '#/components/schemas/GlobalRanNodeId'
+ $ref: "#/components/schemas/GlobalRanNodeId"
nullable: true
GlobalRanNodeId:
type: object
properties:
plmnId:
- $ref: '#/components/schemas/PlmnId'
+ $ref: "#/components/schemas/PlmnId"
n3IwfId:
- $ref: '#/components/schemas/N3IwfId'
+ $ref: "#/components/schemas/N3IwfId"
gNbId:
- $ref: '#/components/schemas/GNbId'
+ $ref: "#/components/schemas/GNbId"
ngeNbId:
- $ref: '#/components/schemas/NgeNbId'
+ $ref: "#/components/schemas/NgeNbId"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
oneOf:
- required: [ n3IwfId ]
- required: [ gNbId ]
@@ -1381,11 +1381,11 @@ components:
- mnc
properties:
mcc:
- $ref: '#/components/schemas/Mcc'
+ $ref: "#/components/schemas/Mcc"
mnc:
- $ref: '#/components/schemas/Mnc'
+ $ref: "#/components/schemas/Mnc"
nid:
- $ref: '#/components/schemas/Nid'
+ $ref: "#/components/schemas/Nid"
SmallDataRateStatus:
type: object
required:
@@ -1400,7 +1400,7 @@ components:
type: integer
minimum: 0
validityTime:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
remainExReportsUl:
type: integer
minimum: 0
@@ -1610,11 +1610,11 @@ components:
type: object
properties:
priorityLevel:
- $ref: '#/components/schemas/ArpPriorityLevel'
+ $ref: "#/components/schemas/ArpPriorityLevel"
preemptCap:
- $ref: '#/components/schemas/PreemptionCapability'
+ $ref: "#/components/schemas/PreemptionCapability"
preemptVuln:
- $ref: '#/components/schemas/PreemptionVulnerability'
+ $ref: "#/components/schemas/PreemptionVulnerability"
required:
- priorityLevel
- preemptCap
@@ -1623,11 +1623,11 @@ components:
type: object
properties:
priorityLevel:
- $ref: '#/components/schemas/ArpPriorityLevel'
+ $ref: "#/components/schemas/ArpPriorityLevel"
preemptCap:
- $ref: '#/components/schemas/PreemptionCapability'
+ $ref: "#/components/schemas/PreemptionCapability"
preemptVuln:
- $ref: '#/components/schemas/PreemptionVulnerability'
+ $ref: "#/components/schemas/PreemptionVulnerability"
required:
- priorityLevel
- preemptCap
@@ -1637,9 +1637,9 @@ components:
type: object
properties:
uplink:
- $ref: '#/components/schemas/BitRate'
+ $ref: "#/components/schemas/BitRate"
downlink:
- $ref: '#/components/schemas/BitRate'
+ $ref: "#/components/schemas/BitRate"
required:
- uplink
- downlink
@@ -1647,9 +1647,9 @@ components:
type: object
properties:
uplink:
- $ref: '#/components/schemas/BitRate'
+ $ref: "#/components/schemas/BitRate"
downlink:
- $ref: '#/components/schemas/BitRate'
+ $ref: "#/components/schemas/BitRate"
required:
- uplink
- downlink
@@ -1658,17 +1658,17 @@ components:
type: object
properties:
resourceType:
- $ref: '#/components/schemas/QosResourceType'
+ $ref: "#/components/schemas/QosResourceType"
priorityLevel:
- $ref: '#/components/schemas/5QiPriorityLevel'
+ $ref: "#/components/schemas/5QiPriorityLevel"
packetDelayBudget:
- $ref: '#/components/schemas/PacketDelBudget'
+ $ref: "#/components/schemas/PacketDelBudget"
packetErrRate:
- $ref: '#/components/schemas/PacketErrRate'
+ $ref: "#/components/schemas/PacketErrRate"
averWindow:
- $ref: '#/components/schemas/AverWindow'
+ $ref: "#/components/schemas/AverWindow"
maxDataBurstVol:
- $ref: '#/components/schemas/MaxDataBurstVol'
+ $ref: "#/components/schemas/MaxDataBurstVol"
required:
- resourceType
- priorityLevel
@@ -1678,11 +1678,11 @@ components:
type: object
properties:
priorityLevel:
- $ref: '#/components/schemas/5QiPriorityLevel'
+ $ref: "#/components/schemas/5QiPriorityLevel"
averWindow:
- $ref: '#/components/schemas/AverWindow'
+ $ref: "#/components/schemas/AverWindow"
maxDataBurstVol:
- $ref: '#/components/schemas/MaxDataBurstVol'
+ $ref: "#/components/schemas/MaxDataBurstVol"
minProperties: 0
#
@@ -1730,7 +1730,7 @@ components:
type: string
pattern: '^[0-9]{3}[0-9]{2,3}-[A-Fa-f0-9]{6}$'
traceDepth:
- $ref: '#/components/schemas/TraceDepth'
+ $ref: "#/components/schemas/TraceDepth"
neTypeList:
type: string
pattern: '^[A-Fa-f0-9]+$'
@@ -1738,9 +1738,9 @@ components:
type: string
pattern: '^[A-Fa-f0-9]+$'
collectionEntityIpv4Addr:
- $ref: '#/components/schemas/Ipv4Addr'
+ $ref: "#/components/schemas/Ipv4Addr"
collectionEntityIpv6Addr:
- $ref: '#/components/schemas/Ipv6Addr'
+ $ref: "#/components/schemas/Ipv6Addr"
interfaceList:
type: string
pattern: '^[A-Fa-f0-9]+$'
@@ -1786,7 +1786,7 @@ components:
type: object
properties:
roamingOdb:
- $ref: '#/components/schemas/RoamingOdb'
+ $ref: "#/components/schemas/RoamingOdb"
#
# Data Types related to Charging as defined in clause 5.8
@@ -1797,13 +1797,13 @@ components:
#
#
ChargingId:
- $ref: '#/components/schemas/Uint32'
+ $ref: "#/components/schemas/Uint32"
RatingGroup:
- $ref: '#/components/schemas/Uint32'
+ $ref: "#/components/schemas/Uint32"
ServiceId:
- $ref: '#/components/schemas/Uint32'
+ $ref: "#/components/schemas/Uint32"
#
@@ -1817,11 +1817,11 @@ components:
type: object
properties:
secondaryRatType:
- $ref: '#/components/schemas/RatType'
+ $ref: "#/components/schemas/RatType"
qosFlowsUsageData:
type: array
items:
- $ref: '#/components/schemas/QosFlowUsageReport'
+ $ref: "#/components/schemas/QosFlowUsageReport"
minItems: 1
required:
- secondaryRatType
@@ -1831,15 +1831,15 @@ components:
type: object
properties:
qfi:
- $ref: '#/components/schemas/Qfi'
+ $ref: "#/components/schemas/Qfi"
startTimeStamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
endTimeStamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
downlinkVolume:
- $ref: '#/components/schemas/Int64'
+ $ref: "#/components/schemas/Int64"
uplinkVolume:
- $ref: '#/components/schemas/Int64'
+ $ref: "#/components/schemas/Int64"
required:
- qfi
- startTimeStamp
@@ -1851,16 +1851,16 @@ components:
type: object
properties:
secondaryRatType:
- $ref: '#/components/schemas/RatType'
+ $ref: "#/components/schemas/RatType"
qosFlowsUsageData:
type: array
items:
- $ref: '#/components/schemas/QosFlowUsageReport'
+ $ref: "#/components/schemas/QosFlowUsageReport"
minItems: 1
pduSessionUsageData:
type: array
items:
- $ref: '#/components/schemas/VolumeTimedReport'
+ $ref: "#/components/schemas/VolumeTimedReport"
minItems: 1
required:
- secondaryRatType
@@ -1869,13 +1869,13 @@ components:
type: object
properties:
startTimeStamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
endTimeStamp:
- $ref: '#/components/schemas/DateTime'
+ $ref: "#/components/schemas/DateTime"
downlinkVolume:
- $ref: '#/components/schemas/Int64'
+ $ref: "#/components/schemas/Int64"
uplinkVolume:
- $ref: '#/components/schemas/Int64'
+ $ref: "#/components/schemas/Int64"
required:
- startTimeStamp
- endTimeStamp
@@ -1893,25 +1893,25 @@ components:
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'401':
description: Unauthorized
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'403':
description: Forbidden
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'404':
description: Not Found
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'405':
description: Method Not Allowed
'408':
@@ -1919,7 +1919,7 @@ components:
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'406':
description: 406 Not Acceptable
'409':
@@ -1927,72 +1927,72 @@ components:
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'410':
description: Gone
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'411':
description: Length Required
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'412':
description: Precondition Failed
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'413':
description: Payload Too Large
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'414':
description: URI Too Long
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'415':
description: Unsupported Media Type
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'429':
description: Too Many Requests
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'500':
description: Internal Server Error
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'501':
description: Not Implemented
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'503':
description: Service Unavailable
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
'504':
description: Gateway Timeout
content:
application/problem+json:
schema:
- $ref: '#/components/schemas/ProblemDetails'
+ $ref: "#/components/schemas/ProblemDetails"
default:
description: Generic Error
\ No newline at end of file
diff --git a/modules/swagger-parser-v3/src/test/resources/referenceFiles/nbsf-management.yaml b/modules/swagger-parser-v3/src/test/resources/referenceFiles/nbsf-management.yaml
index 2bff68d639..59ceeaefaa 100644
--- a/modules/swagger-parser-v3/src/test/resources/referenceFiles/nbsf-management.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/referenceFiles/nbsf-management.yaml
@@ -27,14 +27,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PcfBinding'
+ $ref: "#/components/schemas/PcfBinding"
responses:
'201':
description: The creation of an individual PCF session binding.
content:
application/json:
schema:
- $ref: '#/components/schemas/PcfBinding'
+ $ref: "#/components/schemas/PcfBinding"
headers:
Location:
description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nbsf-management/v1/pcfBindings/{bindingId}'
@@ -126,7 +126,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PcfBinding'
+ $ref: "#/components/schemas/PcfBinding"
'204':
description: There is no PCF session binding information matching the query parameter(s).
'400':
@@ -191,14 +191,14 @@ paths:
content:
application/merge-patch+json:
schema:
- $ref: '#/components/schemas/PcfBindingPatch'
+ $ref: "#/components/schemas/PcfBindingPatch"
responses:
'200':
description: OK (Successful update of the session binding)
content:
application/json:
schema:
- $ref: '#/components/schemas/PcfBinding'
+ $ref: "#/components/schemas/PcfBinding"
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
diff --git a/modules/swagger-parser-v3/src/test/resources/refs-name-conflict/a.yaml b/modules/swagger-parser-v3/src/test/resources/refs-name-conflict/a.yaml
index 20ebd5f125..90444776b1 100644
--- a/modules/swagger-parser-v3/src/test/resources/refs-name-conflict/a.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/refs-name-conflict/a.yaml
@@ -15,7 +15,7 @@ paths:
content:
'*/*':
schema:
- $ref: '#/components/schemas/PersonObj'
+ $ref: "#/components/schemas/PersonObj"
/oldPerson:
post:
summary: Create old person
diff --git a/modules/swagger-parser-v3/src/test/resources/relative-file-references/yaml/models/localreference.yaml b/modules/swagger-parser-v3/src/test/resources/relative-file-references/yaml/models/localreference.yaml
index 45e58635c9..0d6b71693d 100644
--- a/modules/swagger-parser-v3/src/test/resources/relative-file-references/yaml/models/localreference.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/relative-file-references/yaml/models/localreference.yaml
@@ -2,7 +2,7 @@ localArray:
description: This array has references to this file
type: array
items:
- $ref: '#/referencedByLocalArray'
+ $ref: "#/referencedByLocalArray"
referencedByLocalArray:
properties:
hello1:
@@ -12,9 +12,9 @@ referencedByLocalArray:
localObject:
properties:
hello1:
- $ref: '#/referencedByLocalElement'
+ $ref: "#/referencedByLocalElement"
shareprefix:
- $ref: '#/referencedBy'
+ $ref: "#/referencedBy"
referencedByLocalElement:
properties:
hello1:
diff --git a/modules/swagger-parser-v3/src/test/resources/relative-issue/subfolder/domain.yaml b/modules/swagger-parser-v3/src/test/resources/relative-issue/subfolder/domain.yaml
index 47980be4df..d98524d53a 100644
--- a/modules/swagger-parser-v3/src/test/resources/relative-issue/subfolder/domain.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/relative-issue/subfolder/domain.yaml
@@ -14,7 +14,7 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/ErrorMessage'
+ $ref: "#/components/schemas/ErrorMessage"
schemas:
ErrorMessage:
type: object
diff --git a/modules/swagger-parser-v3/src/test/resources/remote_references/remote_callback.yaml b/modules/swagger-parser-v3/src/test/resources/remote_references/remote_callback.yaml
index 6f5a7815a8..b0dba5688d 100644
--- a/modules/swagger-parser-v3/src/test/resources/remote_references/remote_callback.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/remote_references/remote_callback.yaml
@@ -1,7 +1,7 @@
'$response.body#/successUrl':
post:
requestBody:
- $ref: '#/components/requestBodies/requestBody1'
+ $ref: "#/components/requestBodies/requestBody1"
responses:
'200':
description: Consumer acknowledged the callback
\ No newline at end of file
diff --git a/modules/swagger-parser-v3/src/test/resources/remote_references/remote_ref_yaml.yaml b/modules/swagger-parser-v3/src/test/resources/remote_references/remote_ref_yaml.yaml
index 34b882f9b7..df981c7f20 100644
--- a/modules/swagger-parser-v3/src/test/resources/remote_references/remote_ref_yaml.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/remote_references/remote_ref_yaml.yaml
@@ -44,7 +44,7 @@ paths:
- 'write:pets'
- 'read:pets'
requestBody:
- $ref: '#/components/requestBodies/Pet'
+ $ref: "#/components/requestBodies/Pet"
put:
tags:
- pet
@@ -63,7 +63,7 @@ paths:
- 'write:pets'
- 'read:pets'
requestBody:
- $ref: '#/components/requestBodies/Pet'
+ $ref: "#/components/requestBodies/Pet"
/pet/findByStatus:
get:
tags:
@@ -94,12 +94,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid status value
security:
@@ -133,12 +133,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid tag value
security:
@@ -167,10 +167,10 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
'400':
description: Invalid ID supplied
'404':
@@ -259,7 +259,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ApiResponse'
+ $ref: "#/components/schemas/ApiResponse"
security:
- petstore_auth:
- 'write:pets'
@@ -309,17 +309,17 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
'400':
description: Invalid Order
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
description: order placed for purchasing the pet
required: true
'/store/order/{orderId}':
@@ -347,10 +347,10 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
application/json:
schema:
- $ref: '#/components/schemas/Order'
+ $ref: "#/components/schemas/Order"
'400':
description: Invalid ID supplied
'404':
@@ -391,7 +391,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: Created user object
required: true
/user/createWithArray:
@@ -405,7 +405,7 @@ paths:
default:
description: successful operation
requestBody:
- $ref: '#/components/requestBodies/UserArray'
+ $ref: "#/components/requestBodies/UserArray"
/user/createWithList:
post:
tags:
@@ -417,7 +417,7 @@ paths:
default:
description: successful operation
requestBody:
- $ref: '#/components/requestBodies/UserArray'
+ $ref: "#/components/requestBodies/UserArray"
/user/login:
get:
tags:
@@ -491,10 +491,10 @@ paths:
content:
application/xml:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
'400':
description: Invalid username supplied
'404':
@@ -521,7 +521,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: Updated user object
required: true
delete:
@@ -553,17 +553,17 @@ components:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
description: List of user object
required: true
Pet:
content:
application/json:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
application/xml:
schema:
- $ref: '#/components/schemas/Pet'
+ $ref: "#/components/schemas/Pet"
description: Pet object that needs to be added to the store
required: true
securitySchemes:
@@ -661,7 +661,7 @@ components:
type: integer
format: int64
category:
- $ref: '#/components/schemas/Category'
+ $ref: "#/components/schemas/Category"
name:
type: string
example: doggie
@@ -678,7 +678,7 @@ components:
name: tag
wrapped: true
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/Tag"
status:
type: string
description: pet status in the store
diff --git a/modules/swagger-parser-v3/src/test/resources/resolve-flatten-SH-configuration-test.yaml b/modules/swagger-parser-v3/src/test/resources/resolve-flatten-SH-configuration-test.yaml
index 151e91a871..e98f19ab43 100644
--- a/modules/swagger-parser-v3/src/test/resources/resolve-flatten-SH-configuration-test.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/resolve-flatten-SH-configuration-test.yaml
@@ -10,9 +10,9 @@ paths:
operationId: getUsers
responses:
'200':
- $ref: '#/components/responses/SuccessResponse'
+ $ref: "#/components/responses/SuccessResponse"
'404':
- $ref: '#/components/responses/NotFoundResponse'
+ $ref: "#/components/responses/NotFoundResponse"
components:
responses:
diff --git a/modules/swagger-parser-v3/src/test/resources/resolve-fully-map.yaml b/modules/swagger-parser-v3/src/test/resources/resolve-fully-map.yaml
index 02ba065c69..b64ddf74af 100644
--- a/modules/swagger-parser-v3/src/test/resources/resolve-fully-map.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/resolve-fully-map.yaml
@@ -17,7 +17,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/MyModelMap'
+ $ref: "#/components/schemas/MyModelMap"
components:
schemas:
MyModel:
diff --git a/modules/swagger-parser-v3/src/test/resources/resolve-responses-test.yaml b/modules/swagger-parser-v3/src/test/resources/resolve-responses-test.yaml
index 43642b01f1..acaa9ff69d 100644
--- a/modules/swagger-parser-v3/src/test/resources/resolve-responses-test.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/resolve-responses-test.yaml
@@ -21,7 +21,7 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
'500':
description: Server error
'400':
@@ -37,11 +37,11 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
'400':
$ref: "#/components/responses/BadRequest"
'422':
- $ref: '#/components/responses/UnprocessableEntity'
+ $ref: "#/components/responses/UnprocessableEntity"
/users/{userId}:
get:
summary: Get a user by ID
@@ -58,7 +58,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
'404':
$ref: "#/components/responses/NotFound"
'500':
@@ -77,7 +77,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserInput'
+ $ref: "#/components/schemas/UserInput"
responses:
'200':
description: User updated successfully
diff --git a/modules/swagger-parser-v3/src/test/resources/same-refs-different-model-valid.yaml b/modules/swagger-parser-v3/src/test/resources/same-refs-different-model-valid.yaml
index ab069038b3..d7a9578a17 100644
--- a/modules/swagger-parser-v3/src/test/resources/same-refs-different-model-valid.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/same-refs-different-model-valid.yaml
@@ -6,14 +6,14 @@ info:
paths:
/bar:
parameters:
- - $ref: '#/components/parameters/requestid'
+ - $ref: "#/components/parameters/requestid"
delete:
responses:
'204':
description: Deleted
headers:
X-requestid:
- $ref: '#/components/parameters/requestid'
+ $ref: "#/components/parameters/requestid"
components:
parameters:
diff --git a/modules/swagger-parser-v3/src/test/resources/sample/schema.yaml b/modules/swagger-parser-v3/src/test/resources/sample/schema.yaml
index a367d1b20d..0e8a6f93bb 100755
--- a/modules/swagger-parser-v3/src/test/resources/sample/schema.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/sample/schema.yaml
@@ -2,7 +2,7 @@ components:
schemas:
Pet:
allOf:
- - $ref: '#/components/schemas/NewPet'
+ - $ref: "#/components/schemas/NewPet"
- required:
- id
properties:
diff --git a/modules/swagger-parser-v3/src/test/resources/simple.yaml b/modules/swagger-parser-v3/src/test/resources/simple.yaml
index d394025386..eb9caf664c 100644
--- a/modules/swagger-parser-v3/src/test/resources/simple.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/simple.yaml
@@ -53,7 +53,7 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
'400':
description: bad input parameter
post:
@@ -73,7 +73,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
description: Inventory item to add
components:
schemas:
@@ -97,7 +97,7 @@ components:
format: date-time
example: '2016-08-29T09:12:33.001Z'
manufacturer:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
Manufacturer:
required:
- name
diff --git a/modules/swagger-parser-v3/src/test/resources/simpleAllOf.yaml b/modules/swagger-parser-v3/src/test/resources/simpleAllOf.yaml
index 19fb765098..70d840ef5e 100644
--- a/modules/swagger-parser-v3/src/test/resources/simpleAllOf.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/simpleAllOf.yaml
@@ -10,8 +10,8 @@ paths:
application/json:
schema:
allOf:
- - $ref: '#/components/schemas/FirstType'
- - $ref: '#/components/schemas/SecondType'
+ - $ref: "#/components/schemas/FirstType"
+ - $ref: "#/components/schemas/SecondType"
/bar:
get:
responses:
@@ -20,8 +20,8 @@ paths:
application/json:
schema:
allOf:
- - $ref: '#/components/schemas/FirstType'
- - $ref: '#/components/schemas/SecondType'
+ - $ref: "#/components/schemas/FirstType"
+ - $ref: "#/components/schemas/SecondType"
example:
someProperty: ABC
someOtherProperty: 42
diff --git a/modules/swagger-parser-v3/src/test/resources/swos-443/ref.yaml b/modules/swagger-parser-v3/src/test/resources/swos-443/ref.yaml
index ac3344cca8..e4cbb62fb2 100644
--- a/modules/swagger-parser-v3/src/test/resources/swos-443/ref.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/swos-443/ref.yaml
@@ -69,14 +69,14 @@ components:
'https://yourdomain.com/css/yourCallbackEndpoint':
postx:
parameters:
- - $ref: '#/components/parameters/x-api-key'
+ - $ref: "#/components/parameters/x-api-key"
requestBody:
required: true
description: description
content:
application/json:
schema:
- $ref: '#/components/schemas/WebhookVerification'
+ $ref: "#/components/schemas/WebhookVerification"
responses:
'202':
description: Your server returns this code if it accepts the message it was sent
diff --git a/modules/swagger-parser-v3/src/test/resources/testPattern.yaml b/modules/swagger-parser-v3/src/test/resources/testPattern.yaml
index e2a5b23d8a..166d6fc061 100644
--- a/modules/swagger-parser-v3/src/test/resources/testPattern.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/testPattern.yaml
@@ -20,7 +20,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SomeObj'
+ $ref: "#/components/schemas/SomeObj"
required: true
responses:
200:
diff --git a/modules/swagger-parser-v3/src/test/resources/thing.yaml b/modules/swagger-parser-v3/src/test/resources/thing.yaml
index ab9a1b61e0..84b17eaffb 100644
--- a/modules/swagger-parser-v3/src/test/resources/thing.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/thing.yaml
@@ -21,13 +21,13 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ThingSummary'
+ $ref: "#/components/schemas/ThingSummary"
description: |
Search for a Thing given the parameters included in the query string.
'/things/{id}':
x-handler: things
parameters:
- - $ref: '#/components/parameters/PathId'
+ - $ref: "#/components/parameters/PathId"
get:
operationId: getById
summary: Get Existing Thing
@@ -38,9 +38,9 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Thing'
+ $ref: "#/components/schemas/Thing"
'404':
- $ref: '#/components/responses/NotFound'
+ $ref: "#/components/responses/NotFound"
description: |
Get details of a particular Thing given the Thing `id`.
components:
@@ -61,7 +61,7 @@ components:
content:
application/json:
schema:
- $ref: '#/components/schemas/ApiError'
+ $ref: "#/components/schemas/ApiError"
schemas:
Address:
required:
@@ -104,7 +104,7 @@ components:
description: A type name for the error.
Thing:
allOf:
- - $ref: '#/components/schemas/ThingSummary'
+ - $ref: "#/components/schemas/ThingSummary"
- type: object
properties:
stuff:
@@ -125,4 +125,4 @@ components:
type: string
description: The unique identifier of this Thing.
address:
- $ref: '#/components/schemas/Address'
\ No newline at end of file
+ $ref: "#/components/schemas/Address"
\ No newline at end of file
diff --git a/modules/swagger-parser-v3/src/test/resources/troublesome.yaml b/modules/swagger-parser-v3/src/test/resources/troublesome.yaml
index c3f2240012..b8e0cc08e8 100644
--- a/modules/swagger-parser-v3/src/test/resources/troublesome.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/troublesome.yaml
@@ -115,7 +115,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SoundSummary'
+ $ref: "#/components/schemas/SoundSummary"
'/{playerId}/volume':
get:
description: gets player volume
@@ -144,14 +144,14 @@ paths:
- sound
operationId: playerStatus
parameters:
- - $ref: '#/components/parameters/playerId'
+ - $ref: "#/components/parameters/playerId"
responses:
'200':
description: ok
content:
application/json:
schema:
- $ref: '#/components/schemas/SoundZoneStatus'
+ $ref: "#/components/schemas/SoundZoneStatus"
'/{playerId}/pause':
post:
description: pause a player
@@ -191,7 +191,7 @@ components:
zones:
type: array
items:
- $ref: '#/components/schemas/SoundZone'
+ $ref: "#/components/schemas/SoundZone"
SoundZone:
properties:
id:
@@ -209,9 +209,9 @@ components:
SoundZoneStatus:
properties:
currentTrack:
- $ref: '#/components/schemas/ActiveTrack'
+ $ref: "#/components/schemas/ActiveTrack"
nextTrack:
- $ref: '#/components/schemas/Track'
+ $ref: "#/components/schemas/Track"
relTime:
type: integer
format: int32
diff --git a/modules/swagger-parser-v3/src/test/resources/unexpectedNullValues.yaml b/modules/swagger-parser-v3/src/test/resources/unexpectedNullValues.yaml
index 15d32faec5..a00ebe04f5 100644
--- a/modules/swagger-parser-v3/src/test/resources/unexpectedNullValues.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/unexpectedNullValues.yaml
@@ -23,7 +23,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DatasetDetail'
+ $ref: "#/components/schemas/DatasetDetail"
examples:
123:
value:
@@ -38,7 +38,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Errors'
+ $ref: "#/components/schemas/Errors"
/verify:
post:
summary: |
@@ -101,7 +101,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DatasetDetail'
+ $ref: "#/components/schemas/DatasetDetail"
examples:
123:
value:
@@ -116,7 +116,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Errors'
+ $ref: "#/components/schemas/Errors"
components:
schemas:
@@ -163,7 +163,7 @@ components:
description: The high level details of a Dataset that is available within a country
type: object
allOf:
- - $ref: '#/components/schemas/Dataset'
+ - $ref: "#/components/schemas/Dataset"
properties:
schema:
type: object
diff --git a/modules/swagger-parser-v3/src/test/resources/validation/path-parameter-validation.yaml b/modules/swagger-parser-v3/src/test/resources/validation/path-parameter-validation.yaml
index 21e05a0a76..ef7fcda990 100644
--- a/modules/swagger-parser-v3/src/test/resources/validation/path-parameter-validation.yaml
+++ b/modules/swagger-parser-v3/src/test/resources/validation/path-parameter-validation.yaml
@@ -19,7 +19,7 @@ paths:
get:
operationId: ReadUser
parameters:
- - $ref: '#/components/parameters/accountId'
+ - $ref: "#/components/parameters/accountId"
responses:
'200':
description: 200 response
diff --git a/pom.xml b/pom.xml
index 85fa47bf53..6eb7dcf9ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,19 +413,19 @@