Showing preview only (4,639K chars total). Download the full file or copy to clipboard to get everything.
Repository: swagger-api/swagger-core
Branch: master
Commit: 1d25dc1f9388
Files: 1211
Total size: 4.1 MB
Directory structure:
gitextract_wy3hqqbl/
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── 01_bug_report.md
│ │ ├── 02_question.md
│ │ └── 03_feature_request.md
│ ├── dependabot.yml
│ ├── pull_request_template.md
│ ├── topissuebot.yml
│ └── workflows/
│ ├── codeql-analysis.yml
│ ├── dependency-review.yml
│ ├── maven-pulls.yml
│ ├── maven-v1-pulls.yml
│ ├── maven-v1.yml
│ ├── maven.yml
│ ├── prepare-release.yml
│ └── release.yml
├── .gitignore
├── .mvn/
│ └── wrapper/
│ ├── maven-wrapper.jar
│ └── maven-wrapper.properties
├── .whitesource
├── CI/
│ ├── CI.md
│ ├── ghApiClient.py
│ ├── lastRelease.py
│ ├── post-release.sh
│ ├── pre-release.sh
│ ├── prepare-javadocs.sh
│ ├── prepare-release.sh
│ ├── publish-javadocs.sh
│ ├── publishRelease.py
│ ├── releaseNotes.py
│ ├── test.py
│ ├── update-v1-readme.sh
│ └── update-wiki.sh
├── LICENSE
├── NOTICE
├── README.md
├── modules/
│ ├── swagger-annotations/
│ │ ├── .gitignore
│ │ ├── pom.xml
│ │ └── src/
│ │ └── main/
│ │ └── java/
│ │ └── io/
│ │ └── swagger/
│ │ └── v3/
│ │ └── oas/
│ │ └── annotations/
│ │ ├── ExternalDocumentation.java
│ │ ├── Hidden.java
│ │ ├── OpenAPI31.java
│ │ ├── OpenAPIDefinition.java
│ │ ├── Operation.java
│ │ ├── Parameter.java
│ │ ├── Parameters.java
│ │ ├── StringToClassMapItem.java
│ │ ├── Webhook.java
│ │ ├── Webhooks.java
│ │ ├── callbacks/
│ │ │ ├── Callback.java
│ │ │ └── Callbacks.java
│ │ ├── enums/
│ │ │ ├── Explode.java
│ │ │ ├── ParameterIn.java
│ │ │ ├── ParameterStyle.java
│ │ │ ├── SecuritySchemeIn.java
│ │ │ └── SecuritySchemeType.java
│ │ ├── extensions/
│ │ │ ├── Extension.java
│ │ │ ├── ExtensionProperty.java
│ │ │ └── Extensions.java
│ │ ├── headers/
│ │ │ └── Header.java
│ │ ├── info/
│ │ │ ├── Contact.java
│ │ │ ├── Info.java
│ │ │ └── License.java
│ │ ├── links/
│ │ │ ├── Link.java
│ │ │ └── LinkParameter.java
│ │ ├── media/
│ │ │ ├── ArraySchema.java
│ │ │ ├── Content.java
│ │ │ ├── DependentRequired.java
│ │ │ ├── DependentRequiredMap.java
│ │ │ ├── DependentSchema.java
│ │ │ ├── DependentSchemas.java
│ │ │ ├── DiscriminatorMapping.java
│ │ │ ├── Encoding.java
│ │ │ ├── ExampleObject.java
│ │ │ ├── PatternProperties.java
│ │ │ ├── PatternProperty.java
│ │ │ ├── Schema.java
│ │ │ ├── SchemaProperties.java
│ │ │ └── SchemaProperty.java
│ │ ├── parameters/
│ │ │ ├── RequestBody.java
│ │ │ └── ValidatedParameter.java
│ │ ├── responses/
│ │ │ ├── ApiResponse.java
│ │ │ ├── ApiResponses.java
│ │ │ └── FailedApiResponse.java
│ │ ├── security/
│ │ │ ├── OAuthFlow.java
│ │ │ ├── OAuthFlows.java
│ │ │ ├── OAuthScope.java
│ │ │ ├── SecurityRequirement.java
│ │ │ ├── SecurityRequirementEntry.java
│ │ │ ├── SecurityRequirements.java
│ │ │ ├── SecurityScheme.java
│ │ │ └── SecuritySchemes.java
│ │ ├── servers/
│ │ │ ├── Server.java
│ │ │ ├── ServerVariable.java
│ │ │ └── Servers.java
│ │ └── tags/
│ │ ├── Tag.java
│ │ └── Tags.java
│ ├── swagger-core/
│ │ ├── pom.xml
│ │ └── src/
│ │ ├── main/
│ │ │ └── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── core/
│ │ │ ├── converter/
│ │ │ │ ├── AnnotatedType.java
│ │ │ │ ├── ModelConverter.java
│ │ │ │ ├── ModelConverterContext.java
│ │ │ │ ├── ModelConverterContextImpl.java
│ │ │ │ ├── ModelConverters.java
│ │ │ │ └── ResolvedSchema.java
│ │ │ ├── filter/
│ │ │ │ ├── AbstractSpecFilter.java
│ │ │ │ ├── OpenAPI31SpecFilter.java
│ │ │ │ ├── OpenAPISpecFilter.java
│ │ │ │ └── SpecFilter.java
│ │ │ ├── jackson/
│ │ │ │ ├── AbstractModelConverter.java
│ │ │ │ ├── ApiResponsesSerializer.java
│ │ │ │ ├── CallbackSerializer.java
│ │ │ │ ├── ExampleSerializer.java
│ │ │ │ ├── JAXBAnnotationsHelper.java
│ │ │ │ ├── MediaTypeSerializer.java
│ │ │ │ ├── ModelResolver.java
│ │ │ │ ├── PackageVersion.java
│ │ │ │ ├── PathsSerializer.java
│ │ │ │ ├── Schema31Serializer.java
│ │ │ │ ├── SchemaSerializer.java
│ │ │ │ ├── SwaggerAnnotationIntrospector.java
│ │ │ │ ├── SwaggerModule.java
│ │ │ │ ├── TypeNameResolver.java
│ │ │ │ └── mixin/
│ │ │ │ ├── Components31Mixin.java
│ │ │ │ ├── ComponentsMixin.java
│ │ │ │ ├── DateSchemaMixin.java
│ │ │ │ ├── Discriminator31Mixin.java
│ │ │ │ ├── DiscriminatorMixin.java
│ │ │ │ ├── ExampleMixin.java
│ │ │ │ ├── ExtensionsMixin.java
│ │ │ │ ├── Info31Mixin.java
│ │ │ │ ├── InfoMixin.java
│ │ │ │ ├── LicenseMixin.java
│ │ │ │ ├── MediaTypeMixin.java
│ │ │ │ ├── OpenAPI31Mixin.java
│ │ │ │ ├── OpenAPIMixin.java
│ │ │ │ ├── OperationMixin.java
│ │ │ │ ├── Schema31Mixin.java
│ │ │ │ ├── SchemaConverterMixin.java
│ │ │ │ └── SchemaMixin.java
│ │ │ ├── model/
│ │ │ │ └── ApiDescription.java
│ │ │ └── util/
│ │ │ ├── AnnotationsUtils.java
│ │ │ ├── ApiResponses31Deserializer.java
│ │ │ ├── ApiResponsesDeserializer.java
│ │ │ ├── Callback31Deserializer.java
│ │ │ ├── CallbackDeserializer.java
│ │ │ ├── Configuration.java
│ │ │ ├── Constants.java
│ │ │ ├── DeserializationModule.java
│ │ │ ├── DeserializationModule31.java
│ │ │ ├── EncodingPropertyStyleEnumDeserializer.java
│ │ │ ├── EncodingStyleEnumDeserializer.java
│ │ │ ├── HeaderStyleEnumDeserializer.java
│ │ │ ├── Json.java
│ │ │ ├── Json31.java
│ │ │ ├── KotlinDetector.java
│ │ │ ├── Model31Deserializer.java
│ │ │ ├── ModelDeserializer.java
│ │ │ ├── ObjectMapperFactory.java
│ │ │ ├── OpenAPI30To31.java
│ │ │ ├── OpenAPI31Deserializer.java
│ │ │ ├── OpenAPISchema2JsonSchema.java
│ │ │ ├── Parameter31Deserializer.java
│ │ │ ├── ParameterDeserializer.java
│ │ │ ├── ParameterProcessor.java
│ │ │ ├── PathUtils.java
│ │ │ ├── Paths31Deserializer.java
│ │ │ ├── PathsDeserializer.java
│ │ │ ├── PrettyPrintHelper.java
│ │ │ ├── PrimitiveType.java
│ │ │ ├── RefUtils.java
│ │ │ ├── ReferenceTypeUtils.java
│ │ │ ├── ReflectionUtils.java
│ │ │ ├── SchemaTypeUtils.java
│ │ │ ├── SecurityScheme31Deserializer.java
│ │ │ ├── SecuritySchemeDeserializer.java
│ │ │ ├── SiblingAnnotationFilter.java
│ │ │ ├── ValidationAnnotationsUtils.java
│ │ │ ├── ValidatorProcessor.java
│ │ │ ├── Yaml.java
│ │ │ └── Yaml31.java
│ │ └── test/
│ │ ├── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── core/
│ │ │ ├── converting/
│ │ │ │ ├── AnnotatedTypeCachingTest.java
│ │ │ │ ├── AnnotatedTypeTest.java
│ │ │ │ ├── ArrayOfSubclassTest.java
│ │ │ │ ├── ByteConverterTest.java
│ │ │ │ ├── CompositionTest.java
│ │ │ │ ├── CovariantGetterTest.java
│ │ │ │ ├── EnumPropertyTest.java
│ │ │ │ ├── GuavaTest.java
│ │ │ │ ├── Issue5055Test.java
│ │ │ │ ├── ModelConverterTest.java
│ │ │ │ ├── ModelPropertyTest.java
│ │ │ │ ├── NumericFormatTest.java
│ │ │ │ ├── PojoTest.java
│ │ │ │ ├── PolymorphicSubtypePropertyBleedTest.java
│ │ │ │ ├── SwaggerSerializerTest.java
│ │ │ │ └── override/
│ │ │ │ ├── CustomAnnotationConverter.java
│ │ │ │ ├── CustomConverterTest.java
│ │ │ │ ├── CustomResolverTest.java
│ │ │ │ ├── GenericModelConverter.java
│ │ │ │ ├── ModelPropertyOverrideTest.java
│ │ │ │ ├── OverrideTest.java
│ │ │ │ ├── SamplePropertyConverter.java
│ │ │ │ ├── SamplePropertyExtendedConverter.java
│ │ │ │ ├── SnakeCaseConverterTest.java
│ │ │ │ └── resources/
│ │ │ │ ├── GenericModel.java
│ │ │ │ └── MyCustomClass.java
│ │ │ ├── deserialization/
│ │ │ │ ├── ComprehensiveOAS31ValidationTest.java
│ │ │ │ ├── JsonDeserializationTest.java
│ │ │ │ ├── ObjectPropertyTest.java
│ │ │ │ ├── OpenAPI3_1DeserializationTest.java
│ │ │ │ ├── ParameterDeSerializationTest.java
│ │ │ │ ├── SchemaDeserializationTest.java
│ │ │ │ └── properties/
│ │ │ │ ├── ArrayPropertyDeserializerTest.java
│ │ │ │ ├── JsonPropertiesDeserializationTest.java
│ │ │ │ ├── MapPropertyDeserializerTest.java
│ │ │ │ └── PropertyDeserializerTest.java
│ │ │ ├── filter/
│ │ │ │ ├── SpecFilterTest.java
│ │ │ │ └── resources/
│ │ │ │ ├── ChangeGetOperationsFilter.java
│ │ │ │ ├── InternalModelPropertiesRemoverFilter.java
│ │ │ │ ├── NoCategoryRefSchemaFilter.java
│ │ │ │ ├── NoGetOperationsFilter.java
│ │ │ │ ├── NoOpOperationsFilter.java
│ │ │ │ ├── NoOpenAPIFilter.java
│ │ │ │ ├── NoParametersWithoutQueryInFilter.java
│ │ │ │ ├── NoPathItemFilter.java
│ │ │ │ ├── NoPetOperationsFilter.java
│ │ │ │ ├── NoPetRefSchemaFilter.java
│ │ │ │ ├── NoTagRefSchemaPropertyFilter.java
│ │ │ │ ├── RemoveInternalParamsFilter.java
│ │ │ │ ├── RemoveUnreferencedDefinitionsFilter.java
│ │ │ │ └── ReplaceGetOperationsFilter.java
│ │ │ ├── issues/
│ │ │ │ ├── Issue4339Test.java
│ │ │ │ ├── Issue4838Test.java
│ │ │ │ └── Issue5001Test.java
│ │ │ ├── matchers/
│ │ │ │ └── SerializationMatchers.java
│ │ │ ├── oas/
│ │ │ │ └── models/
│ │ │ │ ├── Address.java
│ │ │ │ ├── ApiFirstRequiredFieldModel.java
│ │ │ │ ├── BeanValidationsModel.java
│ │ │ │ ├── Car.java
│ │ │ │ ├── Cat.java
│ │ │ │ ├── Children.java
│ │ │ │ ├── ClientOptInput.java
│ │ │ │ ├── Department.java
│ │ │ │ ├── Employee.java
│ │ │ │ ├── EmptyModel.java
│ │ │ │ ├── Error.java
│ │ │ │ ├── GuavaModel.java
│ │ │ │ ├── Issue534.java
│ │ │ │ ├── JCovariantGetter.java
│ │ │ │ ├── JacksonIntegerValueEnum.java
│ │ │ │ ├── JacksonIntegerValueFieldEnum.java
│ │ │ │ ├── JacksonPropertyEnum.java
│ │ │ │ ├── JacksonReadonlyModel.java
│ │ │ │ ├── JacksonValueEnum.java
│ │ │ │ ├── JacksonValueFieldEnum.java
│ │ │ │ ├── JacksonValuePrivateEnum.java
│ │ │ │ ├── JodaDateTimeModel.java
│ │ │ │ ├── Link.java
│ │ │ │ ├── Manufacturers.java
│ │ │ │ ├── Model1155.java
│ │ │ │ ├── Model1979.java
│ │ │ │ ├── ModelExampleTest.java
│ │ │ │ ├── ModelPropertyName.java
│ │ │ │ ├── ModelWithAltPropertyName.java
│ │ │ │ ├── ModelWithApiModel.java
│ │ │ │ ├── ModelWithArrayOfSubclasses.java
│ │ │ │ ├── ModelWithBooleanProperty.java
│ │ │ │ ├── ModelWithEnumArray.java
│ │ │ │ ├── ModelWithEnumField.java
│ │ │ │ ├── ModelWithEnumProperty.java
│ │ │ │ ├── ModelWithEnumRefProperty.java
│ │ │ │ ├── ModelWithFormattedStrings.java
│ │ │ │ ├── ModelWithJAXBAnnotations.java
│ │ │ │ ├── ModelWithJacksonEnumField.java
│ │ │ │ ├── ModelWithJaxBDefaultValues.java
│ │ │ │ ├── ModelWithModelPropertyOverrides.java
│ │ │ │ ├── ModelWithNumbers.java
│ │ │ │ ├── ModelWithOffset.java
│ │ │ │ ├── ModelWithPrimitiveArray.java
│ │ │ │ ├── ModelWithRanges.java
│ │ │ │ ├── ModelWithTuple2.java
│ │ │ │ ├── Person.java
│ │ │ │ ├── ReadOnlyFields.java
│ │ │ │ ├── ReadOnlyModel.java
│ │ │ │ ├── RequiredFields.java
│ │ │ │ ├── RequiredRefFieldModel.java
│ │ │ │ ├── SpecialOrderItem.java
│ │ │ │ ├── TestEnum.java
│ │ │ │ ├── TestSecondEnum.java
│ │ │ │ ├── XmlFirstRequiredFieldModel.java
│ │ │ │ ├── composition/
│ │ │ │ │ ├── AbstractBaseModelWithSubTypes.java
│ │ │ │ │ ├── AbstractBaseModelWithoutFields.java
│ │ │ │ │ ├── AbstractModelWithApiModel.java
│ │ │ │ │ ├── Animal.java
│ │ │ │ │ ├── AnimalClass.java
│ │ │ │ │ ├── AnimalWithSchemaSubtypes.java
│ │ │ │ │ ├── Human.java
│ │ │ │ │ ├── HumanClass.java
│ │ │ │ │ ├── HumanWithSchemaSubtypes.java
│ │ │ │ │ ├── ModelWithFieldWithSubTypes.java
│ │ │ │ │ ├── ModelWithUrlProperty.java
│ │ │ │ │ ├── ModelWithValueProperty.java
│ │ │ │ │ ├── Pet.java
│ │ │ │ │ ├── PetClass.java
│ │ │ │ │ ├── PetWithSchemaSubtypes.java
│ │ │ │ │ ├── Thing1.java
│ │ │ │ │ ├── Thing2.java
│ │ │ │ │ └── Thing3.java
│ │ │ │ └── xmltest/
│ │ │ │ ├── NestedModelWithJAXBAnnotations.java
│ │ │ │ ├── SubModelWithJAXBAnnotations.java
│ │ │ │ └── package-info.java
│ │ │ ├── resolving/
│ │ │ │ ├── ATMTest.java
│ │ │ │ ├── AllofResolvingTest.java
│ │ │ │ ├── AnnotationsUtilsExtensionsTest.java
│ │ │ │ ├── AnnotationsUtilsHeadersTest.java
│ │ │ │ ├── BeanValidatorTest.java
│ │ │ │ ├── ComplexPropertyTest.java
│ │ │ │ ├── ComposedSchemaTest.java
│ │ │ │ ├── CompositionSuperfluousRefTest.java
│ │ │ │ ├── ContainerTest.java
│ │ │ │ ├── EnumTest.java
│ │ │ │ ├── HiddenFieldTest.java
│ │ │ │ ├── InheritedBeanTest.java
│ │ │ │ ├── InlineResolvingTest.java
│ │ │ │ ├── JacksonJsonUnwrappedTest.java
│ │ │ │ ├── JaxBDefaultValueTest.java
│ │ │ │ ├── JodaDateTimeConverterTest.java
│ │ │ │ ├── JodaLocalDateConverterTest.java
│ │ │ │ ├── JodaTest.java
│ │ │ │ ├── JsonPropertyTest.java
│ │ │ │ ├── JsonSubTypesAndSchemaOneOfTest.java
│ │ │ │ ├── JsonViewTest.java
│ │ │ │ ├── ModelWithRangesTest.java
│ │ │ │ ├── RequiredFieldModelTest.java
│ │ │ │ ├── SimpleGenerationTest.java
│ │ │ │ ├── SwaggerTestBase.java
│ │ │ │ ├── Ticket2189Test.java
│ │ │ │ ├── Ticket2740CyclicTest.java
│ │ │ │ ├── Ticket2862SubtypeTest.java
│ │ │ │ ├── Ticket2884Test.java
│ │ │ │ ├── Ticket2915Test.java
│ │ │ │ ├── Ticket2926Test.java
│ │ │ │ ├── Ticket2972Test.java
│ │ │ │ ├── Ticket2992Test.java
│ │ │ │ ├── Ticket3030Test.java
│ │ │ │ ├── Ticket3063Test.java
│ │ │ │ ├── Ticket3197Test.java
│ │ │ │ ├── Ticket3348Test.java
│ │ │ │ ├── Ticket3365Test.java
│ │ │ │ ├── Ticket3624Test.java
│ │ │ │ ├── Ticket3697Test.java
│ │ │ │ ├── Ticket3699Test.java
│ │ │ │ ├── Ticket3703Test.java
│ │ │ │ ├── Ticket3853Test.java
│ │ │ │ ├── Ticket3904Test.java
│ │ │ │ ├── Ticket4239Test.java
│ │ │ │ ├── Ticket4290Test.java
│ │ │ │ ├── Ticket4362Test.java
│ │ │ │ ├── Ticket4474Test.java
│ │ │ │ ├── Ticket4679Test.java
│ │ │ │ ├── Ticket4760Test.java
│ │ │ │ ├── Ticket4771Test.java
│ │ │ │ ├── Ticket4800Test.java
│ │ │ │ ├── Ticket4904Test.java
│ │ │ │ ├── XMLGregorianCalendarTest.java
│ │ │ │ ├── XMLInfoTest.java
│ │ │ │ ├── XmlModelTest.java
│ │ │ │ ├── resources/
│ │ │ │ │ ├── BidimensionalArray.java
│ │ │ │ │ ├── InnerType.java
│ │ │ │ │ ├── InnerTypeRequired.java
│ │ │ │ │ ├── Issue4290.java
│ │ │ │ │ ├── JacksonUnwrappedRequiredProperty.java
│ │ │ │ │ ├── JsonViewObject.java
│ │ │ │ │ ├── MyThing.java
│ │ │ │ │ ├── TestArrayType.java
│ │ │ │ │ ├── TestObject2616.java
│ │ │ │ │ ├── TestObject2915.java
│ │ │ │ │ ├── TestObject2972.java
│ │ │ │ │ ├── TestObject2992.java
│ │ │ │ │ ├── TestObject3697.java
│ │ │ │ │ ├── TestObject3699.java
│ │ │ │ │ ├── TestObject4715.java
│ │ │ │ │ ├── TestObjectTicket2620.java
│ │ │ │ │ ├── TestObjectTicket2620Subtypes.java
│ │ │ │ │ ├── TestObjectTicket2900.java
│ │ │ │ │ ├── TestObjectTicket4247.java
│ │ │ │ │ ├── Ticket2862Model.java
│ │ │ │ │ ├── Ticket2862ModelImpl.java
│ │ │ │ │ ├── Ticket2884Model.java
│ │ │ │ │ ├── Ticket2884ModelClass.java
│ │ │ │ │ └── User2169.java
│ │ │ │ └── v31/
│ │ │ │ ├── ModelResolverOAS31Test.java
│ │ │ │ ├── PatternAndSchemaPropertiesTest.java
│ │ │ │ ├── StreamWithArraySchemaTest.java
│ │ │ │ ├── Ticket3900Test.java
│ │ │ │ └── model/
│ │ │ │ ├── Address.java
│ │ │ │ ├── AnnotatedArray.java
│ │ │ │ ├── AnnotatedArrayProperty.java
│ │ │ │ ├── AnnotatedArrayPropertyReadWrite.java
│ │ │ │ ├── AnnotatedArrayPropertyWriteOnly.java
│ │ │ │ ├── AnnotatedPet.java
│ │ │ │ ├── AnnotatedPetSinglePatternProperty.java
│ │ │ │ ├── Category.java
│ │ │ │ ├── Client.java
│ │ │ │ ├── CreditCard.java
│ │ │ │ ├── Currency.java
│ │ │ │ ├── CustomGenerator.java
│ │ │ │ ├── ExtensionUser.java
│ │ │ │ ├── JacksonBean.java
│ │ │ │ ├── ListOfStringsBeanParam.java
│ │ │ │ ├── ModelWithDependentSchema.java
│ │ │ │ ├── ModelWithJsonIdentity.java
│ │ │ │ ├── ModelWithJsonIdentityCyclic.java
│ │ │ │ ├── ModelWithOAS31Stuff.java
│ │ │ │ ├── ModelWithOAS31StuffMinimal.java
│ │ │ │ ├── MultipleBaseBean.java
│ │ │ │ ├── MultipleSub1Bean.java
│ │ │ │ ├── MultipleSub2Bean.java
│ │ │ │ ├── NotFoundModel.java
│ │ │ │ ├── Pet.java
│ │ │ │ ├── PostalCodeNumberPattern.java
│ │ │ │ ├── PostalCodePattern.java
│ │ │ │ ├── Tag.java
│ │ │ │ ├── User.java
│ │ │ │ └── siblings/
│ │ │ │ ├── Category.java
│ │ │ │ └── Pet.java
│ │ │ ├── roundtrip/
│ │ │ │ └── ComprehensiveRoundTripTest.java
│ │ │ ├── serialization/
│ │ │ │ ├── ComprehensiveSerializationTest.java
│ │ │ │ ├── JsonSerializationTest.java
│ │ │ │ ├── ModelSerializerTest.java
│ │ │ │ ├── Oas31ObjectFieldTest.java
│ │ │ │ ├── OpenAPI3_1SerializationTest.java
│ │ │ │ ├── ParameterSerializationTest.java
│ │ │ │ ├── ResponseExamplesTest.java
│ │ │ │ ├── SchemaSerializationTest.java
│ │ │ │ ├── SecurityDefinitionTest.java
│ │ │ │ ├── YamlSerializerTest.java
│ │ │ │ ├── auth/
│ │ │ │ │ └── AuthSerializationTest.java_
│ │ │ │ └── properties/
│ │ │ │ └── PropertySerializationTest.java
│ │ │ └── util/
│ │ │ ├── AnnotationsUtilsTest.java
│ │ │ ├── JsonAssert.java
│ │ │ ├── OutputReplacer.java
│ │ │ ├── PathUtilsTest.java
│ │ │ ├── ReferenceTypeUtilsTest.java
│ │ │ ├── ResourceUtils.java
│ │ │ ├── TestUtils.java
│ │ │ ├── ValidationAnnotationsUtilsTest.java
│ │ │ └── reflection/
│ │ │ ├── ReflectionUtilsTest.java
│ │ │ └── resources/
│ │ │ ├── Child.java
│ │ │ ├── IGrandparent.java
│ │ │ ├── IParent.java
│ │ │ ├── IndirectAnnotation.java
│ │ │ ├── ObjectWithManyFields.java
│ │ │ └── Parent.java
│ │ └── resources/
│ │ ├── AbstractBaseModelWithoutFields.json
│ │ ├── Animal.json
│ │ ├── AnimalClass.json
│ │ ├── AnimalWithSchemaSubtypes.json
│ │ ├── Cat.json
│ │ ├── GuavaTestModel.json
│ │ ├── Human.json
│ │ ├── JodaDateTimeModel.json
│ │ ├── ModelWithFieldWithSubTypes.json
│ │ ├── ModelWithFormattedStrings.json
│ │ ├── ModelWithSecurityRequirements.json
│ │ ├── Person.json
│ │ ├── Pet.json
│ │ ├── comprehensiveOAS31/
│ │ │ ├── comprehensive-openapi.yaml
│ │ │ ├── paths/
│ │ │ │ ├── order-paths.yaml
│ │ │ │ ├── pet-paths.yaml
│ │ │ │ └── user-paths.yaml
│ │ │ └── schemas/
│ │ │ ├── common-schemas.yaml
│ │ │ ├── json-schema.yaml
│ │ │ ├── order-schemas.yaml
│ │ │ ├── pet-schemas.yaml
│ │ │ └── user-schemas.yaml
│ │ ├── converting/
│ │ │ ├── ArrayOfSubclassTest_expected30.json
│ │ │ └── ArrayOfSubclassTest_expected31.json
│ │ ├── dateSchema.yaml
│ │ ├── json-schema-validation/
│ │ │ ├── array.json
│ │ │ └── map.json
│ │ ├── logback-test.xml
│ │ ├── specFiles/
│ │ │ ├── 3.1.0/
│ │ │ │ ├── changelog-3.1.yaml
│ │ │ │ ├── composed-schema-3.1.json
│ │ │ │ ├── issue-4737-3.1.yaml
│ │ │ │ ├── list-3.1.json
│ │ │ │ ├── petstore-3.1.json
│ │ │ │ ├── petstore-3.1.yaml
│ │ │ │ ├── petstore-3.1_more.yaml
│ │ │ │ ├── petstore-3.1_refs_siblings.yaml
│ │ │ │ ├── petstore-3.1_sample.yaml
│ │ │ │ ├── specWithDynamicRef.yaml
│ │ │ │ └── specWithReferredSchemas-3.1.yaml
│ │ │ ├── additionalpropsmodel.json
│ │ │ ├── brokenrefmodel.json
│ │ │ ├── compositionTest-3.0.json
│ │ │ ├── compositionTest.json
│ │ │ ├── deprecatedoperationmodel.json
│ │ │ ├── jsonSerialization-expected-petstore-3.0.json
│ │ │ ├── media-type-null-example.yaml
│ │ │ ├── noModels.json
│ │ │ ├── null-example.yaml
│ │ │ ├── null-in-schema-example.yaml
│ │ │ ├── oas3.yaml
│ │ │ ├── oas3_2.yaml
│ │ │ ├── paramAndResponseRef.json
│ │ │ ├── paramAndResponseRefArray.json
│ │ │ ├── paramAndResponseRefComposed.json
│ │ │ ├── pathRef.json
│ │ │ ├── petstore-3.0-referred-schemas.json
│ │ │ ├── petstore-3.0-v2-ticket-3303.json
│ │ │ ├── petstore-3.0-v2.json
│ │ │ ├── petstore-3.0-v2_withoutModels.json
│ │ │ ├── petstore-3.0.json
│ │ │ ├── petstore-3.0.yaml
│ │ │ ├── petstore.json
│ │ │ ├── propertiesWithConstraints.json
│ │ │ ├── propertyWithVendorExtensions.json
│ │ │ ├── recursivemodels.json
│ │ │ ├── responseRef.json
│ │ │ ├── sampleSpec.json
│ │ │ ├── securityDefinitions.json
│ │ │ ├── securitySchemaWithExtension.json
│ │ │ └── swos-126.yaml
│ │ ├── testOAS31/
│ │ │ └── basicOAS31.yaml
│ │ └── uber.json
│ ├── swagger-eclipse-transformer-maven-plugin/
│ │ ├── README.md
│ │ ├── pom.xml
│ │ └── src/
│ │ └── main/
│ │ └── java/
│ │ └── io/
│ │ └── swagger/
│ │ └── v3/
│ │ └── oas/
│ │ └── transformer/
│ │ └── TransformMojo.java
│ ├── swagger-gradle-plugin/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── build.gradle
│ │ ├── gradle/
│ │ │ └── wrapper/
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ │ ├── gradle.properties
│ │ ├── gradlew
│ │ ├── gradlew.bat
│ │ ├── settings.gradle
│ │ └── src/
│ │ ├── main/
│ │ │ └── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── plugins/
│ │ │ └── gradle/
│ │ │ ├── SwaggerPlugin.java
│ │ │ └── tasks/
│ │ │ └── ResolveTask.java
│ │ └── test/
│ │ └── java/
│ │ └── io/
│ │ └── swagger/
│ │ └── v3/
│ │ └── plugins/
│ │ └── gradle/
│ │ ├── SwaggerResolveTest.java
│ │ ├── petstore/
│ │ │ ├── EmptyPetResource.java
│ │ │ ├── PetResource.java
│ │ │ ├── callback/
│ │ │ │ ├── ComplexCallbackResource.java
│ │ │ │ ├── MultipleCallbacksTestWithOperationResource.java
│ │ │ │ ├── RepeatableCallbackResource.java
│ │ │ │ └── SimpleCallbackWithOperationResource.java
│ │ │ ├── example/
│ │ │ │ ├── ExamplesResource.java
│ │ │ │ └── SubscriptionResponse.java
│ │ │ ├── link/
│ │ │ │ └── LinksResource.java
│ │ │ ├── openapidefintion/
│ │ │ │ └── OpenAPIDefinitionResource.java
│ │ │ ├── operation/
│ │ │ │ ├── AnnotatedSameNameOperationResource.java
│ │ │ │ ├── ExternalDocumentationResource.java
│ │ │ │ ├── FullyAnnotatedOperationResource.java
│ │ │ │ ├── HiddenOperationResource.java
│ │ │ │ ├── InterfaceResource.java
│ │ │ │ ├── NotAnnotatedSameNameOperationResource.java
│ │ │ │ ├── OperationResource.java
│ │ │ │ ├── OperationWithoutAnnotationResource.java
│ │ │ │ ├── ServerOperationResource.java
│ │ │ │ └── SubResource.java
│ │ │ ├── parameter/
│ │ │ │ ├── ArraySchemaResource.java
│ │ │ │ ├── ComplexParameterResource.java
│ │ │ │ ├── ComplexParameterWithOperationResource.java
│ │ │ │ ├── MultipleNotAnnotatedParameter.java
│ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.java
│ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.java
│ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.java
│ │ │ │ ├── ParametersResource.java
│ │ │ │ ├── RepeatableParametersResource.java
│ │ │ │ ├── SingleJaxRSAnnotatedParameter.java
│ │ │ │ └── SingleNotAnnotatedParameter.java
│ │ │ ├── requestbody/
│ │ │ │ ├── RequestBodyMethodPriorityResource.java
│ │ │ │ ├── RequestBodyParameterPriorityResource.java
│ │ │ │ └── RequestBodyResource.java
│ │ │ ├── responses/
│ │ │ │ ├── ComplexResponseResource.java
│ │ │ │ ├── ImplementationResponseResource.java
│ │ │ │ ├── MethodResponseResource.java
│ │ │ │ ├── NoImplementationResponseResource.java
│ │ │ │ ├── NoResponseResource.java
│ │ │ │ ├── OperationResponseResource.java
│ │ │ │ └── PriorityResponseResource.java
│ │ │ ├── security/
│ │ │ │ └── SecurityResource.java
│ │ │ └── tags/
│ │ │ ├── CompleteTagResource.java
│ │ │ ├── TagClassResource.java
│ │ │ ├── TagMethodResource.java
│ │ │ ├── TagOpenAPIDefinitionResource.java
│ │ │ └── TagOperationResource.java
│ │ └── resources/
│ │ ├── MyFilter.java
│ │ ├── QueryResultBean.java
│ │ ├── data/
│ │ │ ├── PetData.java
│ │ │ └── UserData.java
│ │ ├── exception/
│ │ │ ├── ApiException.java
│ │ │ └── NotFoundException.java
│ │ └── model/
│ │ ├── Category.java
│ │ ├── CustomGenerator.java
│ │ ├── ExtensionUser.java
│ │ ├── JacksonBean.java
│ │ ├── ListOfStringsBeanParam.java
│ │ ├── ModelWithJsonIdentity.java
│ │ ├── ModelWithJsonIdentityCyclic.java
│ │ ├── MultipleBaseBean.java
│ │ ├── MultipleSub1Bean.java
│ │ ├── MultipleSub2Bean.java
│ │ ├── NotFoundModel.java
│ │ ├── Pet.java
│ │ ├── Tag.java
│ │ └── User.java
│ ├── swagger-integration/
│ │ ├── pom.xml
│ │ └── src/
│ │ ├── main/
│ │ │ └── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── oas/
│ │ │ └── integration/
│ │ │ ├── ClasspathOpenApiConfigurationLoader.java
│ │ │ ├── ContextUtils.java
│ │ │ ├── FileOpenApiConfigurationLoader.java
│ │ │ ├── GenericOpenApiContext.java
│ │ │ ├── GenericOpenApiContextBuilder.java
│ │ │ ├── GenericOpenApiScanner.java
│ │ │ ├── IgnoredPackages.java
│ │ │ ├── IntegrationObjectMapperFactory.java
│ │ │ ├── OpenApiConfigurationException.java
│ │ │ ├── OpenApiContextLocator.java
│ │ │ ├── ServiceOpenApiConfigurationLoader.java
│ │ │ ├── StringOpenApiConfigurationLoader.java
│ │ │ ├── SwaggerConfiguration.java
│ │ │ ├── URLOpenApiConfigurationLoader.java
│ │ │ └── api/
│ │ │ ├── ObjectMapperProcessor.java
│ │ │ ├── OpenAPIConfigBuilder.java
│ │ │ ├── OpenAPIConfiguration.java
│ │ │ ├── OpenApiConfigurationLoader.java
│ │ │ ├── OpenApiContext.java
│ │ │ ├── OpenApiContextBuilder.java
│ │ │ ├── OpenApiReader.java
│ │ │ └── OpenApiScanner.java
│ │ └── test/
│ │ └── java/
│ │ └── io/
│ │ └── swagger/
│ │ └── v3/
│ │ └── oas/
│ │ └── integration/
│ │ └── IntegrationTest.java
│ ├── swagger-java17-support/
│ │ ├── pom.xml
│ │ └── src/
│ │ └── test/
│ │ └── java/
│ │ └── io/
│ │ └── swagger/
│ │ └── v3/
│ │ └── java17/
│ │ ├── Reader/
│ │ │ ├── ReaderTest.java
│ │ │ └── SchemaResolutionRecordsTest.java
│ │ ├── matchers/
│ │ │ └── SerializationMatchers.java
│ │ ├── resolving/
│ │ │ ├── JavaRecordTest.java
│ │ │ ├── SwaggerTestBase.java
│ │ │ └── v31/
│ │ │ └── ModelResolverOAS31Test.java
│ │ └── resources/
│ │ ├── JavaRecordResource.java
│ │ ├── JavaRecordWithPathResource.java
│ │ ├── OtherJavaRecordWithPathsResource.java
│ │ ├── SchemaResolutionWithRecordSimpleResource.java
│ │ ├── SchemaResolutionWithRecordsResource.java
│ │ └── TestControllerWithRecordResource.java
│ ├── swagger-jaxrs2/
│ │ ├── pom.xml
│ │ └── src/
│ │ ├── main/
│ │ │ ├── java/
│ │ │ │ └── io/
│ │ │ │ └── swagger/
│ │ │ │ └── v3/
│ │ │ │ └── jaxrs2/
│ │ │ │ ├── DefaultParameterExtension.java
│ │ │ │ ├── OperationParser.java
│ │ │ │ ├── Reader.java
│ │ │ │ ├── ReaderListener.java
│ │ │ │ ├── ResolvedParameter.java
│ │ │ │ ├── SecurityParser.java
│ │ │ │ ├── SwaggerSerializers.java
│ │ │ │ ├── ext/
│ │ │ │ │ ├── AbstractOpenAPIExtension.java
│ │ │ │ │ ├── OpenAPIExtension.java
│ │ │ │ │ └── OpenAPIExtensions.java
│ │ │ │ ├── integration/
│ │ │ │ │ ├── JaxrsAnnotationScanner.java
│ │ │ │ │ ├── JaxrsApplicationAndAnnotationScanner.java
│ │ │ │ │ ├── JaxrsApplicationAndResourcePackagesAnnotationScanner.java
│ │ │ │ │ ├── JaxrsApplicationScanner.java
│ │ │ │ │ ├── JaxrsOpenApiContext.java
│ │ │ │ │ ├── JaxrsOpenApiContextBuilder.java
│ │ │ │ │ ├── OpenApiServlet.java
│ │ │ │ │ ├── ServletConfigContextUtils.java
│ │ │ │ │ ├── ServletOpenApiConfigurationLoader.java
│ │ │ │ │ ├── ServletOpenApiContextBuilder.java
│ │ │ │ │ ├── ServletPathConfigurationLoader.java
│ │ │ │ │ ├── SwaggerLoader.java
│ │ │ │ │ ├── XmlWebOpenApiContext.java
│ │ │ │ │ ├── api/
│ │ │ │ │ │ ├── JaxrsOpenApiScanner.java
│ │ │ │ │ │ └── WebOpenApiContext.java
│ │ │ │ │ └── resources/
│ │ │ │ │ ├── AcceptHeaderOpenApiResource.java
│ │ │ │ │ ├── BaseOpenApiResource.java
│ │ │ │ │ └── OpenApiResource.java
│ │ │ │ └── util/
│ │ │ │ ├── ReaderUtils.java
│ │ │ │ └── ServletUtils.java
│ │ │ └── resources/
│ │ │ └── META-INF/
│ │ │ └── beans.xml
│ │ └── test/
│ │ ├── java/
│ │ │ ├── com/
│ │ │ │ └── my/
│ │ │ │ ├── project/
│ │ │ │ │ └── resources/
│ │ │ │ │ └── ResourceInPackageA.java
│ │ │ │ └── sorted/
│ │ │ │ └── resources/
│ │ │ │ └── SortedThing.java
│ │ │ ├── io/
│ │ │ │ └── swagger/
│ │ │ │ └── v3/
│ │ │ │ └── jaxrs2/
│ │ │ │ ├── BeanParamTest.java
│ │ │ │ ├── BinaryParameterResourceTest.java
│ │ │ │ ├── BootstrapServlet.java
│ │ │ │ ├── ContainerTypeSchemaTicket2636Test.java
│ │ │ │ ├── DecoratorExtensionTest.java
│ │ │ │ ├── EnumTest.java
│ │ │ │ ├── FormParamBeanTest.java
│ │ │ │ ├── JaxbObjectMapperFactory.java
│ │ │ │ ├── JsonIdentityTest.java
│ │ │ │ ├── JsonViewTest.java
│ │ │ │ ├── PetResourceTest.java
│ │ │ │ ├── ReaderTest.java
│ │ │ │ ├── SchemaResolutionAllOfRefTest.java
│ │ │ │ ├── SchemaResolutionAllOfTest.java
│ │ │ │ ├── SchemaResolutionAnnotationTest.java
│ │ │ │ ├── SchemaResolutionInlineTest.java
│ │ │ │ ├── annotations/
│ │ │ │ │ ├── AbstractAnnotationTest.java
│ │ │ │ │ ├── callbacks/
│ │ │ │ │ │ └── CallbackTest.java
│ │ │ │ │ ├── definition/
│ │ │ │ │ │ └── OpenApiDefinitionTest.java
│ │ │ │ │ ├── encoding/
│ │ │ │ │ │ └── EncodingTest.java
│ │ │ │ │ ├── examples/
│ │ │ │ │ │ └── ExamplesTest.java
│ │ │ │ │ ├── info/
│ │ │ │ │ │ └── InfoTest.java
│ │ │ │ │ ├── operations/
│ │ │ │ │ │ ├── AnnotatedOperationMethodTest.java
│ │ │ │ │ │ └── MergedOperationTest.java
│ │ │ │ │ ├── parameters/
│ │ │ │ │ │ └── ParametersTest.java
│ │ │ │ │ ├── pathItems/
│ │ │ │ │ │ └── OperationsWithLinksTest.java
│ │ │ │ │ ├── readerListener/
│ │ │ │ │ │ └── ReaderListenerTest.java
│ │ │ │ │ ├── requests/
│ │ │ │ │ │ └── RequestBodyTest.java
│ │ │ │ │ └── security/
│ │ │ │ │ └── SecurityTest.java
│ │ │ │ ├── cdi2/
│ │ │ │ │ ├── CDIAutodiscoveryTest.java
│ │ │ │ │ └── DiscoveryTestExtension.java
│ │ │ │ ├── integration/
│ │ │ │ │ ├── JaxrsApplicationAndAnnotationScannerTest.java
│ │ │ │ │ ├── JaxrsApplicationAndResourcePackagesAnnotationScannerTest.java
│ │ │ │ │ ├── JaxrsApplicationScannerTest.java
│ │ │ │ │ └── SortedOutputTest.java
│ │ │ │ ├── it/
│ │ │ │ │ ├── OpenApiResourceIT.java
│ │ │ │ │ ├── model/
│ │ │ │ │ │ └── Widget.java
│ │ │ │ │ └── resources/
│ │ │ │ │ ├── CarResource.java
│ │ │ │ │ ├── MultiPartFileResource.java
│ │ │ │ │ ├── OctetStreamResource.java
│ │ │ │ │ ├── UrlEncodedResource.java
│ │ │ │ │ └── WidgetResource.java
│ │ │ │ ├── matchers/
│ │ │ │ │ └── SerializationMatchers.java
│ │ │ │ ├── petstore/
│ │ │ │ │ ├── EmptyPetResource.java
│ │ │ │ │ ├── PetResource.java
│ │ │ │ │ ├── WebHookResource.java
│ │ │ │ │ ├── callback/
│ │ │ │ │ │ ├── ComplexCallback31Resource.java
│ │ │ │ │ │ ├── ComplexCallbackResource.java
│ │ │ │ │ │ ├── MultipleCallbacksTestWithOperationResource.java
│ │ │ │ │ │ ├── RepeatableCallbackResource.java
│ │ │ │ │ │ └── SimpleCallbackWithOperationResource.java
│ │ │ │ │ ├── example/
│ │ │ │ │ │ ├── ExamplesResource.java
│ │ │ │ │ │ └── SubscriptionResponse.java
│ │ │ │ │ ├── link/
│ │ │ │ │ │ ├── LinksAndContent31Resource.java
│ │ │ │ │ │ └── LinksResource.java
│ │ │ │ │ ├── openapidefintion/
│ │ │ │ │ │ ├── OpenAPI31DefinitionResource.java
│ │ │ │ │ │ └── OpenAPIDefinitionResource.java
│ │ │ │ │ ├── operation/
│ │ │ │ │ │ ├── AnnotatedSameNameOperationResource.java
│ │ │ │ │ │ ├── ExternalDocumentationResource.java
│ │ │ │ │ │ ├── FullyAnnotatedOperationResource.java
│ │ │ │ │ │ ├── HiddenOperationResource.java
│ │ │ │ │ │ ├── InterfaceResource.java
│ │ │ │ │ │ ├── NotAnnotatedSameNameOperationResource.java
│ │ │ │ │ │ ├── OperationResource.java
│ │ │ │ │ │ ├── OperationWithoutAnnotationResource.java
│ │ │ │ │ │ ├── ServerOperationResource.java
│ │ │ │ │ │ └── SubResource.java
│ │ │ │ │ ├── parameter/
│ │ │ │ │ │ ├── ArraySchemaResource.java
│ │ │ │ │ │ ├── ComplexParameterResource.java
│ │ │ │ │ │ ├── ComplexParameterWithOperationResource.java
│ │ │ │ │ │ ├── MultipleNotAnnotatedParameter.java
│ │ │ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.java
│ │ │ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.java
│ │ │ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.java
│ │ │ │ │ │ ├── Parameters31Resource.java
│ │ │ │ │ │ ├── ParametersResource.java
│ │ │ │ │ │ ├── RepeatableParametersResource.java
│ │ │ │ │ │ ├── SingleJaxRSAnnotatedParameter.java
│ │ │ │ │ │ └── SingleNotAnnotatedParameter.java
│ │ │ │ │ ├── requestbody/
│ │ │ │ │ │ ├── RequestBody31Resource.java
│ │ │ │ │ │ ├── RequestBodyMethodPriorityResource.java
│ │ │ │ │ │ ├── RequestBodyParameterPriorityResource.java
│ │ │ │ │ │ └── RequestBodyResource.java
│ │ │ │ │ ├── responses/
│ │ │ │ │ │ ├── ComplexResponseResource.java
│ │ │ │ │ │ ├── ImplementationResponseResource.java
│ │ │ │ │ │ ├── MethodArrayResponseResource.java
│ │ │ │ │ │ ├── MethodResponseResource.java
│ │ │ │ │ │ ├── NoImplementationResponseResource.java
│ │ │ │ │ │ ├── NoResponseResource.java
│ │ │ │ │ │ ├── OperationResponseResource.java
│ │ │ │ │ │ └── PriorityResponseResource.java
│ │ │ │ │ ├── security/
│ │ │ │ │ │ └── SecurityResource.java
│ │ │ │ │ └── tags/
│ │ │ │ │ ├── CompleteTagResource.java
│ │ │ │ │ ├── TagClassResource.java
│ │ │ │ │ ├── TagMethodResource.java
│ │ │ │ │ ├── TagOpenAPIDefinitionResource.java
│ │ │ │ │ └── TagOperationResource.java
│ │ │ │ ├── petstore31/
│ │ │ │ │ ├── Category.java
│ │ │ │ │ ├── Pet.java
│ │ │ │ │ ├── PetData.java
│ │ │ │ │ ├── PetResource.java
│ │ │ │ │ ├── SimpleCategory.java
│ │ │ │ │ ├── SimpleTag.java
│ │ │ │ │ ├── Tag.java
│ │ │ │ │ ├── TagResource.java
│ │ │ │ │ └── User.java
│ │ │ │ ├── resources/
│ │ │ │ │ ├── Address.java
│ │ │ │ │ ├── ArraySchemaImplementationResource.java
│ │ │ │ │ ├── BasicClass.java
│ │ │ │ │ ├── BasicFieldsResource.java
│ │ │ │ │ ├── BinaryParameterResource.java
│ │ │ │ │ ├── BookStoreTicket2646.java
│ │ │ │ │ ├── ClassPathParentResource.java
│ │ │ │ │ ├── ClassPathSubResource.java
│ │ │ │ │ ├── Client.java
│ │ │ │ │ ├── CompleteFieldsResource.java
│ │ │ │ │ ├── CreditCard.java
│ │ │ │ │ ├── DefaultResponseResource.java
│ │ │ │ │ ├── DeprecatedFieldsResource.java
│ │ │ │ │ ├── DuplicatedOperationIdResource.java
│ │ │ │ │ ├── DuplicatedOperationMethodNameResource.java
│ │ │ │ │ ├── DuplicatedSecurityResource.java
│ │ │ │ │ ├── EnhancedResponsesResource.java
│ │ │ │ │ ├── EnumParameterResource.java
│ │ │ │ │ ├── ExternalDocsReference.java
│ │ │ │ │ ├── GenericResponsesResource.java
│ │ │ │ │ ├── HiddenAnnotatedUserResource.java
│ │ │ │ │ ├── HiddenUserResource.java
│ │ │ │ │ ├── JsonIdentityCyclicResource.java
│ │ │ │ │ ├── JsonIdentityResource.java
│ │ │ │ │ ├── Misc31Resource.java
│ │ │ │ │ ├── ModelWithOAS31Stuff.java
│ │ │ │ │ ├── MyClass.java
│ │ │ │ │ ├── MyOtherClass.java
│ │ │ │ │ ├── MySuperClass.java
│ │ │ │ │ ├── NoPathSubResource.java
│ │ │ │ │ ├── ParameterMaximumValueResource.java
│ │ │ │ │ ├── ParametersResource.java
│ │ │ │ │ ├── PetResource.java
│ │ │ │ │ ├── PetResourceSlashesinPath.java
│ │ │ │ │ ├── PostalCodeNumberPattern.java
│ │ │ │ │ ├── PostalCodePattern.java
│ │ │ │ │ ├── QueryResultBean.java
│ │ │ │ │ ├── ReaderListenerResource.java
│ │ │ │ │ ├── RefCallbackResource.java
│ │ │ │ │ ├── RefExamplesResource.java
│ │ │ │ │ ├── RefHeaderResource.java
│ │ │ │ │ ├── RefLinksResource.java
│ │ │ │ │ ├── RefParameter3029Resource.java
│ │ │ │ │ ├── RefParameter3074Resource.java
│ │ │ │ │ ├── RefParameterResource.java
│ │ │ │ │ ├── RefRequestBodyResource.java
│ │ │ │ │ ├── RefResponsesResource.java
│ │ │ │ │ ├── RefSecurityResource.java
│ │ │ │ │ ├── ResourceWithJacksonBean.java
│ │ │ │ │ ├── ResourceWithKnownInjections.java
│ │ │ │ │ ├── ResourceWithSubResource.java
│ │ │ │ │ ├── ResponseContentWithArrayResource.java
│ │ │ │ │ ├── ResponseReturnTypeResource.java
│ │ │ │ │ ├── ResponsesInterface.java
│ │ │ │ │ ├── ResponsesResource.java
│ │ │ │ │ ├── SchemaAdditionalPropertiesBooleanResource.java
│ │ │ │ │ ├── SchemaAdditionalPropertiesResource.java
│ │ │ │ │ ├── SchemaPropertiesResource.java
│ │ │ │ │ ├── SecurityResource.java
│ │ │ │ │ ├── ServersResource.java
│ │ │ │ │ ├── SiblingPropResource.java
│ │ │ │ │ ├── SiblingsResource.java
│ │ │ │ │ ├── SiblingsResourceRequestBody.java
│ │ │ │ │ ├── SiblingsResourceRequestBodyMultiple.java
│ │ │ │ │ ├── SiblingsResourceResponse.java
│ │ │ │ │ ├── SiblingsResourceSimple.java
│ │ │ │ │ ├── SimpleCallbackResource.java
│ │ │ │ │ ├── SimpleExamplesResource.java
│ │ │ │ │ ├── SimpleMethods.java
│ │ │ │ │ ├── SimpleParameterResource.java
│ │ │ │ │ ├── SimpleRequestBodyResource.java
│ │ │ │ │ ├── SimpleResourceWithVendorAnnotation.java
│ │ │ │ │ ├── SimpleResponsesResource.java
│ │ │ │ │ ├── SimpleUserResource.java
│ │ │ │ │ ├── SingleExampleResource.java
│ │ │ │ │ ├── SubResource.java
│ │ │ │ │ ├── SubResourceHead.java
│ │ │ │ │ ├── SubResourceTail.java
│ │ │ │ │ ├── TagsResource.java
│ │ │ │ │ ├── Test2607.java
│ │ │ │ │ ├── TestResource.java
│ │ │ │ │ ├── TestSub2607.java
│ │ │ │ │ ├── TestSubResource.java
│ │ │ │ │ ├── Ticket2340Resource.java
│ │ │ │ │ ├── Ticket2644AnnotatedInterface.java
│ │ │ │ │ ├── Ticket2644ConcreteImplementation.java
│ │ │ │ │ ├── Ticket2763Resource.java
│ │ │ │ │ ├── Ticket2793Resource.java
│ │ │ │ │ ├── Ticket2794Resource.java
│ │ │ │ │ ├── Ticket2806Resource.java
│ │ │ │ │ ├── Ticket2818Resource.java
│ │ │ │ │ ├── Ticket2848Resource.java
│ │ │ │ │ ├── Ticket3015Resource.java
│ │ │ │ │ ├── Ticket3587Resource.java
│ │ │ │ │ ├── Ticket3731BisResource.java
│ │ │ │ │ ├── Ticket3731Resource.java
│ │ │ │ │ ├── Ticket4065Resource.java
│ │ │ │ │ ├── Ticket4341Resource.java
│ │ │ │ │ ├── Ticket4412Resource.java
│ │ │ │ │ ├── Ticket4446Resource.java
│ │ │ │ │ ├── Ticket4483Resource.java
│ │ │ │ │ ├── Ticket4804CustomClass.java
│ │ │ │ │ ├── Ticket4804NotBlankResource.java
│ │ │ │ │ ├── Ticket4804ProcessorResource.java
│ │ │ │ │ ├── Ticket4804Resource.java
│ │ │ │ │ ├── Ticket4850Resource.java
│ │ │ │ │ ├── Ticket4859Resource.java
│ │ │ │ │ ├── Ticket4878Resource.java
│ │ │ │ │ ├── Ticket4879Resource.java
│ │ │ │ │ ├── Ticket5017Resource.java
│ │ │ │ │ ├── UploadRequest.java
│ │ │ │ │ ├── UploadResource.java
│ │ │ │ │ ├── UrlEncodedResourceWithEncodings.java
│ │ │ │ │ ├── UserAnnotation.java
│ │ │ │ │ ├── UserAnnotationResource.java
│ │ │ │ │ ├── UserResource.java
│ │ │ │ │ ├── WebHookResource.java
│ │ │ │ │ ├── data/
│ │ │ │ │ │ ├── PetData.java
│ │ │ │ │ │ └── UserData.java
│ │ │ │ │ ├── exception/
│ │ │ │ │ │ ├── ApiException.java
│ │ │ │ │ │ └── NotFoundException.java
│ │ │ │ │ ├── extensions/
│ │ │ │ │ │ ├── ExtensionsResource.java
│ │ │ │ │ │ ├── OperationExtensionsResource.java
│ │ │ │ │ │ ├── ParameterExtensionsResource.java
│ │ │ │ │ │ └── RequestBodyExtensionsResource.java
│ │ │ │ │ ├── generics/
│ │ │ │ │ │ ├── ticket2144/
│ │ │ │ │ │ │ ├── BaseDTO.java
│ │ │ │ │ │ │ ├── BaseResource.java
│ │ │ │ │ │ │ ├── Item.java
│ │ │ │ │ │ │ ├── ItemResource.java
│ │ │ │ │ │ │ └── ItemWithChildren.java
│ │ │ │ │ │ ├── ticket3149/
│ │ │ │ │ │ │ ├── AggregateEndpoint.java
│ │ │ │ │ │ │ ├── FirstEndpoint.java
│ │ │ │ │ │ │ ├── MainResource.java
│ │ │ │ │ │ │ ├── OriginalEndpoint.java
│ │ │ │ │ │ │ ├── SampleDTO.java
│ │ │ │ │ │ │ ├── SampleOtherDTO.java
│ │ │ │ │ │ │ └── SecondEndpoint.java
│ │ │ │ │ │ ├── ticket3426/
│ │ │ │ │ │ │ ├── Parent.java
│ │ │ │ │ │ │ └── Ticket3426Resource.java
│ │ │ │ │ │ └── ticket3694/
│ │ │ │ │ │ ├── Ticket3694Resource.java
│ │ │ │ │ │ ├── Ticket3694ResourceExtendedType.java
│ │ │ │ │ │ ├── Ticket3694ResourceInterface.java
│ │ │ │ │ │ ├── Ticket3694ResourceInterfaceExtendedType.java
│ │ │ │ │ │ ├── Ticket3694ResourceInterfaceSimple.java
│ │ │ │ │ │ ├── Ticket3694ResourceInterfaceSimpleSameReturn.java
│ │ │ │ │ │ ├── Ticket3694ResourceSimple.java
│ │ │ │ │ │ └── Ticket3694ResourceSimpleSameReturn.java
│ │ │ │ │ ├── model/
│ │ │ │ │ │ ├── Category.java
│ │ │ │ │ │ ├── CustomGenerator.java
│ │ │ │ │ │ ├── ExtensionUser.java
│ │ │ │ │ │ ├── FormParamBean.java
│ │ │ │ │ │ ├── Item.java
│ │ │ │ │ │ ├── JacksonBean.java
│ │ │ │ │ │ ├── ListOfStringsBeanParam.java
│ │ │ │ │ │ ├── ModelWithJsonIdentity.java
│ │ │ │ │ │ ├── ModelWithJsonIdentityCyclic.java
│ │ │ │ │ │ ├── MultipleBaseBean.java
│ │ │ │ │ │ ├── MultipleSub1Bean.java
│ │ │ │ │ │ ├── MultipleSub2Bean.java
│ │ │ │ │ │ ├── NestedBeanParam.java
│ │ │ │ │ │ ├── NotFoundModel.java
│ │ │ │ │ │ ├── Pet.java
│ │ │ │ │ │ ├── Tag.java
│ │ │ │ │ │ └── User.java
│ │ │ │ │ ├── rs/
│ │ │ │ │ │ ├── AbstractEntityRestService.java
│ │ │ │ │ │ ├── EntityRestService.java
│ │ │ │ │ │ ├── PersistentDTO.java
│ │ │ │ │ │ ├── ProcessTokenDTO.java
│ │ │ │ │ │ └── ProcessTokenRestService.java
│ │ │ │ │ ├── siblings/
│ │ │ │ │ │ ├── Category.java
│ │ │ │ │ │ ├── Pet.java
│ │ │ │ │ │ └── PetSimple.java
│ │ │ │ │ └── ticket3624/
│ │ │ │ │ ├── Service.java
│ │ │ │ │ └── model/
│ │ │ │ │ ├── ByIdResponse.java
│ │ │ │ │ ├── ContainerizedResponse.java
│ │ │ │ │ ├── Model.java
│ │ │ │ │ ├── ModelContainer.java
│ │ │ │ │ └── Response.java
│ │ │ │ ├── schemaResolution/
│ │ │ │ │ ├── SchemaResolutionAnnotatedResource.java
│ │ │ │ │ ├── SchemaResolutionAnnotatedSimpleResource.java
│ │ │ │ │ ├── SchemaResolutionResource.java
│ │ │ │ │ └── SchemaResolutionResourceSimple.java
│ │ │ │ └── util/
│ │ │ │ └── ServletUtilsTest.java
│ │ │ └── org/
│ │ │ └── my/
│ │ │ └── project/
│ │ │ └── resources/
│ │ │ └── ResourceInPackageB.java
│ │ ├── resources/
│ │ │ ├── BinaryParameterResource.yaml
│ │ │ ├── examples/
│ │ │ │ ├── AnnotatedModelAndContentExample.yaml
│ │ │ │ ├── AnnotatedModelExample.yaml
│ │ │ │ ├── ParameterExample.yaml
│ │ │ │ ├── RequestBodyContentExample.yaml
│ │ │ │ ├── RequestBodyContentExampleWithConsumes.yaml
│ │ │ │ ├── RequestBodyContentExampleWithMediatype.yaml
│ │ │ │ ├── RequestBodyContentExampleWithSchema.yaml
│ │ │ │ ├── RequestBodyContentExampleWithSchemaImplementation.yaml
│ │ │ │ ├── ResponseExample.yaml
│ │ │ │ ├── ResponseExampleSchema.yaml
│ │ │ │ └── ResponseExampleSchemaImplementation.yaml
│ │ │ ├── integration/
│ │ │ │ └── openapi-configuration.json
│ │ │ ├── logback-test.xml
│ │ │ └── petstore/
│ │ │ ├── EmptyPetResource.yaml
│ │ │ ├── FullPetResource.yaml
│ │ │ ├── OpenAPI31DefinitionResource.yaml
│ │ │ ├── OpenAPIDefinitionResource.yaml
│ │ │ ├── SecurityResource.yaml
│ │ │ ├── WebHookResource.yaml
│ │ │ ├── callbacks/
│ │ │ │ ├── ComplexCallback31Resource.yaml
│ │ │ │ ├── ComplexCallbackResource.yaml
│ │ │ │ ├── MultipleCallbacksTestWithOperationResource.yaml
│ │ │ │ ├── RepeatableCallbackResource.yaml
│ │ │ │ └── SimpleCallbackWithOperationResource.yaml
│ │ │ ├── example/
│ │ │ │ └── ExamplesResource.yaml
│ │ │ ├── links/
│ │ │ │ ├── LinksAndContent31Resource.yaml
│ │ │ │ └── LinksResource.yaml
│ │ │ ├── operation/
│ │ │ │ ├── AnnotatedSameNameOperationResource.yaml
│ │ │ │ ├── ExternalDocumentationResource.yaml
│ │ │ │ ├── FullyAnnotatedOperationResource.yaml
│ │ │ │ ├── HiddenOperationResource.yaml
│ │ │ │ ├── NotAnnotatedSameNameOperationResource.yaml
│ │ │ │ ├── OperationResource.yaml
│ │ │ │ ├── OperationWithoutAnnotationResource.yaml
│ │ │ │ ├── ServerOperationResource.yaml
│ │ │ │ └── SubResource.yaml
│ │ │ ├── parameters/
│ │ │ │ ├── ArraySchemaResource.yaml
│ │ │ │ ├── ComplexParameterResource.yaml
│ │ │ │ ├── ComplexParameterWithOperationResource.yaml
│ │ │ │ ├── MultipleNotAnnotatedParameter.yaml
│ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.yaml
│ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.yaml
│ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.yaml
│ │ │ │ ├── Parameters31Resource.yaml
│ │ │ │ ├── ParametersResource.yaml
│ │ │ │ ├── RepeatableParametersResource.yaml
│ │ │ │ ├── SingleJaxRSAnnotatedParameter.yaml
│ │ │ │ └── SingleNotAnnotatedParameter.yaml
│ │ │ ├── requestbody/
│ │ │ │ ├── RequestBody31Resource.yaml
│ │ │ │ ├── RequestBodyMethodPriorityResource.yaml
│ │ │ │ ├── RequestBodyParameterPriorityResource.yaml
│ │ │ │ └── RequestBodyResource.yaml
│ │ │ ├── responses/
│ │ │ │ ├── ComplexResponseResource.yaml
│ │ │ │ ├── ImplementationResponseResource.yaml
│ │ │ │ ├── MethodArrayResponseResource.yaml
│ │ │ │ ├── MethodResponseResource.yaml
│ │ │ │ ├── NoImplementationResponseResource.yaml
│ │ │ │ ├── NoResponseResource.yaml
│ │ │ │ ├── OperationResponseResource.yaml
│ │ │ │ └── PriorityResponseResource.yaml
│ │ │ └── tags/
│ │ │ ├── CompleteTagResource.yaml
│ │ │ ├── TagClassResource.yaml
│ │ │ ├── TagMethodResource.yaml
│ │ │ ├── TagOpenAPIDefinitionResource.yaml
│ │ │ └── TagOperationResource.yaml
│ │ └── webapp/
│ │ └── WEB-INF/
│ │ └── web.xml
│ ├── swagger-jaxrs2-servlet-initializer/
│ │ ├── pom.xml
│ │ └── src/
│ │ └── main/
│ │ ├── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── jaxrs2/
│ │ │ └── integration/
│ │ │ └── SwaggerServletInitializer.java
│ │ └── resources/
│ │ └── META-INF/
│ │ └── services/
│ │ └── javax.servlet.ServletContainerInitializer
│ ├── swagger-jaxrs2-servlet-initializer-v2/
│ │ ├── pom.xml
│ │ └── src/
│ │ └── main/
│ │ ├── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── jaxrs2/
│ │ │ └── integration/
│ │ │ └── servlet/
│ │ │ └── SwaggerServletInitializer.java
│ │ └── resources/
│ │ └── META-INF/
│ │ └── services/
│ │ └── javax.servlet.ServletContainerInitializer
│ ├── swagger-maven-plugin/
│ │ ├── README.md
│ │ ├── pom.xml
│ │ └── src/
│ │ ├── main/
│ │ │ └── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── plugin/
│ │ │ └── maven/
│ │ │ ├── IncludeProjectDependenciesComponentConfigurator.java
│ │ │ └── SwaggerMojo.java
│ │ └── test/
│ │ ├── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── plugin/
│ │ │ └── maven/
│ │ │ ├── ASwaggerMavenIntegrationTest.java
│ │ │ ├── BetterAbstractMojoTestCase.java
│ │ │ ├── SwaggerConfigFileTest.java
│ │ │ ├── SwaggerResolveTest.java
│ │ │ ├── petstore/
│ │ │ │ ├── petstore/
│ │ │ │ │ ├── EmptyPetResource.java
│ │ │ │ │ ├── PetResource.java
│ │ │ │ │ ├── callback/
│ │ │ │ │ │ ├── ComplexCallbackResource.java
│ │ │ │ │ │ ├── MultipleCallbacksTestWithOperationResource.java
│ │ │ │ │ │ ├── RepeatableCallbackResource.java
│ │ │ │ │ │ └── SimpleCallbackWithOperationResource.java
│ │ │ │ │ ├── example/
│ │ │ │ │ │ ├── ExamplesResource.java
│ │ │ │ │ │ └── SubscriptionResponse.java
│ │ │ │ │ ├── link/
│ │ │ │ │ │ └── LinksResource.java
│ │ │ │ │ ├── openapidefintion/
│ │ │ │ │ │ └── OpenAPIDefinitionResource.java
│ │ │ │ │ ├── operation/
│ │ │ │ │ │ ├── AnnotatedSameNameOperationResource.java
│ │ │ │ │ │ ├── ExternalDocumentationResource.java
│ │ │ │ │ │ ├── FullyAnnotatedOperationResource.java
│ │ │ │ │ │ ├── HiddenOperationResource.java
│ │ │ │ │ │ ├── InterfaceResource.java
│ │ │ │ │ │ ├── NotAnnotatedSameNameOperationResource.java
│ │ │ │ │ │ ├── OperationResource.java
│ │ │ │ │ │ ├── OperationWithoutAnnotationResource.java
│ │ │ │ │ │ ├── ServerOperationResource.java
│ │ │ │ │ │ └── SubResource.java
│ │ │ │ │ ├── parameter/
│ │ │ │ │ │ ├── ArraySchemaResource.java
│ │ │ │ │ │ ├── ComplexParameterResource.java
│ │ │ │ │ │ ├── ComplexParameterWithOperationResource.java
│ │ │ │ │ │ ├── MultipleNotAnnotatedParameter.java
│ │ │ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.java
│ │ │ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.java
│ │ │ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.java
│ │ │ │ │ │ ├── ParametersResource.java
│ │ │ │ │ │ ├── RepeatableParametersResource.java
│ │ │ │ │ │ ├── SingleJaxRSAnnotatedParameter.java
│ │ │ │ │ │ └── SingleNotAnnotatedParameter.java
│ │ │ │ │ ├── requestbody/
│ │ │ │ │ │ ├── RequestBodyMethodPriorityResource.java
│ │ │ │ │ │ ├── RequestBodyParameterPriorityResource.java
│ │ │ │ │ │ └── RequestBodyResource.java
│ │ │ │ │ ├── responses/
│ │ │ │ │ │ ├── ComplexResponseResource.java
│ │ │ │ │ │ ├── ImplementationResponseResource.java
│ │ │ │ │ │ ├── MethodResponseResource.java
│ │ │ │ │ │ ├── NoImplementationResponseResource.java
│ │ │ │ │ │ ├── NoResponseResource.java
│ │ │ │ │ │ ├── OperationResponseResource.java
│ │ │ │ │ │ └── PriorityResponseResource.java
│ │ │ │ │ ├── security/
│ │ │ │ │ │ └── SecurityResource.java
│ │ │ │ │ └── tags/
│ │ │ │ │ ├── CompleteTagResource.java
│ │ │ │ │ ├── TagClassResource.java
│ │ │ │ │ ├── TagMethodResource.java
│ │ │ │ │ ├── TagOpenAPIDefinitionResource.java
│ │ │ │ │ └── TagOperationResource.java
│ │ │ │ └── petstore31/
│ │ │ │ └── PetResource.java
│ │ │ └── resources/
│ │ │ ├── MyFilter.java
│ │ │ ├── QueryResultBean.java
│ │ │ ├── data/
│ │ │ │ ├── PetData.java
│ │ │ │ └── UserData.java
│ │ │ ├── exception/
│ │ │ │ ├── ApiException.java
│ │ │ │ └── NotFoundException.java
│ │ │ └── model/
│ │ │ ├── Category.java
│ │ │ ├── CustomGenerator.java
│ │ │ ├── ExtensionUser.java
│ │ │ ├── JacksonBean.java
│ │ │ ├── ListOfStringsBeanParam.java
│ │ │ ├── ModelWithJsonIdentity.java
│ │ │ ├── ModelWithJsonIdentityCyclic.java
│ │ │ ├── MultipleBaseBean.java
│ │ │ ├── MultipleSub1Bean.java
│ │ │ ├── MultipleSub2Bean.java
│ │ │ ├── NotFoundModel.java
│ │ │ ├── Pet.java
│ │ │ ├── Tag.java
│ │ │ └── User.java
│ │ └── resources/
│ │ ├── configurationFile.yaml
│ │ ├── configurationFile2.yaml
│ │ ├── logback-test.xml
│ │ ├── openapiinput.json
│ │ ├── openapiinput.yaml
│ │ ├── openapiinput2.yaml
│ │ ├── pom.resolveToFile.xml
│ │ ├── pom.resolveToFile31.xml
│ │ ├── pom.resolveToFileFromConfig.xml
│ │ ├── pom.resolveToFileFromConfigAndOpenApi.xml
│ │ ├── pom.resolveToFileFromConfigWithOAS3.1Filter.xml
│ │ ├── pom.resolveToFileFromJsonInput.xml
│ │ ├── pom.resolveToFileJsonAndYaml.xml
│ │ ├── pom.resolveToFileNoName.xml
│ │ └── pom.resolveToFileWithFilter.xml
│ ├── swagger-models/
│ │ ├── CODE_COVERAGE.md
│ │ ├── pom.xml
│ │ └── src/
│ │ ├── main/
│ │ │ └── java/
│ │ │ └── io/
│ │ │ └── swagger/
│ │ │ └── v3/
│ │ │ └── oas/
│ │ │ └── models/
│ │ │ ├── Components.java
│ │ │ ├── ExternalDocumentation.java
│ │ │ ├── OpenAPI.java
│ │ │ ├── Operation.java
│ │ │ ├── PathItem.java
│ │ │ ├── Paths.java
│ │ │ ├── SpecVersion.java
│ │ │ ├── annotations/
│ │ │ │ ├── OpenAPI30.java
│ │ │ │ └── OpenAPI31.java
│ │ │ ├── callbacks/
│ │ │ │ └── Callback.java
│ │ │ ├── examples/
│ │ │ │ └── Example.java
│ │ │ ├── headers/
│ │ │ │ └── Header.java
│ │ │ ├── info/
│ │ │ │ ├── Contact.java
│ │ │ │ ├── Info.java
│ │ │ │ └── License.java
│ │ │ ├── links/
│ │ │ │ ├── Link.java
│ │ │ │ └── LinkParameter.java
│ │ │ ├── media/
│ │ │ │ ├── ArbitrarySchema.java
│ │ │ │ ├── ArraySchema.java
│ │ │ │ ├── BinarySchema.java
│ │ │ │ ├── BooleanSchema.java
│ │ │ │ ├── ByteArraySchema.java
│ │ │ │ ├── ComposedSchema.java
│ │ │ │ ├── Content.java
│ │ │ │ ├── DateSchema.java
│ │ │ │ ├── DateTimeSchema.java
│ │ │ │ ├── Discriminator.java
│ │ │ │ ├── EmailSchema.java
│ │ │ │ ├── Encoding.java
│ │ │ │ ├── EncodingProperty.java
│ │ │ │ ├── FileSchema.java
│ │ │ │ ├── IntegerSchema.java
│ │ │ │ ├── JsonSchema.java
│ │ │ │ ├── MapSchema.java
│ │ │ │ ├── MediaType.java
│ │ │ │ ├── NumberSchema.java
│ │ │ │ ├── ObjectSchema.java
│ │ │ │ ├── PasswordSchema.java
│ │ │ │ ├── Schema.java
│ │ │ │ ├── StringSchema.java
│ │ │ │ ├── UUIDSchema.java
│ │ │ │ └── XML.java
│ │ │ ├── parameters/
│ │ │ │ ├── CookieParameter.java
│ │ │ │ ├── HeaderParameter.java
│ │ │ │ ├── Parameter.java
│ │ │ │ ├── PathParameter.java
│ │ │ │ ├── QueryParameter.java
│ │ │ │ └── RequestBody.java
│ │ │ ├── responses/
│ │ │ │ ├── ApiResponse.java
│ │ │ │ └── ApiResponses.java
│ │ │ ├── security/
│ │ │ │ ├── OAuthFlow.java
│ │ │ │ ├── OAuthFlows.java
│ │ │ │ ├── Scopes.java
│ │ │ │ ├── SecurityRequirement.java
│ │ │ │ └── SecurityScheme.java
│ │ │ ├── servers/
│ │ │ │ ├── Server.java
│ │ │ │ ├── ServerVariable.java
│ │ │ │ └── ServerVariables.java
│ │ │ └── tags/
│ │ │ └── Tag.java
│ │ └── test/
│ │ └── java/
│ │ └── io/
│ │ └── swagger/
│ │ ├── test/
│ │ │ ├── SchemaTests.java
│ │ │ └── SimpleBuilderTest.java
│ │ └── v3/
│ │ └── oas/
│ │ └── models/
│ │ ├── PathsTest.java
│ │ ├── links/
│ │ │ └── LinkParameterTest.java
│ │ └── media/
│ │ └── SchemaTest.java
│ └── swagger-project-jakarta/
│ ├── .gitignore
│ ├── modules/
│ │ ├── swagger-annotations-jakarta/
│ │ │ └── pom.xml
│ │ ├── swagger-core-jakarta/
│ │ │ └── pom.xml
│ │ ├── swagger-integration-jakarta/
│ │ │ └── pom.xml
│ │ ├── swagger-jaxrs2-jakarta/
│ │ │ └── pom.xml
│ │ ├── swagger-jaxrs2-servlet-initializer-jakarta/
│ │ │ └── pom.xml
│ │ ├── swagger-jaxrs2-servlet-initializer-v2-jakarta/
│ │ │ └── pom.xml
│ │ ├── swagger-maven-plugin-jakarta/
│ │ │ ├── pom.xml
│ │ │ ├── src/
│ │ │ │ └── main/
│ │ │ │ └── java/
│ │ │ │ └── io/
│ │ │ │ └── swagger/
│ │ │ │ └── v3/
│ │ │ │ └── plugin/
│ │ │ │ └── maven/
│ │ │ │ └── jakarta/
│ │ │ │ └── JakartaTransformer.java
│ │ │ └── transformed/
│ │ │ └── README.md
│ │ └── swagger-models-jakarta/
│ │ └── pom.xml
│ └── pom.xml
├── mvnw
├── mvnw.cmd
└── pom.xml
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/ISSUE_TEMPLATE/01_bug_report.md
================================================
---
name: Bug Report
about: Report an issue in swagger-core
title: "[Bug]: "
labels: Bug
assignees: ''
---
## Description of the problem/issue
<!--
Provide a clear and concise description of the problem.
To help us understand the issue better, consider including:
- What are you trying to achieve using swagger-core?
- Are specific annotations not behaving as expected? (e.g., @Schema, @Parameter, @Operation)
- Are generated OpenAPI specs missing information or incorrect?
- Are you using swagger-core with JAX-RS, Spring, or another framework?
- Did this issue affect code generation (e.g., Swagger Codegen/OpenAPI Generator)?
-->
## Affected Version
<!-- What version of swagger-core are you using? -->
e.g. 2.2.21
<!-- Can you identify when the issue was introduced?
If yes, please provide the earliest version you know the bug exists in. -->
Earliest version the bug appears in (if known):
e.g. 2.2.17
## Steps to Reproduce
<!-- Provide a step-by-step list on how to reproduce the issue.
Include any relevant OpenAPI definitions, configuration, or code snippets. -->
1. ...
2. ...
3. ...
## Expected Behavior
<!-- What should have happened? -->
## Actual Behavior
<!-- What actually happened instead? -->
## Logs / Stack Traces
<!-- Paste relevant log output or error messages, if any. -->
## Additional Context
<!-- Add any other context, links, or screenshots about the problem here. -->
## Checklist
- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-core/issues) and this is not a duplicate.
- [ ] I have provided sufficient information for maintainers to reproduce the issue.
================================================
FILE: .github/ISSUE_TEMPLATE/02_question.md
================================================
---
name: Question
about: Ask a question about swagger-core usage or behavior
title: "[Question]: "
labels: Question
assignees: ''
---
## Question
<!--
Please clearly describe your question or the problem you're trying to solve.
To help us answer faster, consider including:
- What are you trying to achieve with swagger-core?
- Which version are you using?
- What have you tried so far?
- Are you encountering unexpected behavior or error messages?
-->
## Affected Version
<!-- What version of swagger-core are you using? -->
e.g. 2.2.21
## Context
<!--
Provide any relevant code snippets, configuration, OpenAPI definitions,
or links to documentation you are referring to.
-->
```java
// Example code snippet here
```
## Additional Details
<!-- Add any other information that might help us understand your question. -->
## Checklist
- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-core/issues) and documentation before asking.
- [ ] I have provided enough information for others to understand my question.
================================================
FILE: .github/ISSUE_TEMPLATE/03_feature_request.md
================================================
---
name: Feature Request
about: Suggest a new feature or enhancement for swagger-core
title: "[Feature]: "
labels: Feature
assignees: ''
---
## Feature Description
<!--
Describe the feature you'd like to see.
- What problem does it solve?
- How would it improve swagger-core?
- Is it related to OpenAPI spec support, annotation improvements, integration, etc.?
-->
## Use Case
<!--
Explain how you (or others) would use this feature in a real-world project.
Include context to help understand why this is valuable.
-->
## Suggested Solution (optional)
<!--
If you have an idea for how the feature could be implemented, share it here.
This could include proposed APIs, annotations, or behavior.
-->
## Alternatives Considered
<!--
Have you tried other ways to solve this problem?
Are there any existing workarounds?
-->
## Additional Context
<!--
Include any other information, references, or related issues.
Screenshots, links to OpenAPI specs, or code snippets can help too.
-->
## Checklist
- [ ] I have searched the [existing issues](https://github.com/swagger-api/swagger-core/issues) to ensure this is not a duplicate.
- [ ] This feature would be useful to more than just my use case.
- [ ] I have provided enough detail for the maintainers to understand the scope of the request.
================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
- package-ecosystem: "maven"
target-branch: "master"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- package-ecosystem: "maven"
target-branch: "1.5"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
================================================
FILE: .github/pull_request_template.md
================================================
# Pull Request
Thank you for contributing to **swagger-core**!
Please fill out the following information to help us review your PR efficiently.
---
## Description
<!--
Describe what this PR changes:
- What problem does it solve?
- Is it a bug fix, new feature, or refactor?
- Link to any related issues.
-->
Fixes: <!-- e.g. #123 (optional) -->
## Type of Change
<!-- Check all that apply: -->
- [ ] 🐛 Bug fix
- [ ] ✨ New feature
- [ ] ♻️ Refactor (non-breaking change)
- [ ] 🧪 Tests
- [ ] 📝 Documentation
- [ ] 🧹 Chore (build or tooling)
## Checklist
<!-- Please check all that apply before requesting review: -->
- [ ] I have added/updated tests as needed
- [ ] I have added/updated documentation where applicable
- [ ] The PR title is descriptive
- [ ] The code builds and passes tests locally
- [ ] I have linked related issues (if any)
## Screenshots / Additional Context
<!-- Optional: Add logs, screenshots, or notes for reviewers -->
================================================
FILE: .github/topissuebot.yml
================================================
labelName: ":thumbsup: Top Issue!"
labelColor: "f442c2"
numberOfIssuesToLabel: 5
================================================
FILE: .github/workflows/codeql-analysis.yml
================================================
name: "Code scanning - action"
on:
push:
branches: [master, 1.5]
pull_request:
# The branches below must be a subset of the branches above
branches: [master, 1.5]
schedule:
- cron: '0 19 * * 1'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 11
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
with:
languages: java
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven and Gradle
run: |
./mvnw --no-transfer-progress -B install --file pom.xml
cd ./modules/swagger-gradle-plugin
./gradlew build --info
cd ../..
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
================================================
FILE: .github/workflows/dependency-review.yml
================================================
name: 'Dependency Review'
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v3
with:
fail-on-severity: high
================================================
FILE: .github/workflows/maven-pulls.yml
================================================
name: Build Test PR
on:
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven and Gradle
run: |
./mvnw --no-transfer-progress -B install --file pom.xml
cd ./modules/swagger-gradle-plugin
./gradlew build --info
cd ../..
================================================
FILE: .github/workflows/maven-v1-pulls.yml
================================================
name: Build Test PR 1.5
on:
pull_request:
branches: [ "1.5" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven and Gradle
run: ./mvnw -B -Dhttps.protocols=TLSv1.2 verify --file pom.xml
================================================
FILE: .github/workflows/maven-v1.yml
================================================
name: Build Test Deploy 1.5
on:
push:
branches: [ "1.5" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven and Gradle
run: |
./mvnw -B -Dhttps.protocols=TLSv1.2 verify --file pom.xml
export MY_JAVA_VERSION=`java -version 2>&1 | head -1 | cut -d'"' -f2 | sed '/^1\./s///' | cut -d'.' -f1`
echo "JAVA VERSION" ${MY_JAVA_VERSION}
if [[ ${MY_JAVA_VERSION} == "11" ]];
then
export MY_POM_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
echo "POM VERSION" ${MY_POM_VERSION}
if [[ $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
then
./mvnw -B -Dhttps.protocols=TLSv1.2 clean deploy
else
echo "not deploying release: " ${MY_POM_VERSION}
fi
else
echo "not deploying on java version: " ${MY_JAVA_VERSION}
fi
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
================================================
FILE: .github/workflows/maven.yml
================================================
name: Build Test Deploy master
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven and Gradle, Deploy snapshot to maven central
run: |
export MY_POM_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
echo "POM VERSION" ${MY_POM_VERSION}
if [[ $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
then
./mvnw --no-transfer-progress -B install --file pom.xml
cd ./modules/swagger-gradle-plugin
./gradlew build --info
cd ../..
export MY_JAVA_VERSION=`java -version 2>&1 | head -1 | cut -d'"' -f2 | sed '/^1\./s///' | cut -d'.' -f1`
echo "JAVA VERSION" ${MY_JAVA_VERSION}
if [[ ${MY_JAVA_VERSION} == "11" ]];
then
export MY_POM_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
echo "POM VERSION" ${MY_POM_VERSION}
./mvnw --no-transfer-progress -B clean deploy
else
echo "not deploying on java version: " ${MY_JAVA_VERSION}
fi
else
echo "not building and maven publishing project as it is a release version: " ${MY_JAVA_VERSION}
fi
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
================================================
FILE: .github/workflows/prepare-release.yml
================================================
name: Prepare Release
on:
workflow_dispatch:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up Java 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run prepare release script
id: prepare-release
run: |
export MY_POM_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
if [[ $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
then
. ./CI/prepare-release.sh
echo "PREPARE_RELEASE_OK=yes" >> $GITHUB_ENV
else
echo "not preparing release for release version: " ${MY_POM_VERSION}
echo "PREPARE_RELEASE_OK=no" >> $GITHUB_ENV
fi
echo "SC_VERSION=$SC_VERSION" >> $GITHUB_ENV
echo "SC_NEXT_VERSION=$SC_NEXT_VERSION" >> $GITHUB_ENV
- name: Create Prepare Release Pull Request
uses: peter-evans/create-pull-request@v4
if: env.PREPARE_RELEASE_OK == 'yes'
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: prepare release ${{ env.SC_VERSION }}
title: 'prepare release ${{ env.SC_VERSION }}'
branch: prepare-release-${{ env.SC_VERSION }}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SC_VERSION:
SC_NEXT_VERSION:
================================================
FILE: .github/workflows/release.yml
================================================
name: Release
on:
workflow_dispatch:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Set up Java 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.OSSRH_GPG_PRIVATE_KEY }}
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Gradle credentials
run: |
mkdir -p ~/.gradle
echo "gradle.publish.key=${GRADLE_PUBLISH_KEY}\ngradle.publish.secret=${GRADLE_PUBLISH_SECRET}" > ~/.gradle/gradle.properties
- name: Run pre release script
id: preRelease
run: |
# export GPG_TTY=$(tty)
export MY_POM_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
if [[ $MY_POM_VERSION =~ ^.*SNAPSHOT$ ]];
then
echo "not releasing snapshot version: " ${MY_POM_VERSION}
echo "RELEASE_OK=no" >> $GITHUB_ENV
else
. ./CI/pre-release.sh
echo "RELEASE_OK=yes" >> $GITHUB_ENV
fi
echo "SC_VERSION=$SC_VERSION" >> $GITHUB_ENV
echo "SC_NEXT_VERSION=$SC_NEXT_VERSION" >> $GITHUB_ENV
echo "SC_LAST_RELEASE=$SC_LAST_RELEASE" >> $GITHUB_ENV
- name: configure git user email
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git config --global hub.protocol https
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/''' + 'swagger-api/swagger-core' + '''.git
- name: Run maven deploy/release
if: env.RELEASE_OK == 'yes'
run: |
./mvnw --no-transfer-progress -B -Prelease deploy
- name: Run prepare javadocs script
id: prepareJavadocs
if: env.RELEASE_OK == 'yes'
run: |
. ./CI/prepare-javadocs.sh
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
ref: "gh-pages"
fetch-depth: 0
- name: Run publish javadocs script
id: publishJavadocs
if: env.RELEASE_OK == 'yes'
run: |
TMPDIR="$(dirname -- "${0}")"
. $TMPDIR/publish-javadocs.sh
- name: Checkout master
uses: actions/checkout@v4
with:
ref: "master"
fetch-depth: 0
- name: Run post release script
id: postRelease
if: env.RELEASE_OK == 'yes'
run: |
. ./CI/post-release.sh
- name: Create Next Snapshot Pull Request
uses: peter-evans/create-pull-request@v4
if: env.RELEASE_OK == 'yes'
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: bump snapshot ${{ env.SC_NEXT_VERSION }}-SNAPSHOT
title: 'bump snapshot ${{ env.SC_NEXT_VERSION }}-SNAPSHOT'
branch: bump-snap-${{ env.SC_NEXT_VERSION }}-SNAPSHOT
- name: Checkout 1.5
uses: actions/checkout@v4
with:
ref: "1.5"
fetch-depth: 0
- name: updateV1Readme script
id: updateV1Readme
if: env.RELEASE_OK == 'yes'
run: |
TMPDIR="$(dirname -- "${0}")"
. $TMPDIR/update-v1-readme.sh ${{ env.SC_LAST_RELEASE }} ${{ env.SC_VERSION }}
- name: Create Update V1 Readme Pull Request
uses: peter-evans/create-pull-request@v4
if: env.RELEASE_OK == 'yes'
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: update 1.5 Readme with new v2 version ${{ env.SC_VERSION }}
title: 'update 1.5 Readme with new v2 version ${{ env.SC_VERSION }}'
branch: update-v1-readme-${{ env.SC_VERSION }}
- name: Checkout Wiki
uses: actions/checkout@v4
with:
repository: swagger-api/swagger-core.wiki
token: ${{ steps.generate-token.outputs.token }}
path: wiki
ref: "master"
fetch-depth: 0
- name: Run update wiki script
id: updateWiki
if: env.RELEASE_OK == 'yes'
run: |
TMPDIR="$(dirname -- "${0}")"
. $TMPDIR/update-wiki.sh
- name: Checkout master
uses: actions/checkout@v2
with:
ref: "master"
fetch-depth: 0
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SC_VERSION:
SC_NEXT_VERSION:
GPG_PRIVATE_KEY: ${{ secrets.OSSRH_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PRIVATE_PASSPHRASE }}
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
================================================
FILE: .gitignore
================================================
build/
lib/*.jar
target
samples/scala-play2/logs
.idea
.idea_modules
.settings
.project
.classpath
.cache
atlassian-ide-plugin.xml
*.iml
.java-version
sonar-project.properties
test-output/
*.pyc
================================================
FILE: .mvn/wrapper/maven-wrapper.properties
================================================
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
================================================
FILE: .whitesource
================================================
{
"settingsInheritedFrom": "swagger-api/whitesource-config@main",
"scanSettings": {
"baseBranches": ["master", "1.5"]
}
}
================================================
FILE: CI/CI.md
================================================
## Continuous integration
### Build, test and deploy
Swagger Core uses Github actions to run jobs/checks building, testing and deploying snapshots on push and PR events.
These github actions are configured in `.github/workflows`:
* maven.yml : Build Test Deploy master
* maven-pulls.yml Build Test PR
* maven-v1.yml : Build Test Deploy 1.5 (must exist in in `1.5` branch)
* maven-v1-pulls.yml Build Test PR 1.5 (must exist in in `1.5` branch)
These actions use available actions in combination with short bash scripts.
### Release
Releases are semi-automated and consist in 2 actions using available public actions in combination with bash and python scripts.
**TODO**: Python code is used for historical reasons to execute GitHub APIs calls, in general a more consistent environment would
be more maintainable e.g. implementing a custom JavaScript or Docker Container GitHub Action and/or a bash only script(s).
#### Workflow summary
1. execute `prepare-release.yml` / `Prepare Release` for `master` branch
1. check and merge the Prepare Release PR pushed by previous step. Delete the branch
1. execute `release.yml` / `Release` for `master` branch
1. check and merge the `1.5` branch Readme update PR pushed by previous step. Delete the branch
1. check and merge the next snaphot PR pushed by previous step. Delete the branch
#### Prepare Release
The first action to execute is `prepare-release.yml` / `Prepare Release` for master, and
`prepare-release-v1.yml` / `Prepare Release V1` for `1.5` branch.
This is triggered by manually executing the action, selecting `Actions` in project GitHub UI, then `Prepare Release` workflow
and clicking `Run Workflow` (or `Prepare Release V1` and selecting `1.5` in the dropdown)
`Prepare Release` takes care of:
* create release notes out of merged PRs
* Draft a release with related tag
* bump versions to release, and update all affected files
* build and test maven
* build and test gradle plugin
* push a Pull Request with the changes for human check.
After the PR checks complete, the PR can me merged, and the second phase `Release` started.
#### Release
Once prepare release PR has been merged, the second phase is provided by `release.yml` / `Release` actions for master, and
`release-v1.yml` / `Release V1` for `1.5` branch.
This is triggered by manually executing the action, selecting `Actions` in project GitHub UI, then `Release` workflow
and clicking `Run Workflow` (or `Release V1` and selecting `1.5` in the dropdown)
`Release` takes care of:
* build and test maven
* build and test gradle plugin
* deploy/publish to maven central
* publish javadocs to gh-pages
* deploy/publish gradle plugin
* publish the previously prepared GitHub release / tag
* push PR for next snapshot
* push PR for 1.5 Readme update with new v2 version
* update Wiki with javadocs links to new version
### Secrets
GitHub Actions make use of `Secrets` which can be configured either with Repo or Organization scope; the needed secrets are the following:
* `APP_ID` and APP_PRIVATE_KEY`: these are the values provided by an account configured GitHub App, allowing to obtain a GitHub token
different from the default used in GitHub Actions (which does not allow to "chain" actions).Actions
The GitHub App must be configured as detailed in [this doc](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#authenticating-with-github-app-generated-tokens).
See also [here](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs)
* `OSSRH_GPG_PRIVATE_KEY` and `OSSRH_GPG_PRIVATE_PASSPHRASE` : gpg key and passphrase to be used for sonatype releases
GPG private key and passphrase defined to be used for sonatype deployments, as detailed in
https://central.sonatype.org/pages/working-with-pgp-signatures.html (I'd say with email matching the one of the sonatype account of point 1
* `MAVEN_CENTRAL_USERNAME` and `MAVEN_CENTRAL_PASSWORD`: sonatype user/token
* `GRADLE_PUBLISH_KEY` and `GRADLE_PUBLISH_SECRET`: credentials for https://plugins.gradle.org/
================================================
FILE: CI/ghApiClient.py
================================================
#!/usr/bin/python
import os
import time
import urllib.request, urllib.error, urllib.parse
import http.client
import json
GH_BASE_URL = "https://api.github.com/"
GH_TOKEN = os.environ['GH_TOKEN']
GH_AUTH = "Bearer %s" % GH_TOKEN
def readUrl(name):
try:
request = urllib.request.Request(GH_BASE_URL + name)
request.add_header("Authorization", GH_AUTH)
content = urllib.request.urlopen(request).read()
jcont = json.loads(content)
return jcont
except urllib.error.HTTPError as e:
print(('HTTPError = ' + str(e.code)))
raise e
except urllib.error.URLError as e:
print(('URLError = ' + str(e.reason)))
raise e
except http.client.HTTPException as e:
print(('HTTPException = ' + str(e)))
raise e
except Exception:
import traceback
print(('generic exception: ' + traceback.format_exc()))
raise IOError
def postUrl(name, body):
global GH_BASE_URL
try:
time.sleep(0.05)
request = urllib.request.Request(GH_BASE_URL + name)
request.add_header("Authorization", GH_AUTH)
request.add_header("Accept", "application/vnd.github.v3+json")
data = body.encode('utf-8')
content = urllib.request.urlopen(request, data).read()
jcont = json.loads(content)
return jcont
except urllib.error.HTTPError as e:
print(('HTTPError = ' + str(e.code)))
print((str(e)))
raise e
except urllib.error.URLError as e:
print(('URLError = ' + str(e.reason)))
raise e
except http.client.HTTPException as e:
print(('HTTPException = ' + str(e)))
raise e
except Exception:
import traceback
print(('generic exception: ' + traceback.format_exc()))
raise IOError
================================================
FILE: CI/lastRelease.py
================================================
#!/usr/bin/python
import ghApiClient
def getLastReleaseTag():
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/releases')
for l in content:
draft = l["draft"]
tag = l["tag_name"]
if str(draft) != 'True' and tag.startswith("v2"):
return tag[1:]
# main
def main():
result = getLastReleaseTag()
print (result)
# here start main
main()
================================================
FILE: CI/post-release.sh
================================================
#!/bin/bash
CUR=$(pwd)
TMPDIR="$(dirname -- "${0}")"
SC_RELEASE_TAG="v$SC_VERSION"
#####################
### deploy gradle plugin release
#####################
cd modules/swagger-gradle-plugin
./gradlew publishPlugins -Pgradle.publish.key="${GRADLE_PUBLISH_KEY}" -Pgradle.publish.secret="${GRADLE_PUBLISH_SECRET}" --info
cd ../..
#####################
### publish pre-prepared release (tag is created)
#####################
python $CUR/CI/publishRelease.py "$SC_RELEASE_TAG"
#####################
### update the version to next snapshot in maven project with set version
#####################
./mvnw versions:set -DnewVersion="${SC_NEXT_VERSION}-SNAPSHOT"
./mvnw versions:commit
cd modules/swagger-project-jakarta
../../mvnw versions:set -DnewVersion="${SC_NEXT_VERSION}-SNAPSHOT"
../../mvnw versions:commit
cd ../..
#####################
### update all other versions in files around to the next snapshot or new release, including readme and gradle ###
#####################
sc_find="version=$SC_VERSION"
sc_replace="version=$SC_NEXT_VERSION-SNAPSHOT"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/gradle.properties
sc_find="io.swagger.core.v3:swagger-jaxrs2:$SC_VERSION"
sc_replace="io.swagger.core.v3:swagger-jaxrs2:$SC_NEXT_VERSION-SNAPSHOT"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/SwaggerPlugin.java
sc_find="io.swagger.core.v3:swagger-jaxrs2:$SC_VERSION"
sc_replace="io.swagger.core.v3:swagger-jaxrs2:$SC_NEXT_VERSION-SNAPSHOT"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/src/test/java/io/swagger/v3/plugins/gradle/SwaggerResolveTest.java
sc_find="<version>$SC_VERSION<\/version>"
sc_replace="<version>$SC_NEXT_VERSION-SNAPSHOT<\/version>"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-java17-support/pom.xml
rm -f $CUR/modules/swagger-java17-support/pom.xml.versionsBackup
#####################
### Copy scripts to temp folder, as they are not available when checking out different branch or repo
#####################
cp -a $CUR/CI/update-v1-readme.sh $TMPDIR/update-v1-readme.sh
cp -a $CUR/CI/update-wiki.sh $TMPDIR/update-wiki.sh
================================================
FILE: CI/pre-release.sh
================================================
#!/bin/bash
CUR=$(pwd)
export SC_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
export SC_NEXT_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
SC_QUALIFIER=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.qualifier}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
#SC_LAST_RELEASE=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${releasedVersion.version}' --non-recursive org.codehaus.mojo:build-helper-maven-plugin:3.2.0:released-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
SC_LAST_RELEASE=`python $CUR/CI/lastRelease.py`
SC_RELEASE_TAG="v$SC_VERSION"
#####################
### build and test maven ###
#####################
./mvnw --no-transfer-progress -B install --file pom.xml
#####################
### build and test gradle ###
#####################
cd ./modules/swagger-gradle-plugin
./gradlew build --info
cd ../..
================================================
FILE: CI/prepare-javadocs.sh
================================================
#!/bin/bash
CUR=$(pwd)
TMPDIR="$(dirname -- "${0}")"
SC_RELEASE_TAG="v$SC_VERSION"
#####################
### publish javadocs
#####################
cp -aR $CUR/modules/swagger-annotations/target/javadocprep/swagger-core/${SC_VERSION}/apidocs $TMPDIR
cp -a $CUR/CI/publish-javadocs.sh $TMPDIR/publish-javadocs.sh
================================================
FILE: CI/prepare-release.sh
================================================
#!/bin/bash
CUR=$(pwd)
export SC_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
export SC_NEXT_VERSION=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
SC_QUALIFIER=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${parsedVersion.qualifier}' --non-recursive build-helper:parse-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
#SC_LAST_RELEASE=`./mvnw -q -Dexec.executable="echo" -Dexec.args='${releasedVersion.version}' --non-recursive org.codehaus.mojo:build-helper-maven-plugin:3.2.0:released-version org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
SC_LAST_RELEASE=`python $CUR/CI/lastRelease.py`
SC_RELEASE_TITLE="Swagger-core $SC_VERSION released!"
SC_RELEASE_TAG="v$SC_VERSION"
#####################
### draft release Notes with next release after last release, with tag
#####################
python $CUR/CI/releaseNotes.py "$SC_LAST_RELEASE" "$SC_RELEASE_TITLE" "$SC_RELEASE_TAG"
#####################
### update the version to release in maven project with set version
#####################
./mvnw versions:set -DnewVersion=$SC_VERSION
./mvnw versions:commit
cd modules/swagger-project-jakarta
../../mvnw versions:set -DnewVersion=$SC_VERSION
../../mvnw versions:commit
cd ../..
#####################
### update all other versions in files around to the new release, including readme and gradle ###
#####################
sc_find="currently $SC_VERSION-SNAPSHOT"
sc_replace="currently $SC_NEXT_VERSION-SNAPSHOT"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md
sc_find="$SC_LAST_RELEASE (\*\*current stable\*\*)"
sc_replace="$SC_LAST_RELEASE "
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md
# update readme with a line for the new release replacing the previous
CURDATE=$(date +"%Y-%m-%d")
sc_find="------------------------- | ------------ | -------------------------- | ----- | ----"
sc_add="$SC_VERSION (**current stable**)| $CURDATE | 3.x | [tag v$SC_VERSION](https:\/\/github.com\/swagger-api\/swagger-core\/tree\/v$SC_VERSION) | Supported"
sc_replace="$sc_find\n$sc_add"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md
sc_find="\"io.swagger.core.v3.swagger-gradle-plugin\" version \"$SC_LAST_RELEASE\""
sc_replace="\"io.swagger.core.v3.swagger-gradle-plugin\" version \"$SC_VERSION\""
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/README.md
sc_find="classpath \"io.swagger.core.v3:swagger-gradle-plugin:$SC_LAST_RELEASE\""
sc_replace="classpath \"io.swagger.core.v3:swagger-gradle-plugin:$SC_VERSION\""
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/README.md
sc_find="version=$SC_VERSION\-SNAPSHOT"
sc_replace="version=$SC_VERSION"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/gradle.properties
sc_find="io.swagger.core.v3:swagger-jaxrs2:$SC_VERSION-SNAPSHOT"
sc_replace="io.swagger.core.v3:swagger-jaxrs2:$SC_VERSION"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/src/main/java/io/swagger/v3/plugins/gradle/SwaggerPlugin.java
sc_find="io.swagger.core.v3:swagger-jaxrs2:$SC_VERSION-SNAPSHOT"
sc_replace="io.swagger.core.v3:swagger-jaxrs2:$SC_VERSION"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-gradle-plugin/src/test/java/io/swagger/v3/plugins/gradle/SwaggerResolveTest.java
sc_find="<version>$SC_LAST_RELEASE<\/version>"
sc_replace="<version>$SC_VERSION<\/version>"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-maven-plugin/README.md
sc_find="<version>$SC_LAST_RELEASE<\/version>"
sc_replace="<version>$SC_VERSION<\/version>"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/modules/swagger-java17-support/pom.xml
rm -f $CUR/modules/swagger-java17-support/pom.xml.versionsBackup
#####################
### build and test maven ###
#####################
./mvnw --no-transfer-progress -B install --file pom.xml
#####################
### build and test gradle ###
#####################
cd ./modules/swagger-gradle-plugin
./gradlew build --info
cd ../..
================================================
FILE: CI/publish-javadocs.sh
================================================
#!/bin/bash
CUR=$(pwd)
TMPDIR="$(dirname -- "${0}")"
SC_RELEASE_TAG="v$SC_VERSION"
#####################
### publish javadocs
#####################
mkdir -p $CUR/swagger-core/${SC_RELEASE_TAG}
cp -aR $TMPDIR/apidocs $CUR/swagger-core/${SC_RELEASE_TAG}
git add -A
git commit -m "apidocs for release ${SC_RELEASE_TAG}"
git push -u origin gh-pages
================================================
FILE: CI/publishRelease.py
================================================
#!/usr/bin/python
import sys
import ghApiClient
def lastReleaseId(tag):
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/releases')
for l in content:
draft = l["draft"]
draft_tag = l["tag_name"]
if str(draft) == 'True' and tag == draft_tag:
return l["id"]
def publishRelease(tag):
id = lastReleaseId(tag)
payload = "{\"tag_name\":\"" + tag + "\", "
payload += "\"draft\":" + "false" + ", "
payload += "\"target_commitish\":\"" + "master" + "\"}"
content = ghApiClient.postUrl('repos/swagger-api/swagger-core/releases/' + str(id), payload)
return content
# main
def main(tag):
publishRelease (tag)
# here start main
main(sys.argv[1])
================================================
FILE: CI/releaseNotes.py
================================================
#!/usr/bin/python
import sys
import json
from datetime import datetime
import ghApiClient
def allPulls(releaseDate):
result = ""
baseurl = "https://api.github.com/repos/swagger-api/swagger-core/pulls/"
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/pulls?state=closed&base=master&per_page=100')
for l in content:
stripped = l["url"][len(baseurl):]
mergedAt = l["merged_at"]
if mergedAt is not None:
if datetime.strptime(mergedAt, '%Y-%m-%dT%H:%M:%SZ') > releaseDate:
if not l['title'].startswith("bump snap"):
result += '\n'
result += "* " + l['title'] + " (#" + stripped + ")"
return result
def lastReleaseDate(tag):
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/releases/tags/' + tag)
publishedAt = content["published_at"]
return datetime.strptime(publishedAt, '%Y-%m-%dT%H:%M:%SZ')
def addRelease(release_title, tag, content):
payload = "{\"tag_name\":\"" + tag + "\", "
payload += "\"name\":" + json.dumps(release_title) + ", "
payload += "\"body\":" + json.dumps(content) + ", "
payload += "\"draft\":" + "true" + ", "
payload += "\"prerelease\":" + "false" + ", "
payload += "\"target_commitish\":\"" + "master" + "\"}"
content = ghApiClient.postUrl('repos/swagger-api/swagger-core/releases', payload)
return content
def getReleases():
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/releases')
return content
# main
def main(last_release, release_title, tag):
result = allPulls(lastReleaseDate('v' + last_release))
addRelease (release_title, tag, result)
# here start main
main(sys.argv[1], sys.argv[2], sys.argv[3])
================================================
FILE: CI/test.py
================================================
#!/usr/bin/python
import sys
import json
from datetime import datetime
import ghApiClient
def allPulls(releaseDate):
result = ""
baseurl = "https://api.github.com/repos/swagger-api/swagger-core/pulls/"
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/pulls?state=closed&base=master&per_page=100')
for l in content:
stripped = l["url"][len(baseurl):]
mergedAt = l["merged_at"]
if mergedAt is not None:
if datetime.strptime(mergedAt, '%Y-%m-%dT%H:%M:%SZ') > releaseDate:
if not l['title'].startswith("bump snap"):
result += '\n'
result += "* " + l['title'] + " (#" + stripped + ")"
return result
def lastReleaseDate(tag):
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/releases/tags/' + tag)
publishedAt = content["published_at"]
return datetime.strptime(publishedAt, '%Y-%m-%dT%H:%M:%SZ')
def addRelease(release_title, tag, content):
payload = "{\"tag_name\":\"" + tag + "\", "
payload += "\"name\":" + json.dumps(release_title) + ", "
payload += "\"body\":" + json.dumps(content) + ", "
payload += "\"draft\":" + "true" + ", "
payload += "\"prerelease\":" + "false" + ", "
payload += "\"target_commitish\":\"" + "master" + "\"}"
content = ghApiClient.postUrl('repos/swagger-api/swagger-core/releases', payload)
return content
def getReleases():
content = ghApiClient.readUrl('repos/swagger-api/swagger-core/releases')
return content
# main
def main(last_release, release_title, tag):
baseurl = "https://api.github.com/repos/swagger-api/swagger-core/pulls/"
payload = "{\"tag_name\":\"" + tag + "\", "
payload += "\"name\":" + json.dumps(release_title) + ", "
payload += "\"body\":" + json.dumps(content) + ", "
payload += "\"draft\":" + "true" + ", "
payload += "\"prerelease\":" + "false" + ", "
payload += "\"target_commitish\":\"" + "master" + "\"}"
content = ghApiClient.postUrl('repos/swagger-api/swagger-core/releases', payload)
result = allPulls(lastReleaseDate('v' + last_release))
addRelease (release_title, tag, result)
# here start main
main(sys.argv[1], sys.argv[2], sys.argv[3])
================================================
FILE: CI/update-v1-readme.sh
================================================
#!/bin/bash
SC_LAST_RELEASE="$1"
SC_VERSION="$2"
CUR=$(pwd)
#####################
### update v2 versions in readme
#####################
sc_find="$SC_LAST_RELEASE (\*\*current stable\*\*)"
sc_replace="$SC_LAST_RELEASE "
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md
# update readme with a line for the new release replacing the previous
CURDATE=$(date +"%Y-%m-%d")
sc_find="------------------------- | ------------ | -------------------------- | ----- | ----"
sc_add="$SC_VERSION (**current stable**)| $CURDATE | 3.x | [tag v$SC_VERSION](https:\/\/github.com\/swagger-api\/swagger-core\/tree\/v$SC_VERSION) | Supported"
sc_replace="$sc_find\n$sc_add"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md
================================================
FILE: CI/update-wiki.sh
================================================
#!/bin/bash
CUR=$(pwd)
#####################
### update Wiki
#####################
cd wiki
sc_find="$SC_LAST_RELEASE\/"
sc_replace="$SC_VERSION\/"
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/wiki/Swagger-2.X---Annotations.md
git add -A
git commit -m "update javadocs links to ${SC_VERSION}"
git push -u origin master
cd ..
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright (c) 2015. SmartBear Software Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: NOTICE
================================================
Swagger Core - ${pom.name}
Copyright (c) 2015. SmartBear Software Inc.
Swagger Core - ${pom.name} is licensed under Apache 2.0 license.
Copy of the Apache 2.0 license can be found in `LICENSE` file.
================================================
FILE: README.md
================================================
# Swagger Core <img src="https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.png" height="50" align="right">
**NOTE:** If you're looking for Swagger Core 1.5.X and OpenAPI 2.0, please refer to [1.5 branch](https://github.com/swagger-api/swagger-core/tree/1.5).
**NOTE:** Since version 2.1.7, Swagger Core also supports the Jakarta namespace. There are a parallel set of artifacts with the `-jakarta` suffix, providing the same functionality as the unsuffixed (i.e.: `javax`) artifacts.
Please see the [Wiki](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Getting-started) for more details.
**NOTE:** Since version 2.2.0 Swagger Core supports OpenAPI 3.1; see [this page](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---OpenAPI-3.1) for details

[](https://maven-badges.herokuapp.com/maven-central/io.swagger.core.v3/swagger-project)
Swagger Core is a Java implementation of the OpenAPI Specification. Current version supports *JAX-RS2* (`javax` and `jakarta` namespaces).
## Get started with Swagger Core!
See the guide on [getting started with Swagger Core](https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Getting-started) to get started with adding Swagger to your API.
## See the Wiki!
The [github wiki](https://github.com/swagger-api/swagger-core/wiki) contains documentation, samples, contributions, etc. Start there.
## Compatibility
The OpenAPI Specification has undergone several revisions since initial creation in 2010. The Swagger Core project has the following compatibilities with the OpenAPI Specification:
Swagger core Version | Release Date | OpenAPI Spec compatibility | Notes | Status
------------------------- | ------------ | -------------------------- | ----- | ----
2.2.45 (**current stable**)| 2026-03-09 | 3.x | [tag v2.2.45](https://github.com/swagger-api/swagger-core/tree/v2.2.45) | Supported
2.2.44 | 2026-03-03 | 3.x | [tag v2.2.44](https://github.com/swagger-api/swagger-core/tree/v2.2.44) | Supported
2.2.43 | 2026-02-17 | 3.x | [tag v2.2.43](https://github.com/swagger-api/swagger-core/tree/v2.2.43) | Supported
2.2.42 | 2026-01-19 | 3.x | [tag v2.2.42](https://github.com/swagger-api/swagger-core/tree/v2.2.42) | Supported
2.2.41 | 2025-11-24 | 3.x | [tag v2.2.41](https://github.com/swagger-api/swagger-core/tree/v2.2.41) | Supported
2.2.40 | 2025-10-28 | 3.x | [tag v2.2.40](https://github.com/swagger-api/swagger-core/tree/v2.2.40) | Supported
2.2.39 | 2025-10-13 | 3.x | [tag v2.2.39](https://github.com/swagger-api/swagger-core/tree/v2.2.39) | Supported
2.2.38 | 2025-09-29 | 3.x | [tag v2.2.38](https://github.com/swagger-api/swagger-core/tree/v2.2.38) | Supported
2.2.37 | 2025-09-16 | 3.x | [tag v2.2.37](https://github.com/swagger-api/swagger-core/tree/v2.2.37) | Supported
2.2.36 | 2025-08-18 | 3.x | [tag v2.2.36](https://github.com/swagger-api/swagger-core/tree/v2.2.36) | Supported
2.2.35 | 2025-07-31 | 3.x | [tag v2.2.35](https://github.com/swagger-api/swagger-core/tree/v2.2.35) | Supported
2.2.34 | 2025-06-20 | 3.x | [tag v2.2.34](https://github.com/swagger-api/swagger-core/tree/v2.2.34) | Supported
2.2.33 | 2025-06-12 | 3.x | [tag v2.2.33](https://github.com/swagger-api/swagger-core/tree/v2.2.33) | Supported
2.2.32 | 2025-05-14 | 3.x | [tag v2.2.32](https://github.com/swagger-api/swagger-core/tree/v2.2.32) | Supported
2.2.31 | 2025-05-13 | 3.x | [tag v2.2.31](https://github.com/swagger-api/swagger-core/tree/v2.2.31) | Supported
2.2.30 | 2025-04-07 | 3.x | [tag v2.2.30](https://github.com/swagger-api/swagger-core/tree/v2.2.30) | Supported
2.2.29 | 2025-03-10 | 3.x | [tag v2.2.29](https://github.com/swagger-api/swagger-core/tree/v2.2.29) | Supported
2.2.28 | 2025-01-16 | 3.x | [tag v2.2.28](https://github.com/swagger-api/swagger-core/tree/v2.2.28) | Supported
2.2.27 | 2024-12-11 | 3.x | [tag v2.2.27](https://github.com/swagger-api/swagger-core/tree/v2.2.27) | Supported
2.2.26 | 2024-11-18 | 3.x | [tag v2.2.26](https://github.com/swagger-api/swagger-core/tree/v2.2.26) | Supported
2.2.25 | 2024-10-02 | 3.x | [tag v2.2.25](https://github.com/swagger-api/swagger-core/tree/v2.2.25) | Supported
2.2.24 | 2024-09-23 | 3.x | [tag v2.2.24](https://github.com/swagger-api/swagger-core/tree/v2.2.24) | Supported
2.2.23 | 2024-08-28 | 3.x | [tag v2.2.23](https://github.com/swagger-api/swagger-core/tree/v2.2.23) | Supported
2.2.22 | 2024-05-15 | 3.x | [tag v2.2.22](https://github.com/swagger-api/swagger-core/tree/v2.2.22) | Supported
2.2.21 | 2024-03-20 | 3.x | [tag v2.2.21](https://github.com/swagger-api/swagger-core/tree/v2.2.21) | Supported
2.2.20 | 2023-12-19 | 3.x | [tag v2.2.20](https://github.com/swagger-api/swagger-core/tree/v2.2.20) | Supported
2.2.19 | 2023-11-10 | 3.x | [tag v2.2.19](https://github.com/swagger-api/swagger-core/tree/v2.2.19) | Supported
2.2.18 | 2023-10-25 | 3.x | [tag v2.2.18](https://github.com/swagger-api/swagger-core/tree/v2.2.18) | Supported
2.2.17 | 2023-10-12 | 3.x | [tag v2.2.17](https://github.com/swagger-api/swagger-core/tree/v2.2.17) | Supported
2.2.16 | 2023-09-18 | 3.x | [tag v2.2.16](https://github.com/swagger-api/swagger-core/tree/v2.2.16) | Supported
2.2.15 | 2023-07-08 | 3.x | [tag v2.2.15](https://github.com/swagger-api/swagger-core/tree/v2.2.15) | Supported
2.2.14 | 2023-06-26 | 3.x | [tag v2.2.14](https://github.com/swagger-api/swagger-core/tree/v2.2.14) | Supported
2.2.13 | 2023-06-24 | 3.x | [tag v2.2.13](https://github.com/swagger-api/swagger-core/tree/v2.2.13) | Supported
2.2.12 | 2023-06-13 | 3.x | [tag v2.2.12](https://github.com/swagger-api/swagger-core/tree/v2.2.12) | Supported
2.2.11 | 2023-06-01 | 3.x | [tag v2.2.11](https://github.com/swagger-api/swagger-core/tree/v2.2.11) | Supported
2.2.10 | 2023-05-15 | 3.x | [tag v2.2.10](https://github.com/swagger-api/swagger-core/tree/v2.2.10) | Supported
2.2.9 | 2023-03-20 | 3.x | [tag v2.2.9](https://github.com/swagger-api/swagger-core/tree/v2.2.9) | Supported
2.2.8 | 2023-01-06 | 3.x | [tag v2.2.8](https://github.com/swagger-api/swagger-core/tree/v2.2.8) | Supported
2.2.7 | 2022-11-15 | 3.0 | [tag v2.2.7](https://github.com/swagger-api/swagger-core/tree/v2.2.7) | Supported
2.2.6 | 2022-11-02 | 3.0 | [tag v2.2.6](https://github.com/swagger-api/swagger-core/tree/v2.2.6) | Supported
2.2.5 | 2022-11-02 | 3.0 | [tag v2.2.5](https://github.com/swagger-api/swagger-core/tree/v2.2.5) | Supported
2.2.4 | 2022-10-16 | 3.0 | [tag v2.2.4](https://github.com/swagger-api/swagger-core/tree/v2.2.4) | Supported
2.2.3 | 2022-09-27 | 3.0 | [tag v2.2.3](https://github.com/swagger-api/swagger-core/tree/v2.2.3) | Supported
2.2.2 | 2022-07-20 | 3.0 | [tag v2.2.2](https://github.com/swagger-api/swagger-core/tree/v2.2.2) | Supported
2.2.1 | 2022-06-15 | 3.0 | [tag v2.2.1](https://github.com/swagger-api/swagger-core/tree/v2.2.1) | Supported
2.2.0 | 2022-04-04 | 3.0 | [tag v2.2.0](https://github.com/swagger-api/swagger-core/tree/v2.2.0) | Supported
2.1.13 | 2022-02-07 | 3.0 | [tag v2.1.13](https://github.com/swagger-api/swagger-core/tree/v2.1.13) | Supported
2.1.12 | 2021-12-23 | 3.0 | [tag v2.1.12](https://github.com/swagger-api/swagger-core/tree/v2.1.12) | Supported
2.1.11 | 2021-09-29 | 3.0 | [tag v2.1.11](https://github.com/swagger-api/swagger-core/tree/v2.1.11) | Supported
2.1.10 | 2021-06-28 | 3.0 | [tag v2.1.10](https://github.com/swagger-api/swagger-core/tree/v2.1.10) | Supported
2.1.9 | 2021-04-20 | 3.0 | [tag v2.1.9](https://github.com/swagger-api/swagger-core/tree/v2.1.9) | Supported
2.1.8 | 2021-04-18 | 3.0 | [tag v2.1.8](https://github.com/swagger-api/swagger-core/tree/v2.1.8) | Supported
2.1.7 | 2021-02-18 | 3.0 | [tag v2.1.7](https://github.com/swagger-api/swagger-core/tree/v2.1.7) | Supported
2.1.6 | 2020-12-04 | 3.0 | [tag v2.1.6](https://github.com/swagger-api/swagger-core/tree/v2.1.6) | Supported
2.1.5 | 2020-10-01 | 3.0 | [tag v2.1.5](https://github.com/swagger-api/swagger-core/tree/v2.1.5) | Supported
2.1.4 | 2020-07-24 | 3.0 | [tag v2.1.4](https://github.com/swagger-api/swagger-core/tree/v2.1.4) | Supported
2.1.3 | 2020-06-27 | 3.0 | [tag v2.1.3](https://github.com/swagger-api/swagger-core/tree/v2.1.3) | Supported
2.1.2 | 2020-04-01 | 3.0 | [tag v2.1.2](https://github.com/swagger-api/swagger-core/tree/v2.1.2) | Supported
2.1.1 | 2020-01-02 | 3.0 | [tag v2.1.1](https://github.com/swagger-api/swagger-core/tree/v2.1.1) | Supported
2.1.0 | 2019-11-16 | 3.0 | [tag v2.1.0](https://github.com/swagger-api/swagger-core/tree/v2.1.0) | Supported
2.0.10 | 2019-10-11 | 3.0 | [tag v2.0.10](https://github.com/swagger-api/swagger-core/tree/v2.0.10) | Supported
2.0.9 | 2019-08-22 | 3.0 | [tag v2.0.9](https://github.com/swagger-api/swagger-core/tree/v2.0.9) | Supported
2.0.8 | 2019-04-24 | 3.0 | [tag v2.0.8](https://github.com/swagger-api/swagger-core/tree/v2.0.8) | Supported
2.0.7 | 2019-02-18 | 3.0 | [tag v2.0.7](https://github.com/swagger-api/swagger-core/tree/v2.0.7) | Supported
2.0.6 | 2018-11-27 | 3.0 | [tag v2.0.6](https://github.com/swagger-api/swagger-core/tree/v2.0.6) | Supported
2.0.5 | 2018-09-19 | 3.0 | [tag v2.0.5](https://github.com/swagger-api/swagger-core/tree/v2.0.5) | Supported
2.0.4 | 2018-09-05 | 3.0 | [tag v2.0.4](https://github.com/swagger-api/swagger-core/tree/v2.0.4) | Supported
2.0.3 | 2018-08-09 | 3.0 | [tag v2.0.3](https://github.com/swagger-api/swagger-core/tree/v2.0.3) | Supported
1.6.14 (**current stable**)| 2024-03-19 | 2.0 | [tag v1.6.14](https://github.com/swagger-api/swagger-core/tree/v1.6.14) | Supported
1.6.13 | 2024-01-26 | 2.0 | [tag v1.6.13](https://github.com/swagger-api/swagger-core/tree/v1.6.13) | Supported
1.6.12 | 2023-10-14 | 2.0 | [tag v1.6.12](https://github.com/swagger-api/swagger-core/tree/v1.6.12) | Supported
1.6.11 | 2023-05-15 | 2.0 | [tag v1.6.11](https://github.com/swagger-api/swagger-core/tree/v1.6.11) | Supported
1.6.10 | 2023-03-21 | 2.0 | [tag v1.6.10](https://github.com/swagger-api/swagger-core/tree/v1.6.10) | Supported
1.6.9 | 2022-11-15 | 2.0 | [tag v1.6.9](https://github.com/swagger-api/swagger-core/tree/v1.6.9) | Supported
1.6.8 | 2022-10-16 | 2.0 | [tag v1.6.8](https://github.com/swagger-api/swagger-core/tree/v1.6.8) | Supported
1.6.7 | 2022-09-27 | 2.0 | [tag v1.6.7](https://github.com/swagger-api/swagger-core/tree/v1.6.7) | Supported
1.6.6 | 2022-04-04 | 2.0 | [tag v1.6.6](https://github.com/swagger-api/swagger-core/tree/v1.6.6) | Supported
1.6.5 | 2022-02-07 | 2.0 | [tag v1.6.5](https://github.com/swagger-api/swagger-core/tree/v1.6.5) | Supported
1.6.4 | 2021-12-23 | 2.0 | [tag v1.6.4](https://github.com/swagger-api/swagger-core/tree/v1.6.4) | Supported
1.6.3 | 2021-09-29 | 2.0 | [tag v1.6.3](https://github.com/swagger-api/swagger-core/tree/v1.6.3) | Supported
1.6.2 | 2020-07-01 | 2.0 | [tag v1.6.2](https://github.com/swagger-api/swagger-core/tree/v1.6.2) | Supported
1.6.1 | 2020-04-01 | 2.0 | [tag v1.6.1](https://github.com/swagger-api/swagger-core/tree/v1.6.1) | Supported
1.6.0 | 2019-11-16 | 2.0 | [tag v1.6.0](https://github.com/swagger-api/swagger-core/tree/v1.6.0) | Supported
1.5.24 | 2019-10-11 | 2.0 | [tag v1.5.24](https://github.com/swagger-api/swagger-core/tree/v1.5.24) | Supported
1.5.23 | 2019-08-22 | 2.0 | [tag v1.5.23](https://github.com/swagger-api/swagger-core/tree/v1.5.23) | Supported
1.5.22 | 2019-02-18 | 2.0 | [tag v1.5.22](https://github.com/swagger-api/swagger-core/tree/v1.5.22) | Supported
1.5.21 | 2018-08-09 | 2.0 | [tag v1.5.21](https://github.com/swagger-api/swagger-core/tree/v1.5.21) | Supported
1.5.20 | 2018-05-23 | 2.0 | [tag v1.5.20](https://github.com/swagger-api/swagger-core/tree/v1.5.20) | Supported
2.0.2 | 2018-05-23 | 3.0 | [tag v2.0.2](https://github.com/swagger-api/swagger-core/tree/v2.0.2) | Supported
2.0.1 | 2018-04-16 | 3.0 | [tag v2.0.1](https://github.com/swagger-api/swagger-core/tree/v2.0.1) | Supported
1.5.19 | 2018-04-16 | 2.0 | [tag v1.5.19](https://github.com/swagger-api/swagger-core/tree/v1.5.19) | Supported
2.0.0 | 2018-03-20 | 3.0 | [tag v2.0.0](https://github.com/swagger-api/swagger-core/tree/v2.0.0) | Supported
2.0.0-rc4 | 2018-01-22 | 3.0 | [tag v2.0.0-rc4](https://github.com/swagger-api/swagger-core/tree/v2.0.0-rc4) | Supported
2.0.0-rc3 | 2017-11-21 | 3.0 | [tag v2.0.0-rc3](https://github.com/swagger-api/swagger-core/tree/v2.0.0-rc3) | Supported
2.0.0-rc2 | 2017-09-29 | 3.0 | [tag v2.0.0-rc2](https://github.com/swagger-api/swagger-core/tree/v2.0.0-rc2) | Supported
2.0.0-rc1 | 2017-08-17 | 3.0 | [tag v2.0.0-rc1](https://github.com/swagger-api/swagger-core/tree/v2.0.0-rc1) | Supported
1.5.18 | 2018-01-22 | 2.0 | [tag v1.5.18](https://github.com/swagger-api/swagger-core/tree/v1.5.18) | Supported
1.5.17 | 2017-11-21 | 2.0 | [tag v1.5.17](https://github.com/swagger-api/swagger-core/tree/v1.5.17) | Supported
1.5.16 | 2017-07-15 | 2.0 | [tag v1.5.16](https://github.com/swagger-api/swagger-core/tree/v1.5.16) | Supported
1.3.12 | 2014-12-23 | 1.2 | [tag v1.3.12](https://github.com/swagger-api/swagger-core/tree/v1.3.12) | Supported
1.2.4 | 2013-06-19 | 1.1 | [tag swagger-project_2.10.0-1.2.4](https://github.com/swagger-api/swagger-core/tree/swagger-project_2.10.0-1.2.4) | Deprecated
1.0.0 | 2011-10-16 | 1.0 | [tag v1.0](https://github.com/swagger-api/swagger-core/tree/v1.0) | Deprecated
### Change History
If you're interested in the change history of swagger and the Swagger Core framework, see [here](https://github.com/swagger-api/swagger-core/releases).
### Prerequisites
You need the following installed and available in your $PATH:
* Java 11
* Apache maven 3.0.4 or greater
* Jackson 2.4.5 or greater
### To build from source (currently 2.2.46-SNAPSHOT)
```
# first time building locally
mvn -N
```
Subsequent builds:
```
mvn install
```
This will build the modules.
Of course if you don't want to build locally you can grab artifacts from maven central:
`https://repo1.maven.org/maven2/io/swagger/core/`
## Sample Apps
The samples have moved to [a new repository](https://github.com/swagger-api/swagger-samples/tree/2.0) and contain various integrations and configurations.
## Security contact
Please disclose any security-related issues or vulnerabilities by emailing [security@swagger.io](mailto:security@swagger.io), instead of using the public issue tracker.
================================================
FILE: modules/swagger-annotations/.gitignore
================================================
/bin/
================================================
FILE: modules/swagger-annotations/pom.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-project</artifactId>
<version>2.2.46-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>swagger-annotations</artifactId>
<name>swagger-annotations</name>
<description>swagger-annotations</description>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<defaultGoal>install</defaultGoal>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Automatic-Module-Name>io.swagger.v3.oas.annotations</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- this is used during release (see CI/CI.md file for details) to prepare javadocs for publishing to gh-pages -->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${enforcer-plugin-version}</version>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireReleaseVersion>
<message>Publish javadocs for a SNAPSHOT is not allowed.</message>
</requireReleaseVersion>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<!-- keep 3.1.0 until root cause of error is identified. see https://issues.apache.org/jira/browse/MRESOURCES-265 -->
<version>3.1.0</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>deploy</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/javadocprep/swagger-core/${project.version}/apidocs</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/apidocs</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/ExternalDocumentation.java
================================================
package io.swagger.v3.oas.annotations;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* The annotation may be used at method level or as field of {@link Operation} to add a reference to an external
* resource for extended documentation of an <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#operation-object">Operation (OpenAPI specification)</a>.
* <p>It may also be used to add external documentation to {@link io.swagger.v3.oas.annotations.tags.Tag},
* {@link io.swagger.v3.oas.annotations.headers.Header} or {@link io.swagger.v3.oas.annotations.media.Schema},
* or as field of {@link OpenAPIDefinition}.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#external-documentation-object">External Documentation (OpenAPI specification)</a>
* @see OpenAPIDefinition
**/
@Target({METHOD, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ExternalDocumentation {
/**
* A short description of the target documentation.
*
* @return the documentation description
**/
String description() default "";
/**
* The URL for the target documentation. Value must be in the format of a URL.
*
* @return the documentation URL
**/
String url() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Hidden.java
================================================
package io.swagger.v3.oas.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
/**
* Marks a given resource, class or bean type as hidden, skipping while reading / resolving
**/
@Target({METHOD, TYPE, FIELD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Hidden {
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/OpenAPI31.java
================================================
package io.swagger.v3.oas.annotations;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface OpenAPI31 {}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/OpenAPIDefinition.java
================================================
package io.swagger.v3.oas.annotations;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.annotations.tags.Tag;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation that may be used to populate OpenAPI Object fields info, tags, servers, security and externalDocs
* If more than one class is annotated with {@link OpenAPIDefinition}, with the same fields defined, behaviour is inconsistent.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#oas-object">OpenAPI (OpenAPI specification)</a>
*/
@Target({TYPE, PACKAGE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface OpenAPIDefinition {
/**
* Provides metadata about the API. The metadata MAY be used by tooling as required.
*
* @return the metadata about this API
*/
Info info() default @Info;
/**
* A list of tags used by the specification with additional metadata.
* The order of the tags can be used to reflect on their order by the parsing tools.
*
* @return the tags used by the specification with any additional metadata
*/
Tag[] tags() default {};
/**
* An array of Server Objects, which provide connectivity information to a target server.
* If the servers property is not provided, or is an empty array, the default value would be a Server Object with a url value of /.
*
* @return the servers of this API
*/
Server[] servers() default {};
/**
* A declaration of which security mechanisms can be used across the API.
*
* @return the array of servers used for this API
*/
SecurityRequirement[] security() default {};
/**
* Any additional external documentation for the API
*
* @return the external documentation for this API.
*/
ExternalDocumentation externalDocs() default @ExternalDocumentation;
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Operation.java
================================================
package io.swagger.v3.oas.annotations;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.parameters.RequestBody;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.servers.Server;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* The annotation may be used to define a resource method as an OpenAPI Operation, and/or to define additional
* properties for the Operation.
*
* <p>Note: swagger-jaxrs2 reader engine includes by default also methods of scanned resources which are not annotated
* with @Operation, as long as a jax-rs @Path is defined at class and/or method level, together with the http method
* annotation (@GET, @POST, etc).</p>
* <p>This behaviour is controlled by configuration property `scanAllResources` which defaults to true. By setting this
* flag to false only @{@link Operation} annotated methods are considered.</p>
*
* <p>The following fields can also alternatively be defined at method level (as repeatable annotations in case of arrays),
* in this case method level annotations take precedence over @{@link Operation} annotation fields:</p>
*
* <ul>
* <li>tags: @{@link io.swagger.v3.oas.annotations.tags.Tag}</li>
* <li>externalDocs: @{@link ExternalDocumentation}</li>
* <li>parameters: @{@link Parameter}</li>
* <li>responses: @{@link ApiResponse}</li>
* <li>security: @{@link SecurityRequirement}</li>
* <li>servers: @{@link Server}</li>
* <li>extensions: @{@link Extension}</li>
* <li>hidden: @{@link Hidden}</li>
* </ul>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#operation-object">Operation (OpenAPI specification)</a>
**/
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Operation {
/**
* The HTTP method for this operation.
*
* @return the HTTP method of this operation
**/
String method() default "";
/**
* Tags can be used for logical grouping of operations by resources or any other qualifier.
*
* @return the list of tags associated with this operation
**/
String[] tags() default {};
/**
* Provides a brief description of this operation. Should be 120 characters or less for proper visibility in Swagger-UI.
*
* @return a summary of this operation
**/
String summary() default "";
/**
* A verbose description of the operation.
*
* @return a description of this operation
**/
String description() default "";
/**
* Request body associated to the operation.
*
* @return a request body.
*/
RequestBody requestBody() default @RequestBody();
/**
* Additional external documentation for this operation.
*
* @return additional documentation about this operation
**/
ExternalDocumentation externalDocs() default @ExternalDocumentation();
/**
* The operationId is used by third-party tools to uniquely identify this operation.
*
* @return the ID of this operation
**/
String operationId() default "";
/**
* An optional array of parameters which will be added to any automatically detected parameters in the method itself.
*
* @return the list of parameters for this operation
**/
Parameter[] parameters() default {};
/**
* The list of possible responses as they are returned from executing this operation.
*
* @return the list of responses for this operation
**/
ApiResponse[] responses() default {};
/**
* Allows an operation to be marked as deprecated. Alternatively use the @Deprecated annotation
*
* @return whether or not this operation is deprecated
**/
boolean deprecated() default false;
/**
* A declaration of which security mechanisms can be used for this operation.
*
* @return the array of security requirements for this Operation
*/
SecurityRequirement[] security() default {};
/**
* An alternative server array to service this operation.
*
* @return the list of servers hosting this operation
**/
Server[] servers() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* Allows this operation to be marked as hidden
*
* @return whether or not this operation is hidden
*/
boolean hidden() default false;
/**
* Ignores JsonView annotations while resolving operations and types.
*
* @return whether or not to ignore JsonView annotations
*/
boolean ignoreJsonView() default false;
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Parameter.java
================================================
package io.swagger.v3.oas.annotations;
import io.swagger.v3.oas.annotations.enums.Explode;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import io.swagger.v3.oas.annotations.enums.ParameterStyle;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.media.ArraySchema;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.media.Schema;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* The annotation may be used on a method parameter to define it as a parameter for the operation, and/or to define
* additional properties for the Parameter. It can also be used independently in {@link Operation#parameters()} or at
* method level to add a parameter to the operation, even if not bound to any method parameter.
*
* <p>swagger-jaxrs2 reader engine considers this annotation along with JAX-RS annotations, parameter type and context
* as input to resolve a method parameter into an OpenAPI Operation parameter.</p>
*
* <p>For method parameters bound to the request body, see {@link io.swagger.v3.oas.annotations.parameters.RequestBody}</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#parameter-object">Parameter (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.parameters.RequestBody
* @see Operation
* @see Schema
**/
@Target({PARAMETER, METHOD, FIELD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(Parameters.class)
@Inherited
public @interface Parameter {
/**
* The name of the parameter.
*
* @return the parameter's name
**/
String name() default "";
/**
* The location of the parameter. Possible values are "query", "header", "path" or "cookie". Ignored when empty string.
*
* @return the parameter's location
**/
ParameterIn in() default ParameterIn.DEFAULT;
/**
* Additional description data to provide on the purpose of the parameter
*
* @return the parameter's description
**/
String description() default "";
/**
* Determines whether this parameter is mandatory. If the parameter location is "path", this property is required and its value must be true. Otherwise, the property may be included and its default value is false.
*
* @return whether or not the parameter is required
**/
boolean required() default false;
/**
* Specifies that a parameter is deprecated and should be transitioned out of usage.
*
* @return whether or not the parameter is deprecated
**/
boolean deprecated() default false;
/**
* When true, allows sending an empty value. If false, the parameter will be considered \"null\" if no value is present. This may create validation errors when the parameter is required.
*
* @return whether or not the parameter allows empty values
**/
boolean allowEmptyValue() default false;
/**
* Describes how the parameter value will be serialized depending on the type of the parameter value. Default values (based on value of in): for query - form; for path - simple; for header - simple; for cookie - form. Ignored if the properties content or array are specified.
*
* @return the style of the parameter
**/
ParameterStyle style() default ParameterStyle.DEFAULT;
/**
* When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. Ignored if the properties content or array are specified.
*
* @return whether or not to expand individual array members
**/
Explode explode() default Explode.DEFAULT;
/**
* Determines whether the parameter value should allow reserved characters, as defined by RFC3986. This property only applies to parameters with an in value of query. The default value is false. Ignored if the properties content or array are specified.
*
* @return whether or not the parameter allows reserved characters
**/
boolean allowReserved() default false;
/**
* The schema defining the type used for the parameter. Ignored if the properties content or array are specified.
*
* @return the schema of the parameter
**/
Schema schema() default @Schema();
/**
* The schema of the array that defines this parameter. Ignored if the property content is specified.
*
* @return the schema of the array
*/
ArraySchema array() default @ArraySchema();
/**
* The representation of this parameter, for different media types.
*
* @return the content of the parameter
**/
Content[] content() default {};
/**
* Allows this parameter to be marked as hidden
*
* @return whether or not this parameter is hidden
*/
boolean hidden() default false;
/**
* An array of examples of the schema used to show the use of the associated schema.
*
* @return array of examples of the parameter
**/
ExampleObject[] examples() default {};
/**
* Provides an example of the schema. When associated with a specific media type, the example string shall be parsed by the consumer to be treated as an object or an array. Ignored if the properties examples, content or array are specified.
*
* @return an example of the parameter
**/
String example() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a parameter defined in components parameter.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
Class<?>[] validationGroups() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Parameters.java
================================================
package io.swagger.v3.oas.annotations;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* Container for repeatable {@link Parameter} annotation
*
* @see Parameter
*/
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Parameters {
/**
* An array of Parameters Objects for the operation
*
* @return the parameters
*/
Parameter[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/StringToClassMapItem.java
================================================
package io.swagger.v3.oas.annotations;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface StringToClassMapItem {
String key();
Class<?> value();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Webhook.java
================================================
package io.swagger.v3.oas.annotations;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* The annotation may be used to define a method as an OpenAPI Webhook.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#oas-webhooks">Webhook (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.OpenAPIDefinition
**/
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@OpenAPI31
public @interface Webhook {
/**
* Provides the name related to this webhook.
* @return webhook name
*/
String name();
/**
* Provides the operation related to this webhook.
* @return webhook operation
*/
Operation operation();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Webhooks.java
================================================
package io.swagger.v3.oas.annotations;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link Webhook} annotation
*
* @see Webhook
*/
@Target({TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@OpenAPI31
public @interface Webhooks {
/**
* An array of Webhook annotations
*
* @return the array of the Webhook
**/
Webhook[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/callbacks/Callback.java
================================================
package io.swagger.v3.oas.annotations.callbacks;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* The annotation may be used at method level to add one ore more callbacks to the operation definition.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#callback-object">Callback (OpenAPI specification)</a>
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(Callbacks.class)
@Inherited
public @interface Callback {
/**
* The friendly name used to refer to this callback
*
* @return the name of the callback
**/
String name() default "";
/**
* An absolute URL which defines the destination which will be called with the supplied operation definition.
*
* @return the callback URL
*/
String callbackUrlExpression() default "";
/**
* The array of operations that will be called out-of band
*
* @return the callback operations
**/
Operation[] operation() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a Callback defined in components Callbacks.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/callbacks/Callbacks.java
================================================
package io.swagger.v3.oas.annotations.callbacks;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* Container for repeatable {@link Callback} annotation
*
* @see Callback
*/
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Callbacks {
/**
* An array of Callback annotations which are a map of possible out-of band callbacks related to the parent operation
*
* @return the array of the callbacks
**/
Callback[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/Explode.java
================================================
package io.swagger.v3.oas.annotations.enums;
public enum Explode {
DEFAULT, FALSE, TRUE;
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/ParameterIn.java
================================================
package io.swagger.v3.oas.annotations.enums;
public enum ParameterIn {
DEFAULT(""),
HEADER("header"),
QUERY("query"),
PATH("path"),
COOKIE("cookie");
private String value;
ParameterIn(String value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/ParameterStyle.java
================================================
package io.swagger.v3.oas.annotations.enums;
public enum ParameterStyle {
DEFAULT(""),
MATRIX("matrix"),
LABEL("label"),
FORM("form"),
SPACEDELIMITED("spaceDelimited"),
PIPEDELIMITED("pipeDelimited"),
DEEPOBJECT("deepObject"),
SIMPLE("simple");
private String value;
ParameterStyle(String value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/SecuritySchemeIn.java
================================================
package io.swagger.v3.oas.annotations.enums;
public enum SecuritySchemeIn {
DEFAULT(""),
HEADER("header"),
QUERY("query"),
COOKIE("cookie");
private String value;
SecuritySchemeIn(String value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/SecuritySchemeType.java
================================================
package io.swagger.v3.oas.annotations.enums;
public enum SecuritySchemeType {
DEFAULT(""),
APIKEY("apiKey"),
HTTP("http"),
OPENIDCONNECT("openIdConnect"),
MUTUALTLS("mutualTLS"),
OAUTH2("oauth2");
private String value;
SecuritySchemeType(String value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/extensions/Extension.java
================================================
package io.swagger.v3.oas.annotations.extensions;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* An optionally named list of extension properties.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#specification-extensions">Specification extensions (OpenAPI specification)</a>
*/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(Extensions.class)
public @interface Extension {
/**
* An option name for these extensions.
*
* @return an option name for these extensions - will be prefixed with "x-"
*/
String name() default "";
/**
* The extension properties.
*
* @return the actual extension properties
* @see ExtensionProperty
*/
ExtensionProperty[] properties();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/extensions/ExtensionProperty.java
================================================
package io.swagger.v3.oas.annotations.extensions;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* A name/value property within a OpenApi extension
*
* @see Extension
*/
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExtensionProperty {
/**
* The name of the property.
*
* @return the name of the property
*/
String name();
/**
* The value of the property.
*
* @return the value of the property
*/
String value();
/**
* If set to true, field `value` will be parsed and serialized as JSON/YAML
*
* @return the value of `parseValue` annotation field
*/
boolean parseValue() default false;
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/extensions/Extensions.java
================================================
package io.swagger.v3.oas.annotations.extensions;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* Container for repeatable {@link Extension} annotation
*
* @see Extension
*/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Extensions {
/**
* An array of Extension annotations
*
* @return the array of the extensions
**/
Extension[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/headers/Header.java
================================================
package io.swagger.v3.oas.annotations.headers;
import io.swagger.v3.oas.annotations.enums.Explode;
import io.swagger.v3.oas.annotations.media.ArraySchema;
import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.media.Schema;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used to add one or more headers to the definition of a response or as attribute of content
* encoding by defining it as field {@link io.swagger.v3.oas.annotations.responses.ApiResponse#headers()} or {@link io.swagger.v3.oas.annotations.media.Content#encoding()}.
* <p>Please note that request headers are defined as Header {@link io.swagger.v3.oas.annotations.Parameter}.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#header-object">Header (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.responses.ApiResponse
* @see io.swagger.v3.oas.annotations.Parameter
* @see io.swagger.v3.oas.annotations.media.Encoding
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Header {
/**
* Required: The name of the header. The name is only used as the key to store this header in a map.
*
* @return the header's name
**/
String name();
/**
* Additional description data to provide on the purpose of the header
*
* @return the header's description
**/
String description() default "";
/**
* The schema defining the type used for the header. Ignored if the properties content or array are specified.
*
* @return the schema of the header
**/
Schema schema() default @Schema();
/**
* Determines whether this header is mandatory. The property may be included and its default value is false.
*
* @return whether or not the header is required
**/
boolean required() default false;
/**
* Specifies that a header is deprecated and should be transitioned out of usage.
*
* @return whether or not the header is deprecated
**/
boolean deprecated() default false;
/**
* A reference to a header defined in components headers.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
/**
* When this is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. Ignored if the properties content or array are specified.
*
* @return whether or not to expand individual array members
**/
Explode explode() default Explode.DEFAULT;
/**
* Allows this header to be marked as hidden
*
* @return whether or not this header is hidden
*/
boolean hidden() default false;
/**
* Provides an example of the schema. When associated with a specific media type, the example string shall be parsed by the consumer to be treated as an object or an array. Ignored if the properties examples, content or array are specified.
*
* @return an example of the header
**/
String example() default "";
/**
* An array of examples of the schema used to show the use of the associated schema.
*
* @return array of examples of the header
**/
ExampleObject[] examples() default {};
/**
* The schema of the array that defines this header. Ignored if the property content is specified.
*
* @return the schema of the array
*/
ArraySchema array() default @ArraySchema();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/info/Contact.java
================================================
package io.swagger.v3.oas.annotations.info;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used in {@link Info#contact()} to define a contact for the OpenAPI spec.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#contact-object">Contact (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.OpenAPIDefinition
* @see Info
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
public @interface Contact {
/**
* The identifying name of the contact person/organization.
*
* @return the name of the contact
**/
String name() default "";
/**
* The URL pointing to the contact information. Must be in the format of a URL.
*
* @return the URL of the contact
**/
String url() default "";
/**
* The email address of the contact person/organization. Must be in the format of an email address.
*
* @return the email address of the contact
**/
String email() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/info/Info.java
================================================
package io.swagger.v3.oas.annotations.info;
import io.swagger.v3.oas.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used in {@link io.swagger.v3.oas.annotations.OpenAPIDefinition#info()} to populate the Info section of the OpenAPI document.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#info-object">Info (OpenAPI specification)</a>
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#info-object">Info (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.OpenAPIDefinition
**/
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Info {
/**
* The title of the application.
*
* @return the application's title
**/
String title() default "";
/**
* A short description of the application. CommonMark syntax can be used for rich text representation.
*
* @return the application's description
**/
String description() default "";
/**
* A URL to the Terms of Service for the API. Must be in the format of a URL.
*
* @return the application's terms of service
**/
String termsOfService() default "";
/**
* The contact information for the exposed API.
*
* @return a contact for the application
**/
Contact contact() default @Contact();
/**
* The license information for the exposed API.
*
* @return the license of the application
**/
License license() default @License();
/**
* The version of the API definition.
*
* @return the application's version
**/
String version() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A short API summary.
*
* @since 2.2.12 / OpenAPI 3.1
* @return API summary
**/
@OpenAPI31
String summary() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/info/License.java
================================================
package io.swagger.v3.oas.annotations.info;
import io.swagger.v3.oas.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used in {@link Info#license()} to define a license for the OpenAPI spec.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#license-object">License (OpenAPI 3.0 pecification)</a>
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#license-object">License (OpenAPI 3.1 specification)</a>
* @see io.swagger.v3.oas.annotations.OpenAPIDefinition
* @see Info
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
public @interface License {
/**
* The license name used for the API.
*
* @return the name of the license
**/
String name() default "";
/**
* A URL to the license used for the API. MUST be in the format of a URL.
*
* @return URL to the license
**/
String url() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* An identifier for a License instance.
*
* @since 2.2.12 / OpenAPI 3.1
* @return the identifier of the license
**/
@OpenAPI31
String identifier() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/links/Link.java
================================================
package io.swagger.v3.oas.annotations.links;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.servers.Server;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be applied in {@link io.swagger.v3.oas.annotations.responses.ApiResponse#links()} to add OpenAPI links to a response.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#link-object">Link (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.responses.ApiResponse
**/
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Link {
/**
* The name of this link.
*
* @return the link's name
**/
String name() default "";
/**
* A relative or absolute reference to an OAS operation. This field is mutually exclusive of the operationId field, and must point to an Operation Object. Relative operationRef values may be used to locate an existing Operation Object in the OpenAPI definition. Ignored if the operationId property is specified.
*
* @return an operation reference
**/
String operationRef() default "";
/**
* The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field.
*
* @return an operation ID
**/
String operationId() default "";
/**
* Array of parameters to pass to an operation as specified with operationId or identified via operationRef.
*
* @return the list of parameters for this link
**/
LinkParameter[] parameters() default {};
/**
* A description of the link. CommonMark syntax may be used for rich text representation.
*
* @return the link's description
**/
String description() default "";
/**
* A literal value or {expression} to use as a request body when calling the target operation.
*
* @return the request body of this link
**/
String requestBody() default "";
/**
* An alternative server to service this operation.
*
* @return the server associated to this link
**/
Server server() default @Server;
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a link defined in components links.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/links/LinkParameter.java
================================================
package io.swagger.v3.oas.annotations.links;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Represents a parameter to pass to an operation as specified with operationId or identified via operationRef.
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface LinkParameter {
/**
* The name of this link parameter.
*
* @return the parameter's name
**/
String name() default "";
/**
* A constant or an expression to be evaluated and passed to the linked operation.
*
* @return the parameter's value
**/
String expression() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/ArraySchema.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* The annotation may be used to define a schema of type "array" for a set of elements of the OpenAPI spec, and/or to define additional
* properties for the schema. It is applicable e.g. to parameters, schema classes (aka "models"), properties of such
* models, request and response content, header.
*
* <p>swagger-core resolver and swagger-jaxrs2 reader engine consider this annotation along with JAX-RS annotations,
* element type and context as input to resolve the annotated element into an OpenAPI schema definition for such element.</p>
*
* <p>The annotation {@link Schema} shall be used for non array elements; {@link ArraySchema} and {@link Schema} cannot
* coexist</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#schema-object">Schema (OpenAPI specification)</a>
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#schema-object">Schema (OpenAPI specification)</a>
* @see Schema
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ArraySchema {
/**
* The schemas of the items in the array
*
* @since 2.2.12
*
* @deprecated since 2.2.21, use {@link #schema()} instead. Marked for removal in future versions.
* @return items
*/
@Deprecated
Schema items() default @Schema;
/**
* The schema of the items in the array
*
* @return schema
*/
Schema schema() default @Schema;
/**
* Allows to define the properties to be resolved into properties of the schema of type `array` (not the ones of the
* `items` of such schema which are defined in {@link #schema() schema}.
*
* @return arraySchema
*
* @since 2.0.2
*/
Schema arraySchema() default @Schema;
/**
* sets the maximum number of items in an array. Ignored if value is Integer.MIN_VALUE.
*
* @return integer representing maximum number of items in array
**/
int maxItems() default Integer.MIN_VALUE;
/**
* sets the minimum number of items in an array. Ignored if value is Integer.MAX_VALUE.
*
* @return integer representing minimum number of items in array
**/
int minItems() default Integer.MAX_VALUE;
/**
* determines whether an array of items will be unique
*
* @return boolean - whether items in an array are unique or repeating
**/
boolean uniqueItems() default false;
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* Specifies contains constrictions expressions.
*
* @since 2.2.12 / OpenAPI 3.1
* @return contains expression.
*/
@OpenAPI31
Schema contains() default @Schema;
/**
* Provides max contains related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return max contains
*/
@OpenAPI31
int maxContains() default 0;
/**
* Provides min contains related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return min contains
*/
@OpenAPI31
int minContains() default 0;
/**
* Provides unevaluted items to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return unevaluated items
*/
@OpenAPI31
Schema unevaluatedItems() default @Schema;
/**
* Provides prefix items to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return prefixItems
*/
@OpenAPI31
Schema[] prefixItems() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Content.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used to define the content/media type of a parameter, request or response, by defining it as
* field {@link io.swagger.v3.oas.annotations.Parameter#content()}, {@link io.swagger.v3.oas.annotations.parameters.RequestBody#content()} or {@link io.swagger.v3.oas.annotations.responses.ApiResponse#content()}.
* <p>If {@link Content#schema()} is defined, swagger-jaxrs2 reader engine will consider it along with
* JAX-RS annotations, element type and context as input to resolve the annotated element into an OpenAPI schema
* definition for such element.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#example-object">Example (OpenAPI specification)</a>
* @see Schema
* @see io.swagger.v3.oas.annotations.Parameter
* @see io.swagger.v3.oas.annotations.responses.ApiResponse
* @see io.swagger.v3.oas.annotations.parameters.RequestBody
**/
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Content {
/**
* The media type that this object applies to.
*
* @return the media type value
**/
String mediaType() default "";
/**
* An array of examples used to show the use of the associated schema.
*
* @return the list of examples
**/
ExampleObject[] examples() default {};
/**
* The schema defining the type used for the content.
*
* @return the schema of this media type
**/
Schema schema() default @Schema();
/**
* The schema properties defined for schema provided in @Schema
*
* @since 2.2.0
* @return the schema properties
*/
SchemaProperty[] schemaProperties() default {};
/**
* The additionalProperties schema defined for schema provided in @Schema
* If the additionalProperties schema is an array, use additionalPropertiesArraySchema
*
* @since 2.2.0
* @return the additionalProperties schema
*/
Schema additionalPropertiesSchema() default @Schema();
/**
* The additionalProperties array schema defined for schema provided in @Schema
* If the additionalProperties schema is not an array, use additionalPropertiesSchema
*
* @since 2.2.16
* @return the additionalProperties array schema
*/
ArraySchema additionalPropertiesArraySchema() default @ArraySchema();
/**
* The schema of the array that defines the type used for the content.
*
* @return the schema of the array
*/
ArraySchema array() default @ArraySchema();
/**
* An array of encodings
* The key, being the property name, MUST exist in the schema as a property.
*
* @return the array of encodings
*/
Encoding[] encoding() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* Subschemas to be applied for a given condition.
*
* @since 2.2.12 / OpenAPI 3.1
* @return list of dependent schemas.
*/
@OpenAPI31
DependentSchema[] dependentSchemas() default {};
/**
* Provides the content schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return content schema
*/
@OpenAPI31
Schema contentSchema() default @Schema();
/**
* Provides property names related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return proeprty names
*/
@OpenAPI31
Schema propertyNames() default @Schema();
/**
* Provides the if sub schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return if schema
*/
@OpenAPI31
Schema _if() default @Schema();
/**
* Provides the then sub schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return then schema
*/
@OpenAPI31
Schema _then() default @Schema();
/**
* Provides the else sub schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return else schema
*/
@OpenAPI31
Schema _else() default @Schema();
/**
* Set schemas to validate according a given condition.
*
* @since 2.2.12 / OpenAPI 3.1
* @return not schema to be validated
**/
Schema not() default @Schema();
/**
* Provides the oneOf sub schemas related to this schema.
*
* @since 2.2.12 / OpenAPI 3.1
* @return oneOf sub schemas
**/
Schema[] oneOf() default {};
/**
* Provides the anyOf sub schemas related to this schema.
*
* @since 2.2.12 / OpenAPI 3.1
* @return anyOf sub schemas
**/
Schema[] anyOf() default {};
/**
* Provides the allOf sub schemas related to this schema..
*
* @since 2.2.12 / OpenAPI 3.1
* @return allOf sub schemas
**/
Schema[] allOf() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentRequired.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation may be used to define dependent schemas for an Object Schema
*
* @see Schema
*
* @since 2.2.12 / OpenAPI 3.1
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Repeatable(DependentRequiredMap.class)
@OpenAPI31
public @interface DependentRequired {
/**
* The name.
*
* @return the name
**/
String name() default "";
/**
* The values of the dependent schema.
*
* @return the schema
**/
String[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentRequiredMap.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link DependentRequired} annotation
*
* @since 2.2.12 / OpenAPI 3.1
* @see DependentRequired
*/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@OpenAPI31
public @interface DependentRequiredMap {
/**
* An array of DependentRequired annotations
*
* @return the array of the DependentRequired
**/
DependentRequired[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentSchema.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation may be used to define dependent schemas for an Object Schema
*
* @see Schema
*
* @since 2.2.12 / OpenAPI 3.1
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Repeatable(DependentSchemas.class)
@OpenAPI31
public @interface DependentSchema {
/**
* The name.
*
* @return the key of the dependent schema map item
**/
String name() default "";
/**
* The value (Schema) of the dependent schema map item.
* Alternative to `array()`. Applied when the schema is not of type "array".
* Use `array()` when schema is of type "array"
*
* @return the schema
**/
Schema schema() default @Schema();
/**
* The value (ArraySchema) of the dependent schema map item.
* Alternative to `schema()`. Applied when the schema is of type "array".
* Use `schema()` when schema is not of type "array"
*
* @return the value of the array schema
*/
ArraySchema array() default @ArraySchema();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentSchemas.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link DependentSchema} annotation
*
* @see DependentSchema
*/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@OpenAPI31
public @interface DependentSchemas {
/**
* An array of DependentSchema annotations
*
* @return the array of the DependentSchema
**/
DependentSchema[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DiscriminatorMapping.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used in {@link Schema#discriminatorMapping()} to define an optional mapping definition
* in scenarios involving composition / inheritance where the value of the discriminator field does not match the schema
* name or implicit mapping is not possible.
*
* <p>Use {@link Schema#discriminatorProperty()} to define a discriminator property.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#discriminator-object">Discriminator (OpenAPI specification)</a>
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#discriminator-object">Discriminator (OpenAPI specification)</a>
* @see Schema
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface DiscriminatorMapping {
/**
* The property value that will be mapped to a Schema
*
* @return the property value
**/
String value() default "";
/**
* The schema that is being mapped to a property value
*
* @return the Schema reference
**/
Class<?> schema() default Void.class;
/**
* The list of optional extensions
*
* @since 2.2.12 / OpenAPI 3.1
* @return an optional array of extensions
*/
@OpenAPI31
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Encoding.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.headers.Header;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used to add encoding details to the definition of a parameter, request or response content,
* by defining it as field {@link Content#encoding()}
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#encoding-object">Encoding (OpenAPI specification)</a>
* @see Content
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Encoding {
/**
* The name of this encoding object instance.
* This property is a key in encoding map of MediaType object and
* MUST exist in a schema as a property.
*
* @return name of the encoding
**/
String name() default "";
/**
* The Content-Type for encoding a specific property.
*
* @return content type of the encoding
**/
String contentType() default "";
/**
* Describes how a specific property value will be serialized depending on its type
*
* @return style of the encoding
**/
String style() default "";
/**
* When this is true, property values of type array or object generate separate parameters for each value of the array,
* or key-value-pair of the map.
*
* @return boolean
**/
boolean explode() default false;
/**
* Determines whether the parameter value SHOULD allow reserved characters,
* as defined by RFC3986 to be included without percent-encoding.
*
* @return boolean
**/
boolean allowReserved() default false;
/**
* An array of header objects
*
* @return array of headers
*/
Header[] headers() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/ExampleObject.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be used to add one or more examples to the definition of a parameter, request or response content,
* by defining it as field {@link io.swagger.v3.oas.annotations.Parameter#examples()} or {@link Content#examples()}
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#example-object">Example (OpenAPI specification)</a>
**/
@Target({ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ExampleObject {
/**
* A unique name to identify this particular example
*
* @return the name of the example
**/
String name() default "";
/**
* A brief summary of the purpose or context of the example
*
* @return a summary of the example
**/
String summary() default "";
/**
* A string representation of the example. This is mutually exclusive with the externalValue property, and ignored if the externalValue property is specified. If the media type associated with the example allows parsing into an object, it may be converted from a string
*
* @return the value of the example
**/
String value() default "";
/**
* A URL to point to an external document to be used as an example. This is mutually exclusive with the value property.
*
* @return an external URL of the example
**/
String externalValue() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a example defined in components examples.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
/**
* A description of the purpose or context of the example
*
* @since 2.1.0
* @return a description of the example
**/
String description() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/PatternProperties.java
================================================
package io.swagger.v3.oas.annotations.media;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link PatternProperty} annotation
*
* @see PatternProperty
*/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface PatternProperties {
/**
* An array of PatternProperty annotations
*
* @return the array of the PatternProperty
**/
PatternProperty[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/PatternProperty.java
================================================
package io.swagger.v3.oas.annotations.media;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation may be used in OpenAPI 3.1 schemas / JSON Schema.
*
* @see <a target="_new" href="https://tools.ietf.org/html/draft-bhutton-json-schema-00#section-10.3.2.2">JSON Schema section 10.3.2.2</a>
* @see Schema
*
* @since 2.1.8
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Repeatable(PatternProperties.class)
public @interface PatternProperty {
/**
* The regex.
*
* @return the regex
**/
String regex() default "";
/**
* The schema to validate against for properties matching the regex.
*
* @return the schema
**/
Schema schema() default @Schema();
/**
* The schema of the array to validate against for properties matching the regex.
*
* @return the schema of the array
*/
ArraySchema array() default @ArraySchema();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Schema.java
================================================
package io.swagger.v3.oas.annotations.media;
import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.OpenAPI31;
import io.swagger.v3.oas.annotations.StringToClassMapItem;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* The annotation may be used to define a Schema for a set of elements of the OpenAPI spec, and/or to define additional
* properties for the schema. It is applicable e.g. to parameters, schema classes (aka "models"), properties of such
* models, request and response content, header.
*
* <p>swagger-core resolver and swagger-jaxrs2 reader engine consider this annotation along with JAX-RS annotations,
* element type and context as input to resolve the annotated element into an OpenAPI schema definition for such element.</p>
* <p>The annotation may be used also to override partly (e.g. the name) or fully (e.g providing a completely different
* representation) the schema of an element; for example if a specific class is provided as value of {@link Schema#implementation()},
* it will override the element type</p>
*
* <p>The annotation {@link ArraySchema} shall be used for array elements; {@link ArraySchema} and {@link Schema} cannot
* coexist</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#schema-object">Schema (OpenAPI specification)</a>
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#schema-object">Schema (OpenAPI specification)</a>
* @see ArraySchema
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Schema {
String DEFAULT_SENTINEL = "##default";
/**
* Provides a java class as implementation for this schema. When provided, additional information in the Schema annotation (except for type information) will augment the java class after introspection.
*
* @return a class that implements this schema
**/
Class<?> implementation() default Void.class;
/**
* Provides a java class to be used to disallow matching properties.
*
* @return a class with disallowed properties
**/
Class<?> not() default Void.class;
/**
* Provides an array of java class implementations which can be used to describe multiple acceptable schemas. If more than one match the derived schemas, a validation error will occur.
*
* @return the list of possible classes for a single match
**/
Class<?>[] oneOf() default {};
/**
* Provides an array of java class implementations which can be used to describe multiple acceptable schemas. If any match, the schema will be considered valid.
*
* @return the list of possible class matches
**/
Class<?>[] anyOf() default {};
/**
* Provides an array of java class implementations which can be used to describe multiple acceptable schemas. If all match, the schema will be considered valid
*
* @return the list of classes to match
**/
Class<?>[] allOf() default {};
/**
* The name of the schema or property.
*
* @return the name of the schema
**/
String name() default "";
/**
* A title to explain the purpose of the schema.
*
* @return the title of the schema
**/
String title() default "";
/**
* Constrains a value such that when divided by the multipleOf, the remainder must be an integer. Ignored if the value is 0.
*
* @return the multiplier constraint of the schema
**/
double multipleOf() default 0;
/**
* Sets the maximum numeric value for a property. Ignored if the value is an empty string.
*
* @return the maximum value for this schema
**/
String maximum() default "";
/**
* if true, makes the maximum value exclusive, or a less-than criteria.
*
* @return the exclusive maximum value for this schema
**/
boolean exclusiveMaximum() default false;
/**
* Sets the minimum numeric value for a property. Ignored if the value is an empty string or not a number.
*
* @return the minimum value for this schema
**/
String minimum() default "";
/**
* If true, makes the minimum value exclusive, or a greater-than criteria.
*
* @return the exclusive minimum value for this schema
**/
boolean exclusiveMinimum() default false;
/**
* Sets the maximum length of a string value. Ignored if the value is negative.
*
* @return the maximum length of this schema
**/
int maxLength() default Integer.MAX_VALUE;
/**
* Sets the minimum length of a string value. Ignored if the value is negative.
*
* @return the minimum length of this schema
**/
int minLength() default 0;
/**
* A pattern that the value must satisfy. Ignored if the value is an empty string.
*
* @return the pattern of this schema
**/
String pattern() default "";
/**
* Constrains the number of arbitrary properties when additionalProperties is defined. Ignored if value is 0.
*
* @return the maximum number of properties for this schema
**/
int maxProperties() default 0;
/**
* Constrains the number of arbitrary properties when additionalProperties is defined. Ignored if value is 0.
*
* @return the minimum number of properties for this schema
**/
int minProperties() default 0;
/**
* Allows multiple properties in an object to be marked as required.
*
* @return the list of required schema properties
**/
String[] requiredProperties() default {};
/**
* Mandates that the annotated item is required or not.
*
* @deprecated since 2.2.5, replaced by {@link #requiredMode()}
*
* @return whether this schema is required
**/
@Deprecated
boolean required() default false;
/**
* Allows to specify the required mode (RequiredMode.AUTO, REQUIRED, NOT_REQUIRED)
* RequiredMode.AUTO: the library decides using heuristics:
* - Bean Validation / nullability annotations (@NotNull, @NonNull, @NotBlank, @NotEmpty) - required
* - Optional - not required
* - Primitive types (int, boolean, etc.) - not required unless annotated
* - Other object fields without any constraints - not required
* RequiredMode.REQUIRED: will force the item to be considered as required regardless of heuristics.
* RequiredMode.NOT_REQUIRED: will force the item to be considered as not required regardless of heuristics.
*
* @since 2.2.5
* @return the requiredMode for this schema (property)
*
*/
RequiredMode requiredMode() default RequiredMode.AUTO;
/**
* A description of the schema.
*
* @return the schema's description
**/
String description() default "";
/**
* Provides an optional override for the format. If a consumer is unaware of the meaning of the format, they shall fall back to using the basic type without format. For example, if \"type: integer, format: int128\" were used to designate a very large integer, most consumers will not understand how to handle it, and fall back to simply \"type: integer\"
*
* @return the schema's format
**/
String format() default "";
/**
* References a schema definition in an external OpenAPI document.
*
* @return a reference to this schema
**/
String ref() default "";
/**
* If true, designates a value as possibly null.
*
* @return whether or not this schema is nullable
**/
boolean nullable() default false;
/**
* Sets whether the value should only be read during a response but not read to during a request.
*
* @deprecated As of 2.0.0, replaced by {@link #accessMode()}
*
* @return whether or not this schema is read only
*
**/
@Deprecated
boolean readOnly() default false;
/**
* Sets whether a value should only be written to during a request but not returned during a response.
*
* @deprecated As of 2.0.0, replaced by {@link #accessMode()}
*
* @return whether or not this schema is write only
**/
@Deprecated
boolean writeOnly() default false;
/**
* Allows to specify the access mode (AccessMode.READ_ONLY, WRITE_ONLY, READ_WRITE)
*
* AccessMode.READ_ONLY: value will not be written to during a request but may be returned during a response.
* AccessMode.WRITE_ONLY: value will only be written to during a request but not returned during a response.
* AccessMode.READ_WRITE: value will be written to during a request and returned during a response.
*
* @return the accessMode for this schema (property)
*
*/
AccessMode accessMode() default AccessMode.AUTO;
/**
* Provides an example of the schema. When associated with a specific media type, the example string shall be parsed by the consumer to be treated as an object or an array.
*
* @return an example of this schema
**/
String example() default "";
/**
* Additional external documentation for this schema.
*
* @return additional schema documentation
**/
ExternalDocumentation externalDocs() default @ExternalDocumentation();
/**
* Specifies that a schema is deprecated and should be transitioned out of usage.
*
* @return whether or not this schema is deprecated
**/
boolean deprecated() default false;
/**
* Provides an override for the basic type of the schema. Must be a valid type per the OpenAPI Specification.
*
* @return the type of this schema
**/
String type() default "";
/**
* Provides a list of allowable values. This field map to the enum property in the OAS schema.
*
* @return a list of allowed schema values
*/
String[] allowableValues() default {};
/**
* Provides a default value.
*
* @return the default value of this schema
*/
String defaultValue() default DEFAULT_SENTINEL;
/**
* Provides a discriminator property value.
*
* @return the discriminator property
*/
String discriminatorProperty() default "";
/**
* Provides discriminator mapping values.
*
* @return the discriminator mappings
*/
DiscriminatorMapping[] discriminatorMapping() default {};
/**
* Allows schema to be marked as hidden.
*
* @return whether or not this schema is hidden
*/
boolean hidden() default false;
/**
* Allows enums to be resolved as a reference to a scheme added to components section.
*
* @since 2.1.0
* @return whether or not this must be resolved as a reference
*/
boolean enumAsRef() default false;
/**
* An array of the sub types inheriting from this model.
*/
Class<?>[] subTypes() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* List of optional items positionally defines before normal items.
* @return optional array of items
*/
Class<?>[] prefixItems() default {};
/**
* List of schema types
*
* @since 2.2.12 / OpenAPI 3.1
* @return array of types
*/
@OpenAPI31
String[] types() default {};
/**
* @since 2.2.12 / OpenAPI 3.1
*
* OAS 3.1 version of `exclusiveMaximum`, accepting a numeric value
*
* @return the exclusive maximum value for this schema
**/
@OpenAPI31
int exclusiveMaximumValue() default 0;
/**
* Provides an exclusive minimum for a expressing exclusive range.
*
* @since 2.2.12 / OpenAPI 3.1
* @return an exclusive minimum.
*/
@OpenAPI31
int exclusiveMinimumValue() default 0;
/**
* Specifies contains constrictions expressions.
* @return contains expression.
*/
@OpenAPI31
Class<?> contains() default Void.class;
/**
* Provides the $id related to this schema.
*
* @since 2.2.12 / OpenAPI 3.1
* @return the $id of schema
*/
@OpenAPI31
String $id() default "";
/**
* Provides Json Schema dialect where the schema is valid.
*
* @since 2.2.12 / OpenAPI 3.1
* @return json schema dialect
*/
@OpenAPI31
String $schema() default "";
/**
* Provides the $anchor related to schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return $anchor schema
*/
@OpenAPI31
String $anchor() default "";
/**
* Provides the $vocabulary related to schema
*
* @since 2.2.14 / OpenAPI 3.1
* @return $vocabulary schema
*/
@OpenAPI31
String $vocabulary() default "";
/**
* Provides the $dynamicAnchor related to schema
*
* @since 2.2.14 / OpenAPI 3.1
* @return $dynamicAnchor schema
*/
@OpenAPI31
String $dynamicAnchor() default "";
/**
* Provides the $dynamicRef related to schema
*
* @since 2.2.32 / OpenAPI 3.1
* @return $dynamicRef schema
*/
@OpenAPI31
String $dynamicRef() default "";
/**
* Provides the content encoding related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return content encoding
*/
@OpenAPI31
String contentEncoding() default "";
/**
* Provides the content media type related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return content media type
*/
@OpenAPI31
String contentMediaType() default "";
/**
* Provides the content schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return content schema
*/
@OpenAPI31
Class<?> contentSchema() default Void.class;
/**
* Provides property names related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return property names
*/
@OpenAPI31
Class<?> propertyNames() default Void.class;
/**
* Provides max contains related to this schema
* @return max contains
*/
@OpenAPI31
int maxContains() default Integer.MAX_VALUE;
/**
* Provides min contains related to this schema
* @return min contains
*/
@OpenAPI31
int minContains() default 0;
/**
* Provides a list of additional items
* @return additional items
*/
Class<?> additionalItems() default Void.class;
/**
* Provides a list of unevaluated items
* @return unevaluated items
*/
Class<?> unevaluatedItems() default Void.class;
/**
* Provides the if sub schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return if sub schema
*/
@OpenAPI31
Class<?> _if() default Void.class;
/**
* Provides the else sub schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return else sub schema
*/
@OpenAPI31
Class<?> _else() default Void.class;
/**
* Provides the then sub schema related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return then sub schema
*/
@OpenAPI31
Class<?> then() default Void.class;
/**
* Provides $comment related to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return $comment related to schema
*/
@OpenAPI31
String $comment() default "";
/**
* Provides a list of examples related to this schema
* @return list of examples
*/
Class<?>[] exampleClasses() default {};
/**
* Allows to specify the additionalProperties value
*
* AdditionalPropertiesValue.TRUE: set to TRUE
* AdditionalPropertiesValue.FALSE: set to FALSE
* AdditionalPropertiesValue.USE_ADDITIONAL_PROPERTIES_ANNOTATION: resolve from @Content.additionalPropertiesSchema
* or @Schema.additionalPropertiesSchema
*
* @since 2.2.0
* @return the accessMode for this schema (property)
*
*/
AdditionalPropertiesValue additionalProperties() default AdditionalPropertiesValue.USE_ADDITIONAL_PROPERTIES_ANNOTATION;
enum AccessMode {
AUTO,
READ_ONLY,
WRITE_ONLY,
READ_WRITE;
}
enum AdditionalPropertiesValue {
TRUE,
FALSE,
USE_ADDITIONAL_PROPERTIES_ANNOTATION;
}
enum RequiredMode {
AUTO,
REQUIRED,
NOT_REQUIRED;
}
enum SchemaResolution {
AUTO,
DEFAULT,
INLINE,
ALL_OF,
ALL_OF_REF;
}
/**
* Allows to specify the dependentRequired value
**
* @since 2.2.12 / OpenAPI 3.1
* @return the list of DependentRequire annotations
*
*/
@OpenAPI31
DependentRequired[] dependentRequiredMap() default {};
/**
* Allows to specify the dependentSchemas value providing a Class to be resolved into a Schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return the list of dependentSchemas annotations
*
*/
@OpenAPI31
StringToClassMapItem[] dependentSchemas() default {};
/**
* Provides pattern properties to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return pattern properties
*/
@OpenAPI31
StringToClassMapItem[] patternProperties() default {};
/**
* Provides properties related to this schema
*
* @return schema properties
*/
StringToClassMapItem[] properties() default {};
/**
* Provides unevaluated properties to this schema
*
* @since 2.2.12 / OpenAPI 3.1
* @return unevaluated properties
*/
@OpenAPI31
Class<?> unevaluatedProperties() default Void.class;
Class<?> additionalPropertiesSchema() default Void.class;
/**
* Provides an array of examples of the schema. When associated with a specific media type, the example string shall be parsed by the consumer to be treated as an object or an array.
*
* @return an array of examples of this schema
**/
@OpenAPI31
String[] examples() default {};
/**
* Provides value restricted to this schema.
*
* @since 2.2.12 / OpenAPI 3.1
* @return const value
*/
@OpenAPI31
String _const() default "";
/**
* Allows to specify the schema resolution mode for object schemas
*
* SchemaResolution.DEFAULT: bundled into components/schemas, $ref with no siblings
* SchemaResolution.INLINE: inline schema, no $ref
* SchemaResolution.ALL_OF: bundled into components/schemas, $ref and any context annotation resolution into allOf
* SchemaResolution.ALL_OF_REF: bundled into components/schemas, $ref into allOf, context annotation resolution into root
*
* @return the schema resolution mode for this schema
*
*/
SchemaResolution schemaResolution() default SchemaResolution.AUTO;
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/SchemaProperties.java
================================================
package io.swagger.v3.oas.annotations.media;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link SchemaProperty} annotation
*
* @see SchemaProperty
*/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SchemaProperties {
/**
* An array of SchemaProperty annotations
*
* @return the array of the SchemaProperty
**/
SchemaProperty[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/SchemaProperty.java
================================================
package io.swagger.v3.oas.annotations.media;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation may be used to define properties for an Object Schema
*
* @see Schema
*
* @since 2.1.8
**/
@Target({FIELD, METHOD, PARAMETER, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Repeatable(SchemaProperties.class)
public @interface SchemaProperty {
/**
* The name.
*
* @return the name
**/
String name() default "";
/**
* The schema of the property.
*
* @return the schema
**/
Schema schema() default @Schema();
/**
* The schema of the array.
*
* @return the schema of the array
*/
ArraySchema array() default @ArraySchema();
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/parameters/RequestBody.java
================================================
package io.swagger.v3.oas.annotations.parameters;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.media.Content;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
/**
* The annotation may be used on a method parameter to define it as the Request Body of the operation, and/or to define
* additional properties for such request body.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#request-body-object">Request Body (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.Parameter
* @see Content
**/
@Target({METHOD, PARAMETER, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface RequestBody {
/**
* A brief description of the request body.
*
* @return description of the request body
**/
String description() default "";
/**
* The content of the request body.
*
* @return array of content
**/
Content[] content() default {};
/**
* Determines if the request body is required in the request. Defaults to false.
*
* @return boolean
**/
boolean required() default false;
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a RequestBody defined in components RequestBodies.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
/**
* Set to true to resolve the request body schema from parameter type
*
* @since 2.2.15
**/
boolean useParameterTypeSchema() default false;
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/parameters/ValidatedParameter.java
================================================
package io.swagger.v3.oas.annotations.parameters;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Variant of JSR-303's jakarta.validation.Valid, supporting the
* specification of validation groups.
**/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidatedParameter {
Class<?>[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/responses/ApiResponse.java
================================================
package io.swagger.v3.oas.annotations.responses;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.headers.Header;
import io.swagger.v3.oas.annotations.links.Link;
import io.swagger.v3.oas.annotations.media.Content;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation may be used at method level or as field of {@link io.swagger.v3.oas.annotations.Operation} to define one or more responses of the
* Operation.
*
* <p>swagger-jaxrs2 reader engine considers this annotation along with method return type and context as input to
* resolve the OpenAPI Operation responses.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#response-object">Response (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.Operation
**/
@Target({METHOD, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Repeatable(ApiResponses.class)
public @interface ApiResponse {
/**
* A short description of the response.
*
* @return description of the response
**/
String description() default "";
/**
* The HTTP response code, or 'default', for the supplied response. May only have 1 default entry.
*
* @return response code
**/
String responseCode() default "default";
/**
* An array of response headers. Allows additional information to be included with response.
*
* @return array of headers
**/
Header[] headers() default {};
/**
* An array of operation links that can be followed from the response.
*
* @return array of links
**/
Link[] links() default {};
/**
* An array containing descriptions of potential response payloads, for different media types.
*
* @return array of content
**/
Content[] content() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a response defined in components responses.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
/**
* Set to true to resolve the response schema from method return type
*
* @since 2.2.0
**/
boolean useReturnTypeSchema() default false;
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/responses/ApiResponses.java
================================================
package io.swagger.v3.oas.annotations.responses;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link ApiResponse} annotation
*
* @see ApiResponse
*/
@Target({METHOD, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ApiResponses {
/**
* An array of ApiResponse annotations
*
* @return the array of the ApiResponse
**/
ApiResponse[] value() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/responses/FailedApiResponse.java
================================================
package io.swagger.v3.oas.annotations.responses;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.media.Content;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* A meta-annotation that bundles common error response definitions for API operations.
* <p>
* Includes default definitions for:
* <ul>
* <li>400 Bad Request</li>
* <li>401 Unauthorized</li>
* <li>403 Forbidden</li>
* <li>404 Not Found</li>
* <li>429 Too Many Requests</li>
* <li>500 Internal Server Error</li>
* <li>503 Service Unavailable</li>
* </ul>
* Can be used at type level to apply to all operations in a controller,
* or at method level for individual operations.
*
* @see ApiResponse
* @see ApiResponses
* @since 2.2.32
*/
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@ApiResponse(responseCode = "400", description = "Bad Request", content = @Content)
@ApiResponse(responseCode = "401", description = "Unauthorized", content = @Content)
@ApiResponse(responseCode = "403", description = "Forbidden", content = @Content)
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content)
@ApiResponse(responseCode = "429", description = "Too Many Requests", content = @Content)
@ApiResponse(responseCode = "500", description = "Internal Server Error", content = @Content)
@ApiResponse(responseCode = "503", description = "Service Unavailable", content = @Content)
public @interface FailedApiResponse {
/**
* A reference to a response definition in components responses.
*
* @return the reference
* @since 2.2.32
*/
String ref() default "";
/**
* The list of optional extensions.
*
* @return an optional array of extensions
* @since 2.2.32
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/OAuthFlow.java
================================================
package io.swagger.v3.oas.annotations.security;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Configuration details for a supported OAuth Flow.
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface OAuthFlow {
/**
* The authorization URL to be used for this flow. This must be in the form of a URL. Applies to oauth2 ("implicit", "authorizationCode") type.
*
* @return the authorization url
**/
String authorizationUrl() default "";
/**
* The token URL to be used for this flow. This must be in the form of a URL. Applies to oauth2 ("password", "clientCredentials", "authorizationCode") type.
*
* @return the token url
**/
String tokenUrl() default "";
/**
* The URL to be used for obtaining refresh tokens. This must be in the form of a URL. Applies to oauth2 type.
*
* @return the refresh url
**/
String refreshUrl() default "";
/**
* The available scopes for the OAuth2 security scheme. Applies to oauth2 type.
*
* @return array of scopes
**/
OAuthScope[] scopes() default {};
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/OAuthFlows.java
================================================
package io.swagger.v3.oas.annotations.security;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Allows configuration of the supported OAuth Flows.
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface OAuthFlows {
/**
* Configuration for the OAuth Implicit flow.
*
* @return OAuthFlow implicit
**/
OAuthFlow implicit() default @OAuthFlow();
/**
* Configuration for the OAuth Resource Owner Password flow.
*
* @return OAuthFlow password
**/
OAuthFlow password() default @OAuthFlow();
/**
* Configuration for the OAuth Client Credentials flow.
*
* @return OAuthFlow clientCredentials
**/
OAuthFlow clientCredentials() default @OAuthFlow();
/**
* Configuration for the OAuth Authorization Code flow.
*
* @return OAuthFloe authorizationCode
**/
OAuthFlow authorizationCode() default @OAuthFlow();
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/OAuthScope.java
================================================
package io.swagger.v3.oas.annotations.security;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Represents an OAuth scope.
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface OAuthScope {
/**
* Name of the scope.
*
* @return String name
*/
String name() default "";
/**
* Short description of the scope.
*
* @return String description
*/
String description() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityRequirement.java
================================================
package io.swagger.v3.oas.annotations.security;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* The annotation may be applied at class or method level, or in {@link io.swagger.v3.oas.annotations.Operation#security()} to define security requirements for the
* single operation (when applied at method level) or for all operations of a class (when applied at class level).
* <p>It can also be used in {@link io.swagger.v3.oas.annotations.OpenAPIDefinition#security()} to define spec level security.</p>
* <p>{@link SecurityRequirement#combine()} can be used to define multiple security requirements at the same time, requiring each one of them.
* If only one of multiple security schemes is required, use multiple {@link SecurityRequirement} annotations.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-requirement-object">Security Requirement (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.OpenAPIDefinition
* @see io.swagger.v3.oas.annotations.Operation
**/
@Target({METHOD, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(SecurityRequirements.class)
@Inherited
public @interface SecurityRequirement {
/**
* This name must correspond to a declared SecurityRequirement.
* <p>Exactly one of this and {@link #combine()} must be set.</p>
*
* @return String name
*/
String name() default "";
/**
* If the security scheme is of type "oauth2" or "openIdConnect", then the value is a list of scope names required for the execution.
* For other security scheme types, the array must be empty.
*
* @return String array of scopes
*/
String[] scopes() default {};
/**
* If multiple requirements apply at the same time, use this value instead of {@link #name()} and {@link #scopes()}.
* If any one of multiple security schemes is required, use multiple {@link SecurityRequirement} annotations instead.
* <p>Exactly one of this and {@link #name()} must be set.</p>
*
* @return SecurityRequirementEntry array of requirements
*/
SecurityRequirementEntry[] combine() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityRequirementEntry.java
================================================
package io.swagger.v3.oas.annotations.security;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The annotation may be applied in {@link SecurityRequirement#combine()} to define combined security requirements for the
* single operation.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-requirement-object">Security Requirement (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.security.SecurityRequirement
**/
@Target({ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface SecurityRequirementEntry {
/**
* This name must correspond to a declared SecurityRequirement.
*
* @return String name
*/
String name();
/**
* If the security scheme is of type "oauth2" or "openIdConnect", then the value is a list of scope names required for the execution.
* For other security scheme types, the array must be empty.
*
* @return String array of scopes
*/
String[] scopes() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityRequirements.java
================================================
package io.swagger.v3.oas.annotations.security;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* Container for repeatable {@link SecurityRequirement} annotation
*
* @see SecurityRequirement
*/
@Target({METHOD, TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SecurityRequirements {
/**
* An array of SecurityRequirement annotations
*
* @return the array of the SecurityRequirement
**/
SecurityRequirement[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityScheme.java
================================================
package io.swagger.v3.oas.annotations.security;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
/**
* The annotation may be used at class level (also on multiple classes) to add securitySchemes to spec
* components section.
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-scheme-object">Security Scheme (OpenAPI specification)</a>
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#components-object">Components (OpenAPI specification)</a>
**/
@Target({TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(SecuritySchemes.class)
@Inherited
public @interface SecurityScheme {
/**
* The type of the security scheme. Valid values are "apiKey", "http", "oauth2", "openIdConnect".
*
* @return String type
**/
SecuritySchemeType type();
/**
* The name identifying this security scheme
*
* @return String name
**/
String name() default "";
/**
* A short description for security scheme. CommonMark syntax can be used for rich text representation.
*
* @return String description
**/
String description() default "";
/**
* The name of the header or query parameter to be used. Applies to apiKey type.
* Maps to "name" property of <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-scheme-object">Security Scheme (OpenAPI specification)</a>
*
* @return String paramName
**/
String paramName() default "";
/**
* The location of the API key. Valid values are "query" or "header". Applies to apiKey type.
*
* @return String in
**/
SecuritySchemeIn in() default SecuritySchemeIn.DEFAULT;
/**
* The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC 7235. Applies to http type.
*
* @return String scheme
**/
String scheme() default "";
/**
* A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an
* authorization server, so this information is primarily for documentation purposes. Applies to http ("bearer") type.
*
* @return String bearerFormat
**/
String bearerFormat() default "";
/**
* Required. An object containing configuration information for the flow types supported. Applies to oauth2 type.
*
* @return OAuthFlows flows
**/
OAuthFlows flows() default @OAuthFlows;
/**
* Required. OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of a URL. Applies to openIdConnect.
*
* @return String openIdConnectUrl
**/
String openIdConnectUrl() default "";
/**
* The list of optional extensions
*
* @return an optional array of extensions
*/
Extension[] extensions() default {};
/**
* A reference to a SecurityScheme defined in components securitySchemes.
*
* @since 2.0.3
* @return the reference
**/
String ref() default "";
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecuritySchemes.java
================================================
package io.swagger.v3.oas.annotations.security;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
/**
* Container for repeatable {@link SecurityScheme} annotation
*
* @see SecurityScheme
*/
@Target({TYPE, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SecuritySchemes {
/**
* An array of SecurityScheme annotations
*
* @return the array of the SecurityScheme
**/
SecurityScheme[] value() default {};
}
================================================
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/servers/Server.java
================================================
package io.swagger.v3.oas.annotations.servers;
import io.swagger.v3.oas.annotations.extensions.Extension;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.METHOD;
/**
* The annotation may be applied at class or method level, or in {@link io.swagger.v3.oas.annotations.Operation#servers()} to define servers for the
* single operation (when applied at method level) or for all operations of a class (when applied at class level).
* <p>It can also be used in {@link io.swagger.v3.oas.annotations.OpenAPIDefinition#servers()} to define spec level servers.</p>
*
* @see <a target="_new" href="https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#server-object">Server (OpenAPI specification)</a>
* @see io.swagger.v3.oas.annotations.OpenAPIDefinition
* @see io.swagger.v3.oas.annotations.Operation
**/
@Target({METHOD, TYPE, ANNOTATION_TYPE})
gitextract_wy3hqqbl/ ├── .github/ │ ├── ISSUE_TEMPLATE/ │ │ ├── 01_bug_report.md │ │ ├── 02_question.md │ │ └── 03_feature_request.md │ ├── dependabot.yml │ ├── pull_request_template.md │ ├── topissuebot.yml │ └── workflows/ │ ├── codeql-analysis.yml │ ├── dependency-review.yml │ ├── maven-pulls.yml │ ├── maven-v1-pulls.yml │ ├── maven-v1.yml │ ├── maven.yml │ ├── prepare-release.yml │ └── release.yml ├── .gitignore ├── .mvn/ │ └── wrapper/ │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── .whitesource ├── CI/ │ ├── CI.md │ ├── ghApiClient.py │ ├── lastRelease.py │ ├── post-release.sh │ ├── pre-release.sh │ ├── prepare-javadocs.sh │ ├── prepare-release.sh │ ├── publish-javadocs.sh │ ├── publishRelease.py │ ├── releaseNotes.py │ ├── test.py │ ├── update-v1-readme.sh │ └── update-wiki.sh ├── LICENSE ├── NOTICE ├── README.md ├── modules/ │ ├── swagger-annotations/ │ │ ├── .gitignore │ │ ├── pom.xml │ │ └── src/ │ │ └── main/ │ │ └── java/ │ │ └── io/ │ │ └── swagger/ │ │ └── v3/ │ │ └── oas/ │ │ └── annotations/ │ │ ├── ExternalDocumentation.java │ │ ├── Hidden.java │ │ ├── OpenAPI31.java │ │ ├── OpenAPIDefinition.java │ │ ├── Operation.java │ │ ├── Parameter.java │ │ ├── Parameters.java │ │ ├── StringToClassMapItem.java │ │ ├── Webhook.java │ │ ├── Webhooks.java │ │ ├── callbacks/ │ │ │ ├── Callback.java │ │ │ └── Callbacks.java │ │ ├── enums/ │ │ │ ├── Explode.java │ │ │ ├── ParameterIn.java │ │ │ ├── ParameterStyle.java │ │ │ ├── SecuritySchemeIn.java │ │ │ └── SecuritySchemeType.java │ │ ├── extensions/ │ │ │ ├── Extension.java │ │ │ ├── ExtensionProperty.java │ │ │ └── Extensions.java │ │ ├── headers/ │ │ │ └── Header.java │ │ ├── info/ │ │ │ ├── Contact.java │ │ │ ├── Info.java │ │ │ └── License.java │ │ ├── links/ │ │ │ ├── Link.java │ │ │ └── LinkParameter.java │ │ ├── media/ │ │ │ ├── ArraySchema.java │ │ │ ├── Content.java │ │ │ ├── DependentRequired.java │ │ │ ├── DependentRequiredMap.java │ │ │ ├── DependentSchema.java │ │ │ ├── DependentSchemas.java │ │ │ ├── DiscriminatorMapping.java │ │ │ ├── Encoding.java │ │ │ ├── ExampleObject.java │ │ │ ├── PatternProperties.java │ │ │ ├── PatternProperty.java │ │ │ ├── Schema.java │ │ │ ├── SchemaProperties.java │ │ │ └── SchemaProperty.java │ │ ├── parameters/ │ │ │ ├── RequestBody.java │ │ │ └── ValidatedParameter.java │ │ ├── responses/ │ │ │ ├── ApiResponse.java │ │ │ ├── ApiResponses.java │ │ │ └── FailedApiResponse.java │ │ ├── security/ │ │ │ ├── OAuthFlow.java │ │ │ ├── OAuthFlows.java │ │ │ ├── OAuthScope.java │ │ │ ├── SecurityRequirement.java │ │ │ ├── SecurityRequirementEntry.java │ │ │ ├── SecurityRequirements.java │ │ │ ├── SecurityScheme.java │ │ │ └── SecuritySchemes.java │ │ ├── servers/ │ │ │ ├── Server.java │ │ │ ├── ServerVariable.java │ │ │ └── Servers.java │ │ └── tags/ │ │ ├── Tag.java │ │ └── Tags.java │ ├── swagger-core/ │ │ ├── pom.xml │ │ └── src/ │ │ ├── main/ │ │ │ └── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── core/ │ │ │ ├── converter/ │ │ │ │ ├── AnnotatedType.java │ │ │ │ ├── ModelConverter.java │ │ │ │ ├── ModelConverterContext.java │ │ │ │ ├── ModelConverterContextImpl.java │ │ │ │ ├── ModelConverters.java │ │ │ │ └── ResolvedSchema.java │ │ │ ├── filter/ │ │ │ │ ├── AbstractSpecFilter.java │ │ │ │ ├── OpenAPI31SpecFilter.java │ │ │ │ ├── OpenAPISpecFilter.java │ │ │ │ └── SpecFilter.java │ │ │ ├── jackson/ │ │ │ │ ├── AbstractModelConverter.java │ │ │ │ ├── ApiResponsesSerializer.java │ │ │ │ ├── CallbackSerializer.java │ │ │ │ ├── ExampleSerializer.java │ │ │ │ ├── JAXBAnnotationsHelper.java │ │ │ │ ├── MediaTypeSerializer.java │ │ │ │ ├── ModelResolver.java │ │ │ │ ├── PackageVersion.java │ │ │ │ ├── PathsSerializer.java │ │ │ │ ├── Schema31Serializer.java │ │ │ │ ├── SchemaSerializer.java │ │ │ │ ├── SwaggerAnnotationIntrospector.java │ │ │ │ ├── SwaggerModule.java │ │ │ │ ├── TypeNameResolver.java │ │ │ │ └── mixin/ │ │ │ │ ├── Components31Mixin.java │ │ │ │ ├── ComponentsMixin.java │ │ │ │ ├── DateSchemaMixin.java │ │ │ │ ├── Discriminator31Mixin.java │ │ │ │ ├── DiscriminatorMixin.java │ │ │ │ ├── ExampleMixin.java │ │ │ │ ├── ExtensionsMixin.java │ │ │ │ ├── Info31Mixin.java │ │ │ │ ├── InfoMixin.java │ │ │ │ ├── LicenseMixin.java │ │ │ │ ├── MediaTypeMixin.java │ │ │ │ ├── OpenAPI31Mixin.java │ │ │ │ ├── OpenAPIMixin.java │ │ │ │ ├── OperationMixin.java │ │ │ │ ├── Schema31Mixin.java │ │ │ │ ├── SchemaConverterMixin.java │ │ │ │ └── SchemaMixin.java │ │ │ ├── model/ │ │ │ │ └── ApiDescription.java │ │ │ └── util/ │ │ │ ├── AnnotationsUtils.java │ │ │ ├── ApiResponses31Deserializer.java │ │ │ ├── ApiResponsesDeserializer.java │ │ │ ├── Callback31Deserializer.java │ │ │ ├── CallbackDeserializer.java │ │ │ ├── Configuration.java │ │ │ ├── Constants.java │ │ │ ├── DeserializationModule.java │ │ │ ├── DeserializationModule31.java │ │ │ ├── EncodingPropertyStyleEnumDeserializer.java │ │ │ ├── EncodingStyleEnumDeserializer.java │ │ │ ├── HeaderStyleEnumDeserializer.java │ │ │ ├── Json.java │ │ │ ├── Json31.java │ │ │ ├── KotlinDetector.java │ │ │ ├── Model31Deserializer.java │ │ │ ├── ModelDeserializer.java │ │ │ ├── ObjectMapperFactory.java │ │ │ ├── OpenAPI30To31.java │ │ │ ├── OpenAPI31Deserializer.java │ │ │ ├── OpenAPISchema2JsonSchema.java │ │ │ ├── Parameter31Deserializer.java │ │ │ ├── ParameterDeserializer.java │ │ │ ├── ParameterProcessor.java │ │ │ ├── PathUtils.java │ │ │ ├── Paths31Deserializer.java │ │ │ ├── PathsDeserializer.java │ │ │ ├── PrettyPrintHelper.java │ │ │ ├── PrimitiveType.java │ │ │ ├── RefUtils.java │ │ │ ├── ReferenceTypeUtils.java │ │ │ ├── ReflectionUtils.java │ │ │ ├── SchemaTypeUtils.java │ │ │ ├── SecurityScheme31Deserializer.java │ │ │ ├── SecuritySchemeDeserializer.java │ │ │ ├── SiblingAnnotationFilter.java │ │ │ ├── ValidationAnnotationsUtils.java │ │ │ ├── ValidatorProcessor.java │ │ │ ├── Yaml.java │ │ │ └── Yaml31.java │ │ └── test/ │ │ ├── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── core/ │ │ │ ├── converting/ │ │ │ │ ├── AnnotatedTypeCachingTest.java │ │ │ │ ├── AnnotatedTypeTest.java │ │ │ │ ├── ArrayOfSubclassTest.java │ │ │ │ ├── ByteConverterTest.java │ │ │ │ ├── CompositionTest.java │ │ │ │ ├── CovariantGetterTest.java │ │ │ │ ├── EnumPropertyTest.java │ │ │ │ ├── GuavaTest.java │ │ │ │ ├── Issue5055Test.java │ │ │ │ ├── ModelConverterTest.java │ │ │ │ ├── ModelPropertyTest.java │ │ │ │ ├── NumericFormatTest.java │ │ │ │ ├── PojoTest.java │ │ │ │ ├── PolymorphicSubtypePropertyBleedTest.java │ │ │ │ ├── SwaggerSerializerTest.java │ │ │ │ └── override/ │ │ │ │ ├── CustomAnnotationConverter.java │ │ │ │ ├── CustomConverterTest.java │ │ │ │ ├── CustomResolverTest.java │ │ │ │ ├── GenericModelConverter.java │ │ │ │ ├── ModelPropertyOverrideTest.java │ │ │ │ ├── OverrideTest.java │ │ │ │ ├── SamplePropertyConverter.java │ │ │ │ ├── SamplePropertyExtendedConverter.java │ │ │ │ ├── SnakeCaseConverterTest.java │ │ │ │ └── resources/ │ │ │ │ ├── GenericModel.java │ │ │ │ └── MyCustomClass.java │ │ │ ├── deserialization/ │ │ │ │ ├── ComprehensiveOAS31ValidationTest.java │ │ │ │ ├── JsonDeserializationTest.java │ │ │ │ ├── ObjectPropertyTest.java │ │ │ │ ├── OpenAPI3_1DeserializationTest.java │ │ │ │ ├── ParameterDeSerializationTest.java │ │ │ │ ├── SchemaDeserializationTest.java │ │ │ │ └── properties/ │ │ │ │ ├── ArrayPropertyDeserializerTest.java │ │ │ │ ├── JsonPropertiesDeserializationTest.java │ │ │ │ ├── MapPropertyDeserializerTest.java │ │ │ │ └── PropertyDeserializerTest.java │ │ │ ├── filter/ │ │ │ │ ├── SpecFilterTest.java │ │ │ │ └── resources/ │ │ │ │ ├── ChangeGetOperationsFilter.java │ │ │ │ ├── InternalModelPropertiesRemoverFilter.java │ │ │ │ ├── NoCategoryRefSchemaFilter.java │ │ │ │ ├── NoGetOperationsFilter.java │ │ │ │ ├── NoOpOperationsFilter.java │ │ │ │ ├── NoOpenAPIFilter.java │ │ │ │ ├── NoParametersWithoutQueryInFilter.java │ │ │ │ ├── NoPathItemFilter.java │ │ │ │ ├── NoPetOperationsFilter.java │ │ │ │ ├── NoPetRefSchemaFilter.java │ │ │ │ ├── NoTagRefSchemaPropertyFilter.java │ │ │ │ ├── RemoveInternalParamsFilter.java │ │ │ │ ├── RemoveUnreferencedDefinitionsFilter.java │ │ │ │ └── ReplaceGetOperationsFilter.java │ │ │ ├── issues/ │ │ │ │ ├── Issue4339Test.java │ │ │ │ ├── Issue4838Test.java │ │ │ │ └── Issue5001Test.java │ │ │ ├── matchers/ │ │ │ │ └── SerializationMatchers.java │ │ │ ├── oas/ │ │ │ │ └── models/ │ │ │ │ ├── Address.java │ │ │ │ ├── ApiFirstRequiredFieldModel.java │ │ │ │ ├── BeanValidationsModel.java │ │ │ │ ├── Car.java │ │ │ │ ├── Cat.java │ │ │ │ ├── Children.java │ │ │ │ ├── ClientOptInput.java │ │ │ │ ├── Department.java │ │ │ │ ├── Employee.java │ │ │ │ ├── EmptyModel.java │ │ │ │ ├── Error.java │ │ │ │ ├── GuavaModel.java │ │ │ │ ├── Issue534.java │ │ │ │ ├── JCovariantGetter.java │ │ │ │ ├── JacksonIntegerValueEnum.java │ │ │ │ ├── JacksonIntegerValueFieldEnum.java │ │ │ │ ├── JacksonPropertyEnum.java │ │ │ │ ├── JacksonReadonlyModel.java │ │ │ │ ├── JacksonValueEnum.java │ │ │ │ ├── JacksonValueFieldEnum.java │ │ │ │ ├── JacksonValuePrivateEnum.java │ │ │ │ ├── JodaDateTimeModel.java │ │ │ │ ├── Link.java │ │ │ │ ├── Manufacturers.java │ │ │ │ ├── Model1155.java │ │ │ │ ├── Model1979.java │ │ │ │ ├── ModelExampleTest.java │ │ │ │ ├── ModelPropertyName.java │ │ │ │ ├── ModelWithAltPropertyName.java │ │ │ │ ├── ModelWithApiModel.java │ │ │ │ ├── ModelWithArrayOfSubclasses.java │ │ │ │ ├── ModelWithBooleanProperty.java │ │ │ │ ├── ModelWithEnumArray.java │ │ │ │ ├── ModelWithEnumField.java │ │ │ │ ├── ModelWithEnumProperty.java │ │ │ │ ├── ModelWithEnumRefProperty.java │ │ │ │ ├── ModelWithFormattedStrings.java │ │ │ │ ├── ModelWithJAXBAnnotations.java │ │ │ │ ├── ModelWithJacksonEnumField.java │ │ │ │ ├── ModelWithJaxBDefaultValues.java │ │ │ │ ├── ModelWithModelPropertyOverrides.java │ │ │ │ ├── ModelWithNumbers.java │ │ │ │ ├── ModelWithOffset.java │ │ │ │ ├── ModelWithPrimitiveArray.java │ │ │ │ ├── ModelWithRanges.java │ │ │ │ ├── ModelWithTuple2.java │ │ │ │ ├── Person.java │ │ │ │ ├── ReadOnlyFields.java │ │ │ │ ├── ReadOnlyModel.java │ │ │ │ ├── RequiredFields.java │ │ │ │ ├── RequiredRefFieldModel.java │ │ │ │ ├── SpecialOrderItem.java │ │ │ │ ├── TestEnum.java │ │ │ │ ├── TestSecondEnum.java │ │ │ │ ├── XmlFirstRequiredFieldModel.java │ │ │ │ ├── composition/ │ │ │ │ │ ├── AbstractBaseModelWithSubTypes.java │ │ │ │ │ ├── AbstractBaseModelWithoutFields.java │ │ │ │ │ ├── AbstractModelWithApiModel.java │ │ │ │ │ ├── Animal.java │ │ │ │ │ ├── AnimalClass.java │ │ │ │ │ ├── AnimalWithSchemaSubtypes.java │ │ │ │ │ ├── Human.java │ │ │ │ │ ├── HumanClass.java │ │ │ │ │ ├── HumanWithSchemaSubtypes.java │ │ │ │ │ ├── ModelWithFieldWithSubTypes.java │ │ │ │ │ ├── ModelWithUrlProperty.java │ │ │ │ │ ├── ModelWithValueProperty.java │ │ │ │ │ ├── Pet.java │ │ │ │ │ ├── PetClass.java │ │ │ │ │ ├── PetWithSchemaSubtypes.java │ │ │ │ │ ├── Thing1.java │ │ │ │ │ ├── Thing2.java │ │ │ │ │ └── Thing3.java │ │ │ │ └── xmltest/ │ │ │ │ ├── NestedModelWithJAXBAnnotations.java │ │ │ │ ├── SubModelWithJAXBAnnotations.java │ │ │ │ └── package-info.java │ │ │ ├── resolving/ │ │ │ │ ├── ATMTest.java │ │ │ │ ├── AllofResolvingTest.java │ │ │ │ ├── AnnotationsUtilsExtensionsTest.java │ │ │ │ ├── AnnotationsUtilsHeadersTest.java │ │ │ │ ├── BeanValidatorTest.java │ │ │ │ ├── ComplexPropertyTest.java │ │ │ │ ├── ComposedSchemaTest.java │ │ │ │ ├── CompositionSuperfluousRefTest.java │ │ │ │ ├── ContainerTest.java │ │ │ │ ├── EnumTest.java │ │ │ │ ├── HiddenFieldTest.java │ │ │ │ ├── InheritedBeanTest.java │ │ │ │ ├── InlineResolvingTest.java │ │ │ │ ├── JacksonJsonUnwrappedTest.java │ │ │ │ ├── JaxBDefaultValueTest.java │ │ │ │ ├── JodaDateTimeConverterTest.java │ │ │ │ ├── JodaLocalDateConverterTest.java │ │ │ │ ├── JodaTest.java │ │ │ │ ├── JsonPropertyTest.java │ │ │ │ ├── JsonSubTypesAndSchemaOneOfTest.java │ │ │ │ ├── JsonViewTest.java │ │ │ │ ├── ModelWithRangesTest.java │ │ │ │ ├── RequiredFieldModelTest.java │ │ │ │ ├── SimpleGenerationTest.java │ │ │ │ ├── SwaggerTestBase.java │ │ │ │ ├── Ticket2189Test.java │ │ │ │ ├── Ticket2740CyclicTest.java │ │ │ │ ├── Ticket2862SubtypeTest.java │ │ │ │ ├── Ticket2884Test.java │ │ │ │ ├── Ticket2915Test.java │ │ │ │ ├── Ticket2926Test.java │ │ │ │ ├── Ticket2972Test.java │ │ │ │ ├── Ticket2992Test.java │ │ │ │ ├── Ticket3030Test.java │ │ │ │ ├── Ticket3063Test.java │ │ │ │ ├── Ticket3197Test.java │ │ │ │ ├── Ticket3348Test.java │ │ │ │ ├── Ticket3365Test.java │ │ │ │ ├── Ticket3624Test.java │ │ │ │ ├── Ticket3697Test.java │ │ │ │ ├── Ticket3699Test.java │ │ │ │ ├── Ticket3703Test.java │ │ │ │ ├── Ticket3853Test.java │ │ │ │ ├── Ticket3904Test.java │ │ │ │ ├── Ticket4239Test.java │ │ │ │ ├── Ticket4290Test.java │ │ │ │ ├── Ticket4362Test.java │ │ │ │ ├── Ticket4474Test.java │ │ │ │ ├── Ticket4679Test.java │ │ │ │ ├── Ticket4760Test.java │ │ │ │ ├── Ticket4771Test.java │ │ │ │ ├── Ticket4800Test.java │ │ │ │ ├── Ticket4904Test.java │ │ │ │ ├── XMLGregorianCalendarTest.java │ │ │ │ ├── XMLInfoTest.java │ │ │ │ ├── XmlModelTest.java │ │ │ │ ├── resources/ │ │ │ │ │ ├── BidimensionalArray.java │ │ │ │ │ ├── InnerType.java │ │ │ │ │ ├── InnerTypeRequired.java │ │ │ │ │ ├── Issue4290.java │ │ │ │ │ ├── JacksonUnwrappedRequiredProperty.java │ │ │ │ │ ├── JsonViewObject.java │ │ │ │ │ ├── MyThing.java │ │ │ │ │ ├── TestArrayType.java │ │ │ │ │ ├── TestObject2616.java │ │ │ │ │ ├── TestObject2915.java │ │ │ │ │ ├── TestObject2972.java │ │ │ │ │ ├── TestObject2992.java │ │ │ │ │ ├── TestObject3697.java │ │ │ │ │ ├── TestObject3699.java │ │ │ │ │ ├── TestObject4715.java │ │ │ │ │ ├── TestObjectTicket2620.java │ │ │ │ │ ├── TestObjectTicket2620Subtypes.java │ │ │ │ │ ├── TestObjectTicket2900.java │ │ │ │ │ ├── TestObjectTicket4247.java │ │ │ │ │ ├── Ticket2862Model.java │ │ │ │ │ ├── Ticket2862ModelImpl.java │ │ │ │ │ ├── Ticket2884Model.java │ │ │ │ │ ├── Ticket2884ModelClass.java │ │ │ │ │ └── User2169.java │ │ │ │ └── v31/ │ │ │ │ ├── ModelResolverOAS31Test.java │ │ │ │ ├── PatternAndSchemaPropertiesTest.java │ │ │ │ ├── StreamWithArraySchemaTest.java │ │ │ │ ├── Ticket3900Test.java │ │ │ │ └── model/ │ │ │ │ ├── Address.java │ │ │ │ ├── AnnotatedArray.java │ │ │ │ ├── AnnotatedArrayProperty.java │ │ │ │ ├── AnnotatedArrayPropertyReadWrite.java │ │ │ │ ├── AnnotatedArrayPropertyWriteOnly.java │ │ │ │ ├── AnnotatedPet.java │ │ │ │ ├── AnnotatedPetSinglePatternProperty.java │ │ │ │ ├── Category.java │ │ │ │ ├── Client.java │ │ │ │ ├── CreditCard.java │ │ │ │ ├── Currency.java │ │ │ │ ├── CustomGenerator.java │ │ │ │ ├── ExtensionUser.java │ │ │ │ ├── JacksonBean.java │ │ │ │ ├── ListOfStringsBeanParam.java │ │ │ │ ├── ModelWithDependentSchema.java │ │ │ │ ├── ModelWithJsonIdentity.java │ │ │ │ ├── ModelWithJsonIdentityCyclic.java │ │ │ │ ├── ModelWithOAS31Stuff.java │ │ │ │ ├── ModelWithOAS31StuffMinimal.java │ │ │ │ ├── MultipleBaseBean.java │ │ │ │ ├── MultipleSub1Bean.java │ │ │ │ ├── MultipleSub2Bean.java │ │ │ │ ├── NotFoundModel.java │ │ │ │ ├── Pet.java │ │ │ │ ├── PostalCodeNumberPattern.java │ │ │ │ ├── PostalCodePattern.java │ │ │ │ ├── Tag.java │ │ │ │ ├── User.java │ │ │ │ └── siblings/ │ │ │ │ ├── Category.java │ │ │ │ └── Pet.java │ │ │ ├── roundtrip/ │ │ │ │ └── ComprehensiveRoundTripTest.java │ │ │ ├── serialization/ │ │ │ │ ├── ComprehensiveSerializationTest.java │ │ │ │ ├── JsonSerializationTest.java │ │ │ │ ├── ModelSerializerTest.java │ │ │ │ ├── Oas31ObjectFieldTest.java │ │ │ │ ├── OpenAPI3_1SerializationTest.java │ │ │ │ ├── ParameterSerializationTest.java │ │ │ │ ├── ResponseExamplesTest.java │ │ │ │ ├── SchemaSerializationTest.java │ │ │ │ ├── SecurityDefinitionTest.java │ │ │ │ ├── YamlSerializerTest.java │ │ │ │ ├── auth/ │ │ │ │ │ └── AuthSerializationTest.java_ │ │ │ │ └── properties/ │ │ │ │ └── PropertySerializationTest.java │ │ │ └── util/ │ │ │ ├── AnnotationsUtilsTest.java │ │ │ ├── JsonAssert.java │ │ │ ├── OutputReplacer.java │ │ │ ├── PathUtilsTest.java │ │ │ ├── ReferenceTypeUtilsTest.java │ │ │ ├── ResourceUtils.java │ │ │ ├── TestUtils.java │ │ │ ├── ValidationAnnotationsUtilsTest.java │ │ │ └── reflection/ │ │ │ ├── ReflectionUtilsTest.java │ │ │ └── resources/ │ │ │ ├── Child.java │ │ │ ├── IGrandparent.java │ │ │ ├── IParent.java │ │ │ ├── IndirectAnnotation.java │ │ │ ├── ObjectWithManyFields.java │ │ │ └── Parent.java │ │ └── resources/ │ │ ├── AbstractBaseModelWithoutFields.json │ │ ├── Animal.json │ │ ├── AnimalClass.json │ │ ├── AnimalWithSchemaSubtypes.json │ │ ├── Cat.json │ │ ├── GuavaTestModel.json │ │ ├── Human.json │ │ ├── JodaDateTimeModel.json │ │ ├── ModelWithFieldWithSubTypes.json │ │ ├── ModelWithFormattedStrings.json │ │ ├── ModelWithSecurityRequirements.json │ │ ├── Person.json │ │ ├── Pet.json │ │ ├── comprehensiveOAS31/ │ │ │ ├── comprehensive-openapi.yaml │ │ │ ├── paths/ │ │ │ │ ├── order-paths.yaml │ │ │ │ ├── pet-paths.yaml │ │ │ │ └── user-paths.yaml │ │ │ └── schemas/ │ │ │ ├── common-schemas.yaml │ │ │ ├── json-schema.yaml │ │ │ ├── order-schemas.yaml │ │ │ ├── pet-schemas.yaml │ │ │ └── user-schemas.yaml │ │ ├── converting/ │ │ │ ├── ArrayOfSubclassTest_expected30.json │ │ │ └── ArrayOfSubclassTest_expected31.json │ │ ├── dateSchema.yaml │ │ ├── json-schema-validation/ │ │ │ ├── array.json │ │ │ └── map.json │ │ ├── logback-test.xml │ │ ├── specFiles/ │ │ │ ├── 3.1.0/ │ │ │ │ ├── changelog-3.1.yaml │ │ │ │ ├── composed-schema-3.1.json │ │ │ │ ├── issue-4737-3.1.yaml │ │ │ │ ├── list-3.1.json │ │ │ │ ├── petstore-3.1.json │ │ │ │ ├── petstore-3.1.yaml │ │ │ │ ├── petstore-3.1_more.yaml │ │ │ │ ├── petstore-3.1_refs_siblings.yaml │ │ │ │ ├── petstore-3.1_sample.yaml │ │ │ │ ├── specWithDynamicRef.yaml │ │ │ │ └── specWithReferredSchemas-3.1.yaml │ │ │ ├── additionalpropsmodel.json │ │ │ ├── brokenrefmodel.json │ │ │ ├── compositionTest-3.0.json │ │ │ ├── compositionTest.json │ │ │ ├── deprecatedoperationmodel.json │ │ │ ├── jsonSerialization-expected-petstore-3.0.json │ │ │ ├── media-type-null-example.yaml │ │ │ ├── noModels.json │ │ │ ├── null-example.yaml │ │ │ ├── null-in-schema-example.yaml │ │ │ ├── oas3.yaml │ │ │ ├── oas3_2.yaml │ │ │ ├── paramAndResponseRef.json │ │ │ ├── paramAndResponseRefArray.json │ │ │ ├── paramAndResponseRefComposed.json │ │ │ ├── pathRef.json │ │ │ ├── petstore-3.0-referred-schemas.json │ │ │ ├── petstore-3.0-v2-ticket-3303.json │ │ │ ├── petstore-3.0-v2.json │ │ │ ├── petstore-3.0-v2_withoutModels.json │ │ │ ├── petstore-3.0.json │ │ │ ├── petstore-3.0.yaml │ │ │ ├── petstore.json │ │ │ ├── propertiesWithConstraints.json │ │ │ ├── propertyWithVendorExtensions.json │ │ │ ├── recursivemodels.json │ │ │ ├── responseRef.json │ │ │ ├── sampleSpec.json │ │ │ ├── securityDefinitions.json │ │ │ ├── securitySchemaWithExtension.json │ │ │ └── swos-126.yaml │ │ ├── testOAS31/ │ │ │ └── basicOAS31.yaml │ │ └── uber.json │ ├── swagger-eclipse-transformer-maven-plugin/ │ │ ├── README.md │ │ ├── pom.xml │ │ └── src/ │ │ └── main/ │ │ └── java/ │ │ └── io/ │ │ └── swagger/ │ │ └── v3/ │ │ └── oas/ │ │ └── transformer/ │ │ └── TransformMojo.java │ ├── swagger-gradle-plugin/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── build.gradle │ │ ├── gradle/ │ │ │ └── wrapper/ │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ │ ├── gradle.properties │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── settings.gradle │ │ └── src/ │ │ ├── main/ │ │ │ └── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── plugins/ │ │ │ └── gradle/ │ │ │ ├── SwaggerPlugin.java │ │ │ └── tasks/ │ │ │ └── ResolveTask.java │ │ └── test/ │ │ └── java/ │ │ └── io/ │ │ └── swagger/ │ │ └── v3/ │ │ └── plugins/ │ │ └── gradle/ │ │ ├── SwaggerResolveTest.java │ │ ├── petstore/ │ │ │ ├── EmptyPetResource.java │ │ │ ├── PetResource.java │ │ │ ├── callback/ │ │ │ │ ├── ComplexCallbackResource.java │ │ │ │ ├── MultipleCallbacksTestWithOperationResource.java │ │ │ │ ├── RepeatableCallbackResource.java │ │ │ │ └── SimpleCallbackWithOperationResource.java │ │ │ ├── example/ │ │ │ │ ├── ExamplesResource.java │ │ │ │ └── SubscriptionResponse.java │ │ │ ├── link/ │ │ │ │ └── LinksResource.java │ │ │ ├── openapidefintion/ │ │ │ │ └── OpenAPIDefinitionResource.java │ │ │ ├── operation/ │ │ │ │ ├── AnnotatedSameNameOperationResource.java │ │ │ │ ├── ExternalDocumentationResource.java │ │ │ │ ├── FullyAnnotatedOperationResource.java │ │ │ │ ├── HiddenOperationResource.java │ │ │ │ ├── InterfaceResource.java │ │ │ │ ├── NotAnnotatedSameNameOperationResource.java │ │ │ │ ├── OperationResource.java │ │ │ │ ├── OperationWithoutAnnotationResource.java │ │ │ │ ├── ServerOperationResource.java │ │ │ │ └── SubResource.java │ │ │ ├── parameter/ │ │ │ │ ├── ArraySchemaResource.java │ │ │ │ ├── ComplexParameterResource.java │ │ │ │ ├── ComplexParameterWithOperationResource.java │ │ │ │ ├── MultipleNotAnnotatedParameter.java │ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.java │ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.java │ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.java │ │ │ │ ├── ParametersResource.java │ │ │ │ ├── RepeatableParametersResource.java │ │ │ │ ├── SingleJaxRSAnnotatedParameter.java │ │ │ │ └── SingleNotAnnotatedParameter.java │ │ │ ├── requestbody/ │ │ │ │ ├── RequestBodyMethodPriorityResource.java │ │ │ │ ├── RequestBodyParameterPriorityResource.java │ │ │ │ └── RequestBodyResource.java │ │ │ ├── responses/ │ │ │ │ ├── ComplexResponseResource.java │ │ │ │ ├── ImplementationResponseResource.java │ │ │ │ ├── MethodResponseResource.java │ │ │ │ ├── NoImplementationResponseResource.java │ │ │ │ ├── NoResponseResource.java │ │ │ │ ├── OperationResponseResource.java │ │ │ │ └── PriorityResponseResource.java │ │ │ ├── security/ │ │ │ │ └── SecurityResource.java │ │ │ └── tags/ │ │ │ ├── CompleteTagResource.java │ │ │ ├── TagClassResource.java │ │ │ ├── TagMethodResource.java │ │ │ ├── TagOpenAPIDefinitionResource.java │ │ │ └── TagOperationResource.java │ │ └── resources/ │ │ ├── MyFilter.java │ │ ├── QueryResultBean.java │ │ ├── data/ │ │ │ ├── PetData.java │ │ │ └── UserData.java │ │ ├── exception/ │ │ │ ├── ApiException.java │ │ │ └── NotFoundException.java │ │ └── model/ │ │ ├── Category.java │ │ ├── CustomGenerator.java │ │ ├── ExtensionUser.java │ │ ├── JacksonBean.java │ │ ├── ListOfStringsBeanParam.java │ │ ├── ModelWithJsonIdentity.java │ │ ├── ModelWithJsonIdentityCyclic.java │ │ ├── MultipleBaseBean.java │ │ ├── MultipleSub1Bean.java │ │ ├── MultipleSub2Bean.java │ │ ├── NotFoundModel.java │ │ ├── Pet.java │ │ ├── Tag.java │ │ └── User.java │ ├── swagger-integration/ │ │ ├── pom.xml │ │ └── src/ │ │ ├── main/ │ │ │ └── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── oas/ │ │ │ └── integration/ │ │ │ ├── ClasspathOpenApiConfigurationLoader.java │ │ │ ├── ContextUtils.java │ │ │ ├── FileOpenApiConfigurationLoader.java │ │ │ ├── GenericOpenApiContext.java │ │ │ ├── GenericOpenApiContextBuilder.java │ │ │ ├── GenericOpenApiScanner.java │ │ │ ├── IgnoredPackages.java │ │ │ ├── IntegrationObjectMapperFactory.java │ │ │ ├── OpenApiConfigurationException.java │ │ │ ├── OpenApiContextLocator.java │ │ │ ├── ServiceOpenApiConfigurationLoader.java │ │ │ ├── StringOpenApiConfigurationLoader.java │ │ │ ├── SwaggerConfiguration.java │ │ │ ├── URLOpenApiConfigurationLoader.java │ │ │ └── api/ │ │ │ ├── ObjectMapperProcessor.java │ │ │ ├── OpenAPIConfigBuilder.java │ │ │ ├── OpenAPIConfiguration.java │ │ │ ├── OpenApiConfigurationLoader.java │ │ │ ├── OpenApiContext.java │ │ │ ├── OpenApiContextBuilder.java │ │ │ ├── OpenApiReader.java │ │ │ └── OpenApiScanner.java │ │ └── test/ │ │ └── java/ │ │ └── io/ │ │ └── swagger/ │ │ └── v3/ │ │ └── oas/ │ │ └── integration/ │ │ └── IntegrationTest.java │ ├── swagger-java17-support/ │ │ ├── pom.xml │ │ └── src/ │ │ └── test/ │ │ └── java/ │ │ └── io/ │ │ └── swagger/ │ │ └── v3/ │ │ └── java17/ │ │ ├── Reader/ │ │ │ ├── ReaderTest.java │ │ │ └── SchemaResolutionRecordsTest.java │ │ ├── matchers/ │ │ │ └── SerializationMatchers.java │ │ ├── resolving/ │ │ │ ├── JavaRecordTest.java │ │ │ ├── SwaggerTestBase.java │ │ │ └── v31/ │ │ │ └── ModelResolverOAS31Test.java │ │ └── resources/ │ │ ├── JavaRecordResource.java │ │ ├── JavaRecordWithPathResource.java │ │ ├── OtherJavaRecordWithPathsResource.java │ │ ├── SchemaResolutionWithRecordSimpleResource.java │ │ ├── SchemaResolutionWithRecordsResource.java │ │ └── TestControllerWithRecordResource.java │ ├── swagger-jaxrs2/ │ │ ├── pom.xml │ │ └── src/ │ │ ├── main/ │ │ │ ├── java/ │ │ │ │ └── io/ │ │ │ │ └── swagger/ │ │ │ │ └── v3/ │ │ │ │ └── jaxrs2/ │ │ │ │ ├── DefaultParameterExtension.java │ │ │ │ ├── OperationParser.java │ │ │ │ ├── Reader.java │ │ │ │ ├── ReaderListener.java │ │ │ │ ├── ResolvedParameter.java │ │ │ │ ├── SecurityParser.java │ │ │ │ ├── SwaggerSerializers.java │ │ │ │ ├── ext/ │ │ │ │ │ ├── AbstractOpenAPIExtension.java │ │ │ │ │ ├── OpenAPIExtension.java │ │ │ │ │ └── OpenAPIExtensions.java │ │ │ │ ├── integration/ │ │ │ │ │ ├── JaxrsAnnotationScanner.java │ │ │ │ │ ├── JaxrsApplicationAndAnnotationScanner.java │ │ │ │ │ ├── JaxrsApplicationAndResourcePackagesAnnotationScanner.java │ │ │ │ │ ├── JaxrsApplicationScanner.java │ │ │ │ │ ├── JaxrsOpenApiContext.java │ │ │ │ │ ├── JaxrsOpenApiContextBuilder.java │ │ │ │ │ ├── OpenApiServlet.java │ │ │ │ │ ├── ServletConfigContextUtils.java │ │ │ │ │ ├── ServletOpenApiConfigurationLoader.java │ │ │ │ │ ├── ServletOpenApiContextBuilder.java │ │ │ │ │ ├── ServletPathConfigurationLoader.java │ │ │ │ │ ├── SwaggerLoader.java │ │ │ │ │ ├── XmlWebOpenApiContext.java │ │ │ │ │ ├── api/ │ │ │ │ │ │ ├── JaxrsOpenApiScanner.java │ │ │ │ │ │ └── WebOpenApiContext.java │ │ │ │ │ └── resources/ │ │ │ │ │ ├── AcceptHeaderOpenApiResource.java │ │ │ │ │ ├── BaseOpenApiResource.java │ │ │ │ │ └── OpenApiResource.java │ │ │ │ └── util/ │ │ │ │ ├── ReaderUtils.java │ │ │ │ └── ServletUtils.java │ │ │ └── resources/ │ │ │ └── META-INF/ │ │ │ └── beans.xml │ │ └── test/ │ │ ├── java/ │ │ │ ├── com/ │ │ │ │ └── my/ │ │ │ │ ├── project/ │ │ │ │ │ └── resources/ │ │ │ │ │ └── ResourceInPackageA.java │ │ │ │ └── sorted/ │ │ │ │ └── resources/ │ │ │ │ └── SortedThing.java │ │ │ ├── io/ │ │ │ │ └── swagger/ │ │ │ │ └── v3/ │ │ │ │ └── jaxrs2/ │ │ │ │ ├── BeanParamTest.java │ │ │ │ ├── BinaryParameterResourceTest.java │ │ │ │ ├── BootstrapServlet.java │ │ │ │ ├── ContainerTypeSchemaTicket2636Test.java │ │ │ │ ├── DecoratorExtensionTest.java │ │ │ │ ├── EnumTest.java │ │ │ │ ├── FormParamBeanTest.java │ │ │ │ ├── JaxbObjectMapperFactory.java │ │ │ │ ├── JsonIdentityTest.java │ │ │ │ ├── JsonViewTest.java │ │ │ │ ├── PetResourceTest.java │ │ │ │ ├── ReaderTest.java │ │ │ │ ├── SchemaResolutionAllOfRefTest.java │ │ │ │ ├── SchemaResolutionAllOfTest.java │ │ │ │ ├── SchemaResolutionAnnotationTest.java │ │ │ │ ├── SchemaResolutionInlineTest.java │ │ │ │ ├── annotations/ │ │ │ │ │ ├── AbstractAnnotationTest.java │ │ │ │ │ ├── callbacks/ │ │ │ │ │ │ └── CallbackTest.java │ │ │ │ │ ├── definition/ │ │ │ │ │ │ └── OpenApiDefinitionTest.java │ │ │ │ │ ├── encoding/ │ │ │ │ │ │ └── EncodingTest.java │ │ │ │ │ ├── examples/ │ │ │ │ │ │ └── ExamplesTest.java │ │ │ │ │ ├── info/ │ │ │ │ │ │ └── InfoTest.java │ │ │ │ │ ├── operations/ │ │ │ │ │ │ ├── AnnotatedOperationMethodTest.java │ │ │ │ │ │ └── MergedOperationTest.java │ │ │ │ │ ├── parameters/ │ │ │ │ │ │ └── ParametersTest.java │ │ │ │ │ ├── pathItems/ │ │ │ │ │ │ └── OperationsWithLinksTest.java │ │ │ │ │ ├── readerListener/ │ │ │ │ │ │ └── ReaderListenerTest.java │ │ │ │ │ ├── requests/ │ │ │ │ │ │ └── RequestBodyTest.java │ │ │ │ │ └── security/ │ │ │ │ │ └── SecurityTest.java │ │ │ │ ├── cdi2/ │ │ │ │ │ ├── CDIAutodiscoveryTest.java │ │ │ │ │ └── DiscoveryTestExtension.java │ │ │ │ ├── integration/ │ │ │ │ │ ├── JaxrsApplicationAndAnnotationScannerTest.java │ │ │ │ │ ├── JaxrsApplicationAndResourcePackagesAnnotationScannerTest.java │ │ │ │ │ ├── JaxrsApplicationScannerTest.java │ │ │ │ │ └── SortedOutputTest.java │ │ │ │ ├── it/ │ │ │ │ │ ├── OpenApiResourceIT.java │ │ │ │ │ ├── model/ │ │ │ │ │ │ └── Widget.java │ │ │ │ │ └── resources/ │ │ │ │ │ ├── CarResource.java │ │ │ │ │ ├── MultiPartFileResource.java │ │ │ │ │ ├── OctetStreamResource.java │ │ │ │ │ ├── UrlEncodedResource.java │ │ │ │ │ └── WidgetResource.java │ │ │ │ ├── matchers/ │ │ │ │ │ └── SerializationMatchers.java │ │ │ │ ├── petstore/ │ │ │ │ │ ├── EmptyPetResource.java │ │ │ │ │ ├── PetResource.java │ │ │ │ │ ├── WebHookResource.java │ │ │ │ │ ├── callback/ │ │ │ │ │ │ ├── ComplexCallback31Resource.java │ │ │ │ │ │ ├── ComplexCallbackResource.java │ │ │ │ │ │ ├── MultipleCallbacksTestWithOperationResource.java │ │ │ │ │ │ ├── RepeatableCallbackResource.java │ │ │ │ │ │ └── SimpleCallbackWithOperationResource.java │ │ │ │ │ ├── example/ │ │ │ │ │ │ ├── ExamplesResource.java │ │ │ │ │ │ └── SubscriptionResponse.java │ │ │ │ │ ├── link/ │ │ │ │ │ │ ├── LinksAndContent31Resource.java │ │ │ │ │ │ └── LinksResource.java │ │ │ │ │ ├── openapidefintion/ │ │ │ │ │ │ ├── OpenAPI31DefinitionResource.java │ │ │ │ │ │ └── OpenAPIDefinitionResource.java │ │ │ │ │ ├── operation/ │ │ │ │ │ │ ├── AnnotatedSameNameOperationResource.java │ │ │ │ │ │ ├── ExternalDocumentationResource.java │ │ │ │ │ │ ├── FullyAnnotatedOperationResource.java │ │ │ │ │ │ ├── HiddenOperationResource.java │ │ │ │ │ │ ├── InterfaceResource.java │ │ │ │ │ │ ├── NotAnnotatedSameNameOperationResource.java │ │ │ │ │ │ ├── OperationResource.java │ │ │ │ │ │ ├── OperationWithoutAnnotationResource.java │ │ │ │ │ │ ├── ServerOperationResource.java │ │ │ │ │ │ └── SubResource.java │ │ │ │ │ ├── parameter/ │ │ │ │ │ │ ├── ArraySchemaResource.java │ │ │ │ │ │ ├── ComplexParameterResource.java │ │ │ │ │ │ ├── ComplexParameterWithOperationResource.java │ │ │ │ │ │ ├── MultipleNotAnnotatedParameter.java │ │ │ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.java │ │ │ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.java │ │ │ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.java │ │ │ │ │ │ ├── Parameters31Resource.java │ │ │ │ │ │ ├── ParametersResource.java │ │ │ │ │ │ ├── RepeatableParametersResource.java │ │ │ │ │ │ ├── SingleJaxRSAnnotatedParameter.java │ │ │ │ │ │ └── SingleNotAnnotatedParameter.java │ │ │ │ │ ├── requestbody/ │ │ │ │ │ │ ├── RequestBody31Resource.java │ │ │ │ │ │ ├── RequestBodyMethodPriorityResource.java │ │ │ │ │ │ ├── RequestBodyParameterPriorityResource.java │ │ │ │ │ │ └── RequestBodyResource.java │ │ │ │ │ ├── responses/ │ │ │ │ │ │ ├── ComplexResponseResource.java │ │ │ │ │ │ ├── ImplementationResponseResource.java │ │ │ │ │ │ ├── MethodArrayResponseResource.java │ │ │ │ │ │ ├── MethodResponseResource.java │ │ │ │ │ │ ├── NoImplementationResponseResource.java │ │ │ │ │ │ ├── NoResponseResource.java │ │ │ │ │ │ ├── OperationResponseResource.java │ │ │ │ │ │ └── PriorityResponseResource.java │ │ │ │ │ ├── security/ │ │ │ │ │ │ └── SecurityResource.java │ │ │ │ │ └── tags/ │ │ │ │ │ ├── CompleteTagResource.java │ │ │ │ │ ├── TagClassResource.java │ │ │ │ │ ├── TagMethodResource.java │ │ │ │ │ ├── TagOpenAPIDefinitionResource.java │ │ │ │ │ └── TagOperationResource.java │ │ │ │ ├── petstore31/ │ │ │ │ │ ├── Category.java │ │ │ │ │ ├── Pet.java │ │ │ │ │ ├── PetData.java │ │ │ │ │ ├── PetResource.java │ │ │ │ │ ├── SimpleCategory.java │ │ │ │ │ ├── SimpleTag.java │ │ │ │ │ ├── Tag.java │ │ │ │ │ ├── TagResource.java │ │ │ │ │ └── User.java │ │ │ │ ├── resources/ │ │ │ │ │ ├── Address.java │ │ │ │ │ ├── ArraySchemaImplementationResource.java │ │ │ │ │ ├── BasicClass.java │ │ │ │ │ ├── BasicFieldsResource.java │ │ │ │ │ ├── BinaryParameterResource.java │ │ │ │ │ ├── BookStoreTicket2646.java │ │ │ │ │ ├── ClassPathParentResource.java │ │ │ │ │ ├── ClassPathSubResource.java │ │ │ │ │ ├── Client.java │ │ │ │ │ ├── CompleteFieldsResource.java │ │ │ │ │ ├── CreditCard.java │ │ │ │ │ ├── DefaultResponseResource.java │ │ │ │ │ ├── DeprecatedFieldsResource.java │ │ │ │ │ ├── DuplicatedOperationIdResource.java │ │ │ │ │ ├── DuplicatedOperationMethodNameResource.java │ │ │ │ │ ├── DuplicatedSecurityResource.java │ │ │ │ │ ├── EnhancedResponsesResource.java │ │ │ │ │ ├── EnumParameterResource.java │ │ │ │ │ ├── ExternalDocsReference.java │ │ │ │ │ ├── GenericResponsesResource.java │ │ │ │ │ ├── HiddenAnnotatedUserResource.java │ │ │ │ │ ├── HiddenUserResource.java │ │ │ │ │ ├── JsonIdentityCyclicResource.java │ │ │ │ │ ├── JsonIdentityResource.java │ │ │ │ │ ├── Misc31Resource.java │ │ │ │ │ ├── ModelWithOAS31Stuff.java │ │ │ │ │ ├── MyClass.java │ │ │ │ │ ├── MyOtherClass.java │ │ │ │ │ ├── MySuperClass.java │ │ │ │ │ ├── NoPathSubResource.java │ │ │ │ │ ├── ParameterMaximumValueResource.java │ │ │ │ │ ├── ParametersResource.java │ │ │ │ │ ├── PetResource.java │ │ │ │ │ ├── PetResourceSlashesinPath.java │ │ │ │ │ ├── PostalCodeNumberPattern.java │ │ │ │ │ ├── PostalCodePattern.java │ │ │ │ │ ├── QueryResultBean.java │ │ │ │ │ ├── ReaderListenerResource.java │ │ │ │ │ ├── RefCallbackResource.java │ │ │ │ │ ├── RefExamplesResource.java │ │ │ │ │ ├── RefHeaderResource.java │ │ │ │ │ ├── RefLinksResource.java │ │ │ │ │ ├── RefParameter3029Resource.java │ │ │ │ │ ├── RefParameter3074Resource.java │ │ │ │ │ ├── RefParameterResource.java │ │ │ │ │ ├── RefRequestBodyResource.java │ │ │ │ │ ├── RefResponsesResource.java │ │ │ │ │ ├── RefSecurityResource.java │ │ │ │ │ ├── ResourceWithJacksonBean.java │ │ │ │ │ ├── ResourceWithKnownInjections.java │ │ │ │ │ ├── ResourceWithSubResource.java │ │ │ │ │ ├── ResponseContentWithArrayResource.java │ │ │ │ │ ├── ResponseReturnTypeResource.java │ │ │ │ │ ├── ResponsesInterface.java │ │ │ │ │ ├── ResponsesResource.java │ │ │ │ │ ├── SchemaAdditionalPropertiesBooleanResource.java │ │ │ │ │ ├── SchemaAdditionalPropertiesResource.java │ │ │ │ │ ├── SchemaPropertiesResource.java │ │ │ │ │ ├── SecurityResource.java │ │ │ │ │ ├── ServersResource.java │ │ │ │ │ ├── SiblingPropResource.java │ │ │ │ │ ├── SiblingsResource.java │ │ │ │ │ ├── SiblingsResourceRequestBody.java │ │ │ │ │ ├── SiblingsResourceRequestBodyMultiple.java │ │ │ │ │ ├── SiblingsResourceResponse.java │ │ │ │ │ ├── SiblingsResourceSimple.java │ │ │ │ │ ├── SimpleCallbackResource.java │ │ │ │ │ ├── SimpleExamplesResource.java │ │ │ │ │ ├── SimpleMethods.java │ │ │ │ │ ├── SimpleParameterResource.java │ │ │ │ │ ├── SimpleRequestBodyResource.java │ │ │ │ │ ├── SimpleResourceWithVendorAnnotation.java │ │ │ │ │ ├── SimpleResponsesResource.java │ │ │ │ │ ├── SimpleUserResource.java │ │ │ │ │ ├── SingleExampleResource.java │ │ │ │ │ ├── SubResource.java │ │ │ │ │ ├── SubResourceHead.java │ │ │ │ │ ├── SubResourceTail.java │ │ │ │ │ ├── TagsResource.java │ │ │ │ │ ├── Test2607.java │ │ │ │ │ ├── TestResource.java │ │ │ │ │ ├── TestSub2607.java │ │ │ │ │ ├── TestSubResource.java │ │ │ │ │ ├── Ticket2340Resource.java │ │ │ │ │ ├── Ticket2644AnnotatedInterface.java │ │ │ │ │ ├── Ticket2644ConcreteImplementation.java │ │ │ │ │ ├── Ticket2763Resource.java │ │ │ │ │ ├── Ticket2793Resource.java │ │ │ │ │ ├── Ticket2794Resource.java │ │ │ │ │ ├── Ticket2806Resource.java │ │ │ │ │ ├── Ticket2818Resource.java │ │ │ │ │ ├── Ticket2848Resource.java │ │ │ │ │ ├── Ticket3015Resource.java │ │ │ │ │ ├── Ticket3587Resource.java │ │ │ │ │ ├── Ticket3731BisResource.java │ │ │ │ │ ├── Ticket3731Resource.java │ │ │ │ │ ├── Ticket4065Resource.java │ │ │ │ │ ├── Ticket4341Resource.java │ │ │ │ │ ├── Ticket4412Resource.java │ │ │ │ │ ├── Ticket4446Resource.java │ │ │ │ │ ├── Ticket4483Resource.java │ │ │ │ │ ├── Ticket4804CustomClass.java │ │ │ │ │ ├── Ticket4804NotBlankResource.java │ │ │ │ │ ├── Ticket4804ProcessorResource.java │ │ │ │ │ ├── Ticket4804Resource.java │ │ │ │ │ ├── Ticket4850Resource.java │ │ │ │ │ ├── Ticket4859Resource.java │ │ │ │ │ ├── Ticket4878Resource.java │ │ │ │ │ ├── Ticket4879Resource.java │ │ │ │ │ ├── Ticket5017Resource.java │ │ │ │ │ ├── UploadRequest.java │ │ │ │ │ ├── UploadResource.java │ │ │ │ │ ├── UrlEncodedResourceWithEncodings.java │ │ │ │ │ ├── UserAnnotation.java │ │ │ │ │ ├── UserAnnotationResource.java │ │ │ │ │ ├── UserResource.java │ │ │ │ │ ├── WebHookResource.java │ │ │ │ │ ├── data/ │ │ │ │ │ │ ├── PetData.java │ │ │ │ │ │ └── UserData.java │ │ │ │ │ ├── exception/ │ │ │ │ │ │ ├── ApiException.java │ │ │ │ │ │ └── NotFoundException.java │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ ├── ExtensionsResource.java │ │ │ │ │ │ ├── OperationExtensionsResource.java │ │ │ │ │ │ ├── ParameterExtensionsResource.java │ │ │ │ │ │ └── RequestBodyExtensionsResource.java │ │ │ │ │ ├── generics/ │ │ │ │ │ │ ├── ticket2144/ │ │ │ │ │ │ │ ├── BaseDTO.java │ │ │ │ │ │ │ ├── BaseResource.java │ │ │ │ │ │ │ ├── Item.java │ │ │ │ │ │ │ ├── ItemResource.java │ │ │ │ │ │ │ └── ItemWithChildren.java │ │ │ │ │ │ ├── ticket3149/ │ │ │ │ │ │ │ ├── AggregateEndpoint.java │ │ │ │ │ │ │ ├── FirstEndpoint.java │ │ │ │ │ │ │ ├── MainResource.java │ │ │ │ │ │ │ ├── OriginalEndpoint.java │ │ │ │ │ │ │ ├── SampleDTO.java │ │ │ │ │ │ │ ├── SampleOtherDTO.java │ │ │ │ │ │ │ └── SecondEndpoint.java │ │ │ │ │ │ ├── ticket3426/ │ │ │ │ │ │ │ ├── Parent.java │ │ │ │ │ │ │ └── Ticket3426Resource.java │ │ │ │ │ │ └── ticket3694/ │ │ │ │ │ │ ├── Ticket3694Resource.java │ │ │ │ │ │ ├── Ticket3694ResourceExtendedType.java │ │ │ │ │ │ ├── Ticket3694ResourceInterface.java │ │ │ │ │ │ ├── Ticket3694ResourceInterfaceExtendedType.java │ │ │ │ │ │ ├── Ticket3694ResourceInterfaceSimple.java │ │ │ │ │ │ ├── Ticket3694ResourceInterfaceSimpleSameReturn.java │ │ │ │ │ │ ├── Ticket3694ResourceSimple.java │ │ │ │ │ │ └── Ticket3694ResourceSimpleSameReturn.java │ │ │ │ │ ├── model/ │ │ │ │ │ │ ├── Category.java │ │ │ │ │ │ ├── CustomGenerator.java │ │ │ │ │ │ ├── ExtensionUser.java │ │ │ │ │ │ ├── FormParamBean.java │ │ │ │ │ │ ├── Item.java │ │ │ │ │ │ ├── JacksonBean.java │ │ │ │ │ │ ├── ListOfStringsBeanParam.java │ │ │ │ │ │ ├── ModelWithJsonIdentity.java │ │ │ │ │ │ ├── ModelWithJsonIdentityCyclic.java │ │ │ │ │ │ ├── MultipleBaseBean.java │ │ │ │ │ │ ├── MultipleSub1Bean.java │ │ │ │ │ │ ├── MultipleSub2Bean.java │ │ │ │ │ │ ├── NestedBeanParam.java │ │ │ │ │ │ ├── NotFoundModel.java │ │ │ │ │ │ ├── Pet.java │ │ │ │ │ │ ├── Tag.java │ │ │ │ │ │ └── User.java │ │ │ │ │ ├── rs/ │ │ │ │ │ │ ├── AbstractEntityRestService.java │ │ │ │ │ │ ├── EntityRestService.java │ │ │ │ │ │ ├── PersistentDTO.java │ │ │ │ │ │ ├── ProcessTokenDTO.java │ │ │ │ │ │ └── ProcessTokenRestService.java │ │ │ │ │ ├── siblings/ │ │ │ │ │ │ ├── Category.java │ │ │ │ │ │ ├── Pet.java │ │ │ │ │ │ └── PetSimple.java │ │ │ │ │ └── ticket3624/ │ │ │ │ │ ├── Service.java │ │ │ │ │ └── model/ │ │ │ │ │ ├── ByIdResponse.java │ │ │ │ │ ├── ContainerizedResponse.java │ │ │ │ │ ├── Model.java │ │ │ │ │ ├── ModelContainer.java │ │ │ │ │ └── Response.java │ │ │ │ ├── schemaResolution/ │ │ │ │ │ ├── SchemaResolutionAnnotatedResource.java │ │ │ │ │ ├── SchemaResolutionAnnotatedSimpleResource.java │ │ │ │ │ ├── SchemaResolutionResource.java │ │ │ │ │ └── SchemaResolutionResourceSimple.java │ │ │ │ └── util/ │ │ │ │ └── ServletUtilsTest.java │ │ │ └── org/ │ │ │ └── my/ │ │ │ └── project/ │ │ │ └── resources/ │ │ │ └── ResourceInPackageB.java │ │ ├── resources/ │ │ │ ├── BinaryParameterResource.yaml │ │ │ ├── examples/ │ │ │ │ ├── AnnotatedModelAndContentExample.yaml │ │ │ │ ├── AnnotatedModelExample.yaml │ │ │ │ ├── ParameterExample.yaml │ │ │ │ ├── RequestBodyContentExample.yaml │ │ │ │ ├── RequestBodyContentExampleWithConsumes.yaml │ │ │ │ ├── RequestBodyContentExampleWithMediatype.yaml │ │ │ │ ├── RequestBodyContentExampleWithSchema.yaml │ │ │ │ ├── RequestBodyContentExampleWithSchemaImplementation.yaml │ │ │ │ ├── ResponseExample.yaml │ │ │ │ ├── ResponseExampleSchema.yaml │ │ │ │ └── ResponseExampleSchemaImplementation.yaml │ │ │ ├── integration/ │ │ │ │ └── openapi-configuration.json │ │ │ ├── logback-test.xml │ │ │ └── petstore/ │ │ │ ├── EmptyPetResource.yaml │ │ │ ├── FullPetResource.yaml │ │ │ ├── OpenAPI31DefinitionResource.yaml │ │ │ ├── OpenAPIDefinitionResource.yaml │ │ │ ├── SecurityResource.yaml │ │ │ ├── WebHookResource.yaml │ │ │ ├── callbacks/ │ │ │ │ ├── ComplexCallback31Resource.yaml │ │ │ │ ├── ComplexCallbackResource.yaml │ │ │ │ ├── MultipleCallbacksTestWithOperationResource.yaml │ │ │ │ ├── RepeatableCallbackResource.yaml │ │ │ │ └── SimpleCallbackWithOperationResource.yaml │ │ │ ├── example/ │ │ │ │ └── ExamplesResource.yaml │ │ │ ├── links/ │ │ │ │ ├── LinksAndContent31Resource.yaml │ │ │ │ └── LinksResource.yaml │ │ │ ├── operation/ │ │ │ │ ├── AnnotatedSameNameOperationResource.yaml │ │ │ │ ├── ExternalDocumentationResource.yaml │ │ │ │ ├── FullyAnnotatedOperationResource.yaml │ │ │ │ ├── HiddenOperationResource.yaml │ │ │ │ ├── NotAnnotatedSameNameOperationResource.yaml │ │ │ │ ├── OperationResource.yaml │ │ │ │ ├── OperationWithoutAnnotationResource.yaml │ │ │ │ ├── ServerOperationResource.yaml │ │ │ │ └── SubResource.yaml │ │ │ ├── parameters/ │ │ │ │ ├── ArraySchemaResource.yaml │ │ │ │ ├── ComplexParameterResource.yaml │ │ │ │ ├── ComplexParameterWithOperationResource.yaml │ │ │ │ ├── MultipleNotAnnotatedParameter.yaml │ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.yaml │ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.yaml │ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.yaml │ │ │ │ ├── Parameters31Resource.yaml │ │ │ │ ├── ParametersResource.yaml │ │ │ │ ├── RepeatableParametersResource.yaml │ │ │ │ ├── SingleJaxRSAnnotatedParameter.yaml │ │ │ │ └── SingleNotAnnotatedParameter.yaml │ │ │ ├── requestbody/ │ │ │ │ ├── RequestBody31Resource.yaml │ │ │ │ ├── RequestBodyMethodPriorityResource.yaml │ │ │ │ ├── RequestBodyParameterPriorityResource.yaml │ │ │ │ └── RequestBodyResource.yaml │ │ │ ├── responses/ │ │ │ │ ├── ComplexResponseResource.yaml │ │ │ │ ├── ImplementationResponseResource.yaml │ │ │ │ ├── MethodArrayResponseResource.yaml │ │ │ │ ├── MethodResponseResource.yaml │ │ │ │ ├── NoImplementationResponseResource.yaml │ │ │ │ ├── NoResponseResource.yaml │ │ │ │ ├── OperationResponseResource.yaml │ │ │ │ └── PriorityResponseResource.yaml │ │ │ └── tags/ │ │ │ ├── CompleteTagResource.yaml │ │ │ ├── TagClassResource.yaml │ │ │ ├── TagMethodResource.yaml │ │ │ ├── TagOpenAPIDefinitionResource.yaml │ │ │ └── TagOperationResource.yaml │ │ └── webapp/ │ │ └── WEB-INF/ │ │ └── web.xml │ ├── swagger-jaxrs2-servlet-initializer/ │ │ ├── pom.xml │ │ └── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── jaxrs2/ │ │ │ └── integration/ │ │ │ └── SwaggerServletInitializer.java │ │ └── resources/ │ │ └── META-INF/ │ │ └── services/ │ │ └── javax.servlet.ServletContainerInitializer │ ├── swagger-jaxrs2-servlet-initializer-v2/ │ │ ├── pom.xml │ │ └── src/ │ │ └── main/ │ │ ├── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── jaxrs2/ │ │ │ └── integration/ │ │ │ └── servlet/ │ │ │ └── SwaggerServletInitializer.java │ │ └── resources/ │ │ └── META-INF/ │ │ └── services/ │ │ └── javax.servlet.ServletContainerInitializer │ ├── swagger-maven-plugin/ │ │ ├── README.md │ │ ├── pom.xml │ │ └── src/ │ │ ├── main/ │ │ │ └── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── plugin/ │ │ │ └── maven/ │ │ │ ├── IncludeProjectDependenciesComponentConfigurator.java │ │ │ └── SwaggerMojo.java │ │ └── test/ │ │ ├── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── plugin/ │ │ │ └── maven/ │ │ │ ├── ASwaggerMavenIntegrationTest.java │ │ │ ├── BetterAbstractMojoTestCase.java │ │ │ ├── SwaggerConfigFileTest.java │ │ │ ├── SwaggerResolveTest.java │ │ │ ├── petstore/ │ │ │ │ ├── petstore/ │ │ │ │ │ ├── EmptyPetResource.java │ │ │ │ │ ├── PetResource.java │ │ │ │ │ ├── callback/ │ │ │ │ │ │ ├── ComplexCallbackResource.java │ │ │ │ │ │ ├── MultipleCallbacksTestWithOperationResource.java │ │ │ │ │ │ ├── RepeatableCallbackResource.java │ │ │ │ │ │ └── SimpleCallbackWithOperationResource.java │ │ │ │ │ ├── example/ │ │ │ │ │ │ ├── ExamplesResource.java │ │ │ │ │ │ └── SubscriptionResponse.java │ │ │ │ │ ├── link/ │ │ │ │ │ │ └── LinksResource.java │ │ │ │ │ ├── openapidefintion/ │ │ │ │ │ │ └── OpenAPIDefinitionResource.java │ │ │ │ │ ├── operation/ │ │ │ │ │ │ ├── AnnotatedSameNameOperationResource.java │ │ │ │ │ │ ├── ExternalDocumentationResource.java │ │ │ │ │ │ ├── FullyAnnotatedOperationResource.java │ │ │ │ │ │ ├── HiddenOperationResource.java │ │ │ │ │ │ ├── InterfaceResource.java │ │ │ │ │ │ ├── NotAnnotatedSameNameOperationResource.java │ │ │ │ │ │ ├── OperationResource.java │ │ │ │ │ │ ├── OperationWithoutAnnotationResource.java │ │ │ │ │ │ ├── ServerOperationResource.java │ │ │ │ │ │ └── SubResource.java │ │ │ │ │ ├── parameter/ │ │ │ │ │ │ ├── ArraySchemaResource.java │ │ │ │ │ │ ├── ComplexParameterResource.java │ │ │ │ │ │ ├── ComplexParameterWithOperationResource.java │ │ │ │ │ │ ├── MultipleNotAnnotatedParameter.java │ │ │ │ │ │ ├── OpenAPIJaxRSAnnotatedParameter.java │ │ │ │ │ │ ├── OpenAPIWithContentJaxRSAnnotatedParameter.java │ │ │ │ │ │ ├── OpenAPIWithImplementationJaxRSAnnotatedParameter.java │ │ │ │ │ │ ├── ParametersResource.java │ │ │ │ │ │ ├── RepeatableParametersResource.java │ │ │ │ │ │ ├── SingleJaxRSAnnotatedParameter.java │ │ │ │ │ │ └── SingleNotAnnotatedParameter.java │ │ │ │ │ ├── requestbody/ │ │ │ │ │ │ ├── RequestBodyMethodPriorityResource.java │ │ │ │ │ │ ├── RequestBodyParameterPriorityResource.java │ │ │ │ │ │ └── RequestBodyResource.java │ │ │ │ │ ├── responses/ │ │ │ │ │ │ ├── ComplexResponseResource.java │ │ │ │ │ │ ├── ImplementationResponseResource.java │ │ │ │ │ │ ├── MethodResponseResource.java │ │ │ │ │ │ ├── NoImplementationResponseResource.java │ │ │ │ │ │ ├── NoResponseResource.java │ │ │ │ │ │ ├── OperationResponseResource.java │ │ │ │ │ │ └── PriorityResponseResource.java │ │ │ │ │ ├── security/ │ │ │ │ │ │ └── SecurityResource.java │ │ │ │ │ └── tags/ │ │ │ │ │ ├── CompleteTagResource.java │ │ │ │ │ ├── TagClassResource.java │ │ │ │ │ ├── TagMethodResource.java │ │ │ │ │ ├── TagOpenAPIDefinitionResource.java │ │ │ │ │ └── TagOperationResource.java │ │ │ │ └── petstore31/ │ │ │ │ └── PetResource.java │ │ │ └── resources/ │ │ │ ├── MyFilter.java │ │ │ ├── QueryResultBean.java │ │ │ ├── data/ │ │ │ │ ├── PetData.java │ │ │ │ └── UserData.java │ │ │ ├── exception/ │ │ │ │ ├── ApiException.java │ │ │ │ └── NotFoundException.java │ │ │ └── model/ │ │ │ ├── Category.java │ │ │ ├── CustomGenerator.java │ │ │ ├── ExtensionUser.java │ │ │ ├── JacksonBean.java │ │ │ ├── ListOfStringsBeanParam.java │ │ │ ├── ModelWithJsonIdentity.java │ │ │ ├── ModelWithJsonIdentityCyclic.java │ │ │ ├── MultipleBaseBean.java │ │ │ ├── MultipleSub1Bean.java │ │ │ ├── MultipleSub2Bean.java │ │ │ ├── NotFoundModel.java │ │ │ ├── Pet.java │ │ │ ├── Tag.java │ │ │ └── User.java │ │ └── resources/ │ │ ├── configurationFile.yaml │ │ ├── configurationFile2.yaml │ │ ├── logback-test.xml │ │ ├── openapiinput.json │ │ ├── openapiinput.yaml │ │ ├── openapiinput2.yaml │ │ ├── pom.resolveToFile.xml │ │ ├── pom.resolveToFile31.xml │ │ ├── pom.resolveToFileFromConfig.xml │ │ ├── pom.resolveToFileFromConfigAndOpenApi.xml │ │ ├── pom.resolveToFileFromConfigWithOAS3.1Filter.xml │ │ ├── pom.resolveToFileFromJsonInput.xml │ │ ├── pom.resolveToFileJsonAndYaml.xml │ │ ├── pom.resolveToFileNoName.xml │ │ └── pom.resolveToFileWithFilter.xml │ ├── swagger-models/ │ │ ├── CODE_COVERAGE.md │ │ ├── pom.xml │ │ └── src/ │ │ ├── main/ │ │ │ └── java/ │ │ │ └── io/ │ │ │ └── swagger/ │ │ │ └── v3/ │ │ │ └── oas/ │ │ │ └── models/ │ │ │ ├── Components.java │ │ │ ├── ExternalDocumentation.java │ │ │ ├── OpenAPI.java │ │ │ ├── Operation.java │ │ │ ├── PathItem.java │ │ │ ├── Paths.java │ │ │ ├── SpecVersion.java │ │ │ ├── annotations/ │ │ │ │ ├── OpenAPI30.java │ │ │ │ └── OpenAPI31.java │ │ │ ├── callbacks/ │ │ │ │ └── Callback.java │ │ │ ├── examples/ │ │ │ │ └── Example.java │ │ │ ├── headers/ │ │ │ │ └── Header.java │ │ │ ├── info/ │ │ │ │ ├── Contact.java │ │ │ │ ├── Info.java │ │ │ │ └── License.java │ │ │ ├── links/ │ │ │ │ ├── Link.java │ │ │ │ └── LinkParameter.java │ │ │ ├── media/ │ │ │ │ ├── ArbitrarySchema.java │ │ │ │ ├── ArraySchema.java │ │ │ │ ├── BinarySchema.java │ │ │ │ ├── BooleanSchema.java │ │ │ │ ├── ByteArraySchema.java │ │ │ │ ├── ComposedSchema.java │ │ │ │ ├── Content.java │ │ │ │ ├── DateSchema.java │ │ │ │ ├── DateTimeSchema.java │ │ │ │ ├── Discriminator.java │ │ │ │ ├── EmailSchema.java │ │ │ │ ├── Encoding.java │ │ │ │ ├── EncodingProperty.java │ │ │ │ ├── FileSchema.java │ │ │ │ ├── IntegerSchema.java │ │ │ │ ├── JsonSchema.java │ │ │ │ ├── MapSchema.java │ │ │ │ ├── MediaType.java │ │ │ │ ├── NumberSchema.java │ │ │ │ ├── ObjectSchema.java │ │ │ │ ├── PasswordSchema.java │ │ │ │ ├── Schema.java │ │ │ │ ├── StringSchema.java │ │ │ │ ├── UUIDSchema.java │ │ │ │ └── XML.java │ │ │ ├── parameters/ │ │ │ │ ├── CookieParameter.java │ │ │ │ ├── HeaderParameter.java │ │ │ │ ├── Parameter.java │ │ │ │ ├── PathParameter.java │ │ │ │ ├── QueryParameter.java │ │ │ │ └── RequestBody.java │ │ │ ├── responses/ │ │ │ │ ├── ApiResponse.java │ │ │ │ └── ApiResponses.java │ │ │ ├── security/ │ │ │ │ ├── OAuthFlow.java │ │ │ │ ├── OAuthFlows.java │ │ │ │ ├── Scopes.java │ │ │ │ ├── SecurityRequirement.java │ │ │ │ └── SecurityScheme.java │ │ │ ├── servers/ │ │ │ │ ├── Server.java │ │ │ │ ├── ServerVariable.java │ │ │ │ └── ServerVariables.java │ │ │ └── tags/ │ │ │ └── Tag.java │ │ └── test/ │ │ └── java/ │ │ └── io/ │ │ └── swagger/ │ │ ├── test/ │ │ │ ├── SchemaTests.java │ │ │ └── SimpleBuilderTest.java │ │ └── v3/ │ │ └── oas/ │ │ └── models/ │ │ ├── PathsTest.java │ │ ├── links/ │ │ │ └── LinkParameterTest.java │ │ └── media/ │ │ └── SchemaTest.java │ └── swagger-project-jakarta/ │ ├── .gitignore │ ├── modules/ │ │ ├── swagger-annotations-jakarta/ │ │ │ └── pom.xml │ │ ├── swagger-core-jakarta/ │ │ │ └── pom.xml │ │ ├── swagger-integration-jakarta/ │ │ │ └── pom.xml │ │ ├── swagger-jaxrs2-jakarta/ │ │ │ └── pom.xml │ │ ├── swagger-jaxrs2-servlet-initializer-jakarta/ │ │ │ └── pom.xml │ │ ├── swagger-jaxrs2-servlet-initializer-v2-jakarta/ │ │ │ └── pom.xml │ │ ├── swagger-maven-plugin-jakarta/ │ │ │ ├── pom.xml │ │ │ ├── src/ │ │ │ │ └── main/ │ │ │ │ └── java/ │ │ │ │ └── io/ │ │ │ │ └── swagger/ │ │ │ │ └── v3/ │ │ │ │ └── plugin/ │ │ │ │ └── maven/ │ │ │ │ └── jakarta/ │ │ │ │ └── JakartaTransformer.java │ │ │ └── transformed/ │ │ │ └── README.md │ │ └── swagger-models-jakarta/ │ │ └── pom.xml │ └── pom.xml ├── mvnw ├── mvnw.cmd └── pom.xml
Showing preview only (640K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (7116 symbols across 929 files)
FILE: CI/ghApiClient.py
function readUrl (line 14) | def readUrl(name):
function postUrl (line 35) | def postUrl(name, body):
FILE: CI/lastRelease.py
function getLastReleaseTag (line 5) | def getLastReleaseTag():
function main (line 14) | def main():
FILE: CI/publishRelease.py
function lastReleaseId (line 6) | def lastReleaseId(tag):
function publishRelease (line 14) | def publishRelease(tag):
function main (line 23) | def main(tag):
FILE: CI/releaseNotes.py
function allPulls (line 8) | def allPulls(releaseDate):
function lastReleaseDate (line 25) | def lastReleaseDate(tag):
function addRelease (line 31) | def addRelease(release_title, tag, content):
function getReleases (line 41) | def getReleases():
function main (line 46) | def main(last_release, release_title, tag):
FILE: CI/test.py
function allPulls (line 8) | def allPulls(releaseDate):
function lastReleaseDate (line 25) | def lastReleaseDate(tag):
function addRelease (line 31) | def addRelease(release_title, tag, content):
function getReleases (line 41) | def getReleases():
function main (line 46) | def main(last_release, release_title, tag):
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/Explode.java
type Explode (line 3) | public enum Explode {
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/ParameterIn.java
type ParameterIn (line 3) | public enum ParameterIn {
method ParameterIn (line 12) | ParameterIn(String value) {
method toString (line 16) | @Override
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/ParameterStyle.java
type ParameterStyle (line 3) | public enum ParameterStyle {
method ParameterStyle (line 15) | ParameterStyle(String value) {
method toString (line 19) | @Override
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/SecuritySchemeIn.java
type SecuritySchemeIn (line 3) | public enum SecuritySchemeIn {
method SecuritySchemeIn (line 11) | SecuritySchemeIn(String value) {
method toString (line 15) | @Override
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/SecuritySchemeType.java
type SecuritySchemeType (line 3) | public enum SecuritySchemeType {
method SecuritySchemeType (line 13) | SecuritySchemeType(String value) {
method toString (line 17) | @Override
FILE: modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Schema.java
type AccessMode (line 552) | enum AccessMode {
type AdditionalPropertiesValue (line 559) | enum AdditionalPropertiesValue {
type RequiredMode (line 565) | enum RequiredMode {
type SchemaResolution (line 571) | enum SchemaResolution {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/converter/AnnotatedType.java
class AnnotatedType (line 17) | public class AnnotatedType {
method AnnotatedType (line 36) | public AnnotatedType() {
method AnnotatedType (line 39) | public AnnotatedType(Type type) {
method isSkipOverride (line 43) | public boolean isSkipOverride() {
method setSkipOverride (line 47) | public void setSkipOverride(boolean skipOverride) {
method skipOverride (line 51) | public AnnotatedType skipOverride(boolean skipOverride) {
method isSkipJsonIdentity (line 56) | public boolean isSkipJsonIdentity() {
method setSkipJsonIdentity (line 60) | public void setSkipJsonIdentity(boolean skipJsonIdentity) {
method skipJsonIdentity (line 64) | public AnnotatedType skipJsonIdentity(boolean skipJsonIdentity) {
method isSkipSchemaName (line 69) | public boolean isSkipSchemaName() {
method setSkipSchemaName (line 73) | public void setSkipSchemaName(boolean skipSchemaName) {
method skipSchemaName (line 77) | public AnnotatedType skipSchemaName(boolean skipSchemaName) {
method isResolveAsRef (line 82) | public boolean isResolveAsRef() {
method setResolveAsRef (line 86) | public void setResolveAsRef(boolean resolveAsRef) {
method resolveAsRef (line 90) | public AnnotatedType resolveAsRef(boolean resolveAsRef) {
method isResolveEnumAsRef (line 95) | public boolean isResolveEnumAsRef() {
method setResolveEnumAsRef (line 99) | public void setResolveEnumAsRef(boolean resolveEnumAsRef) {
method resolveEnumAsRef (line 103) | public AnnotatedType resolveEnumAsRef(boolean resolveEnumAsRef) {
method isSchemaProperty (line 108) | public boolean isSchemaProperty() {
method setSchemaProperty (line 112) | public void setSchemaProperty(boolean schemaProperty) {
method schemaProperty (line 116) | public AnnotatedType schemaProperty(boolean schemaProperty) {
method getJsonUnwrappedHandler (line 121) | public Function<AnnotatedType, Schema> getJsonUnwrappedHandler() {
method setJsonUnwrappedHandler (line 125) | public void setJsonUnwrappedHandler(Function<AnnotatedType, Schema> js...
method jsonUnwrappedHandler (line 129) | public AnnotatedType jsonUnwrappedHandler(Function<AnnotatedType, Sche...
method getParent (line 134) | public Schema getParent() {
method setParent (line 138) | public void setParent(Schema parent) {
method parent (line 142) | public AnnotatedType parent(Schema parent) {
method getName (line 147) | public String getName() {
method setName (line 151) | public void setName(String name) {
method name (line 155) | public AnnotatedType name(String name) {
method getCtxAnnotations (line 160) | public Annotation[] getCtxAnnotations() {
method setCtxAnnotations (line 164) | public void setCtxAnnotations(Annotation[] ctxAnnotations) {
method ctxAnnotations (line 168) | public AnnotatedType ctxAnnotations(Annotation[] ctxAnnotations) {
method getComponents (line 173) | public Components getComponents() {
method setComponents (line 177) | public void setComponents(Components components) {
method components (line 181) | public AnnotatedType components(Components components) {
method getType (line 186) | public Type getType() {
method setType (line 190) | public void setType(Type type) {
method type (line 194) | public AnnotatedType type(Type type) {
method getJsonViewAnnotation (line 199) | public JsonView getJsonViewAnnotation() {
method setJsonViewAnnotation (line 203) | public void setJsonViewAnnotation(JsonView jsonViewAnnotation) {
method jsonViewAnnotation (line 207) | public AnnotatedType jsonViewAnnotation(JsonView jsonViewAnnotation) {
method isIncludePropertiesWithoutJSONView (line 212) | public boolean isIncludePropertiesWithoutJSONView() {
method setIncludePropertiesWithoutJSONView (line 216) | public void setIncludePropertiesWithoutJSONView(boolean includePropert...
method includePropertiesWithoutJSONView (line 220) | public AnnotatedType includePropertiesWithoutJSONView(boolean includeP...
method getPropertyName (line 228) | public String getPropertyName() {
method setPropertyName (line 235) | public void setPropertyName(String propertyName) {
method propertyName (line 242) | public AnnotatedType propertyName(String propertyName) {
method isSubtype (line 247) | public boolean isSubtype() {
method setSubtype (line 251) | public void setSubtype(boolean isSubtype) {
method subtype (line 255) | public AnnotatedType subtype(boolean isSubtype) {
method getProcessedAnnotations (line 260) | private List<Annotation> getProcessedAnnotations(Annotation[] annotati...
method equals (line 273) | @Override
method hashCode (line 289) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverter.java
type ModelConverter (line 7) | public interface ModelConverter {
method resolve (line 15) | Schema resolve(AnnotatedType type, ModelConverterContext context, Iter...
method isOpenapi31 (line 17) | default boolean isOpenapi31() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverterContext.java
type ModelConverterContext (line 9) | public interface ModelConverterContext {
method defineModel (line 18) | void defineModel(String name, Schema model);
method defineModel (line 29) | void defineModel(String name, Schema model, AnnotatedType type, String...
method defineModel (line 40) | void defineModel(String name, Schema model, Type type, String prevName);
method resolve (line 46) | Schema resolve(AnnotatedType type);
method getDefinedModels (line 48) | Map<String, Schema> getDefinedModels();
method getConverters (line 53) | public Iterator<ModelConverter> getConverters();
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverterContextImpl.java
class ModelConverterContextImpl (line 20) | public class ModelConverterContextImpl implements ModelConverterContext {
method ModelConverterContextImpl (line 28) | public ModelConverterContextImpl(List<ModelConverter> converters) {
method ModelConverterContextImpl (line 35) | public ModelConverterContextImpl(ModelConverter converter) {
method getConverters (line 40) | @Override
method defineModel (line 45) | @Override
method defineModel (line 51) | @Override
method defineModel (line 55) | @Override
method getDefinedModels (line 71) | @Override
method resolve (line 76) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverters.java
class ModelConverters (line 24) | public class ModelConverters {
method ModelConverters (line 32) | public ModelConverters() {
method ModelConverters (line 37) | public ModelConverters(boolean openapi31) {
method ModelConverters (line 46) | public ModelConverters(boolean openapi31, Schema.SchemaResolution sche...
method ModelConverters (line 55) | public ModelConverters(Configuration configuration) {
method getSkippedPackages (line 65) | public Set<String> getSkippedPackages() {
method getInstance (line 69) | public static ModelConverters getInstance(boolean openapi31) {
method reset (line 84) | public static void reset() {
method getInstance (line 91) | public static ModelConverters getInstance(boolean openapi31, Schema.Sc...
method getInstance (line 109) | public static ModelConverters getInstance(Configuration configuration) {
method init (line 131) | private static void init(ModelConverters converter) {
method getInstance (line 148) | public static ModelConverters getInstance() {
method addConverter (line 153) | public void addConverter(ModelConverter converter) {
method removeConverter (line 157) | public void removeConverter(ModelConverter converter) {
method getConverters (line 161) | public List<ModelConverter> getConverters() {
method addPackageToSkip (line 165) | public void addPackageToSkip(String pkg) {
method addClassToSkip (line 169) | public void addClassToSkip(String cls) {
method read (line 174) | public Map<String, Schema> read(Type type) {
method read (line 178) | public Map<String, Schema> read(AnnotatedType type) {
method readAll (line 194) | public Map<String, Schema> readAll(Type type) {
method readAll (line 198) | public Map<String, Schema> readAll(AnnotatedType type) {
method readAllAsResolvedSchema (line 210) | public ResolvedSchema readAllAsResolvedSchema(Type type) {
method readAllAsResolvedSchema (line 213) | public ResolvedSchema readAllAsResolvedSchema(AnnotatedType type) {
method resolveAsResolvedSchema (line 220) | public ResolvedSchema resolveAsResolvedSchema(AnnotatedType type) {
method isRegisteredAsSkippedClass (line 231) | public boolean isRegisteredAsSkippedClass(String className) {
method shouldProcess (line 235) | private boolean shouldProcess(Type type) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ResolvedSchema.java
class ResolvedSchema (line 7) | public class ResolvedSchema {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/filter/AbstractSpecFilter.java
class AbstractSpecFilter (line 16) | public abstract class AbstractSpecFilter implements OpenAPISpecFilter {
method filterOpenAPI (line 18) | @Override
method filterPathItem (line 23) | @Override
method filterOperation (line 28) | @Override
method filterParameter (line 33) | @Override
method filterRequestBody (line 38) | @Override
method filterResponse (line 43) | @Override
method filterSchema (line 48) | @Override
method filterSchemaProperty (line 53) | @Override
method isRemovingUnreferencedDefinitions (line 58) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/filter/OpenAPI31SpecFilter.java
class OpenAPI31SpecFilter (line 12) | public class OpenAPI31SpecFilter extends AbstractSpecFilter {
method filterOpenAPI (line 17) | @Override
method filterSchema (line 23) | @Override
method isOpenAPI31Filter (line 29) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/filter/OpenAPISpecFilter.java
type OpenAPISpecFilter (line 16) | public interface OpenAPISpecFilter {
method filterOpenAPI (line 18) | Optional<OpenAPI> filterOpenAPI(
method filterPathItem (line 24) | Optional<PathItem> filterPathItem(
method filterOperation (line 31) | Optional<Operation> filterOperation(
method filterParameter (line 38) | Optional<Parameter> filterParameter(
method filterRequestBody (line 46) | Optional<RequestBody> filterRequestBody(
method filterResponse (line 54) | Optional<ApiResponse> filterResponse(
method filterSchema (line 62) | Optional<Schema> filterSchema(
method filterSchemaProperty (line 68) | Optional<Schema> filterSchemaProperty(
method isRemovingUnreferencedDefinitions (line 76) | boolean isRemovingUnreferencedDefinitions();
method isOpenAPI31Filter (line 78) | default boolean isOpenAPI31Filter() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/filter/SpecFilter.java
class SpecFilter (line 37) | public class SpecFilter {
method filter (line 39) | public OpenAPI filter(OpenAPI openAPI, OpenAPISpecFilter filter, Map<S...
method filterOpenAPI (line 123) | protected OpenAPI filterOpenAPI(OpenAPISpecFilter filter, OpenAPI open...
method filterOperation (line 133) | protected Operation filterOperation(OpenAPISpecFilter filter, Operatio...
method filterPathItem (line 189) | protected PathItem filterPathItem(OpenAPISpecFilter filter, PathItem p...
method filterParameter (line 198) | protected Parameter filterParameter(OpenAPISpecFilter filter, Operatio...
method filterRequestBody (line 210) | protected RequestBody filterRequestBody(OpenAPISpecFilter filter, Oper...
method filterResponse (line 222) | protected ApiResponse filterResponse(OpenAPISpecFilter filter, Operati...
method filterComponentsSchema (line 234) | protected Map<String, Schema> filterComponentsSchema(OpenAPISpecFilter...
method addSchemaRef (line 300) | private void addSchemaRef(Schema schema, Set<String> referencedDefinit...
method addContentSchemaRef (line 365) | private void addContentSchemaRef(Content content, Set<String> referenc...
method addPathItemSchemaRef (line 373) | private void addPathItemSchemaRef(PathItem pathItem, Set<String> refer...
method addApiResponseSchemaRef (line 405) | private void addApiResponseSchemaRef(ApiResponse response, Set<String>...
method addRequestBodySchemaRef (line 415) | private void addRequestBodySchemaRef(RequestBody requestBody, Set<Stri...
method addParameterSchemaRef (line 419) | private void addParameterSchemaRef(Parameter parameter, Set<String> re...
method addHeaderSchemaRef (line 424) | private void addHeaderSchemaRef(Header header, Set<String> referencedD...
method addCallbackSchemaRef (line 429) | private void addCallbackSchemaRef(Callback callback, Set<String> refer...
method addComponentsSchemaRef (line 435) | private void addComponentsSchemaRef(Components components, Set<String>...
method removeBrokenReferenceDefinitions (line 475) | protected OpenAPI removeBrokenReferenceDefinitions(OpenAPI openApi) {
method resolveAllNestedRefs (line 509) | protected Set<String> resolveAllNestedRefs(Set<String> refs, Set<Strin...
method locateReferencedDefinitions (line 525) | protected void locateReferencedDefinitions(String ref, Set<String> nes...
method cloneFilteredPathItem (line 534) | private PathItem cloneFilteredPathItem(OpenAPISpecFilter filter, PathI...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/AbstractModelConverter.java
class AbstractModelConverter (line 22) | public abstract class AbstractModelConverter implements ModelConverter {
method AbstractModelConverter (line 31) | protected AbstractModelConverter(ObjectMapper mapper) {
method AbstractModelConverter (line 35) | protected AbstractModelConverter(ObjectMapper mapper, TypeNameResolver...
method resolve (line 47) | @Override
method _intr (line 63) | protected AnnotationIntrospector _intr() {
method _typeName (line 67) | protected String _typeName(JavaType type) {
method _typeName (line 71) | protected String _typeName(JavaType type, BeanDescription beanDesc) {
method _findTypeName (line 81) | protected String _findTypeName(JavaType type, BeanDescription beanDesc) {
method _typeQName (line 108) | protected String _typeQName(JavaType type) {
method _subTypeName (line 112) | protected String _subTypeName(NamedType type) {
method _isSetType (line 116) | protected boolean _isSetType(Class<?> cls) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ApiResponsesSerializer.java
class ApiResponsesSerializer (line 13) | public class ApiResponsesSerializer extends JsonSerializer<ApiResponses> {
method serialize (line 15) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/CallbackSerializer.java
class CallbackSerializer (line 14) | public class CallbackSerializer extends JsonSerializer<Callback> {
method serialize (line 16) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ExampleSerializer.java
class ExampleSerializer (line 12) | public class ExampleSerializer extends JsonSerializer<Example> implement...
method ExampleSerializer (line 16) | public ExampleSerializer(JsonSerializer<Object> serializer) {
method resolve (line 20) | @Override
method serialize (line 27) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/JAXBAnnotationsHelper.java
class JAXBAnnotationsHelper (line 21) | class JAXBAnnotationsHelper {
method JAXBAnnotationsHelper (line 24) | private JAXBAnnotationsHelper() {
method apply (line 33) | public static void apply(Annotated member, Annotation[] annotations, S...
method applyElement (line 63) | private static void applyElement(XmlElementWrapper wrapper, Schema pro...
method applyElement (line 80) | private static void applyElement(XmlElement element, Schema property) {
method applyAttribute (line 92) | private static void applyAttribute(XmlAttribute attribute, Schema prop...
method getXml (line 100) | private static XML getXml(Schema property) {
method setName (line 118) | private static boolean setName(String ns, String name, Schema property) {
method isAttributeAllowed (line 150) | private static boolean isAttributeAllowed(Schema property) {
method isEmpty (line 159) | private static boolean isEmpty(String name) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/MediaTypeSerializer.java
class MediaTypeSerializer (line 12) | public class MediaTypeSerializer extends JsonSerializer<MediaType> imple...
method MediaTypeSerializer (line 16) | public MediaTypeSerializer(JsonSerializer<Object> serializer) {
method resolve (line 20) | @Override
method serialize (line 27) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java
class ModelResolver (line 115) | public class ModelResolver extends AbstractModelConverter implements Mod...
method ModelResolver (line 143) | public ModelResolver(ObjectMapper mapper) {
method ModelResolver (line 146) | public ModelResolver(ObjectMapper mapper, TypeNameResolver typeNameRes...
method objectMapper (line 150) | public ObjectMapper objectMapper() {
method resolve (line 154) | @Override
method addGenericTypeArgumentAnnotationsForOptionalField (line 1164) | private Annotation[] addGenericTypeArgumentAnnotationsForOptionalField...
method extractGenericTypeArgumentAnnotations (line 1180) | private Stream<Annotation> extractGenericTypeArgumentAnnotations(BeanP...
method getRecordComponentAnnotations (line 1191) | private Stream<Annotation> getRecordComponentAnnotations(BeanPropertyD...
method dropRootRefIfComposed (line 1201) | private void dropRootRefIfComposed(Schema<?> s) {
method isComposedSchema (line 1216) | private boolean isComposedSchema(Schema<?> s) {
method refMatchesAnyComposedItem (line 1222) | private boolean refMatchesAnyComposedItem(Schema<?> s, String ref) {
method refMatchesInList (line 1228) | private boolean refMatchesInList(List<Schema> schemas, String ref) {
method isRecordType (line 1233) | private Boolean isRecordType(BeanPropertyDefinition propDef) {
method getGenericTypeArgumentAnnotations (line 1249) | private Stream<Annotation> getGenericTypeArgumentAnnotations(Field fie...
method getGenericTypeArgumentAnnotations (line 1253) | private Stream<Annotation> getGenericTypeArgumentAnnotations(java.lang...
method shouldResolveEnumAsRef (line 1263) | private boolean shouldResolveEnumAsRef(io.swagger.v3.oas.annotations.m...
method findJsonValueType (line 1267) | protected Type findJsonValueType(final BeanDescription beanDesc) {
method clone (line 1292) | private Schema clone(Schema property) {
method isSubtype (line 1296) | private boolean isSubtype(AnnotatedClass childClass, Class<?> parentCl...
method _isOptionalType (line 1311) | protected boolean _isOptionalType(JavaType propType) {
method _addEnumProps (line 1319) | protected void _addEnumProps(Class<?> propClass, Schema property) {
method _createSchemaForEnum (line 1338) | protected Schema _createSchemaForEnum(Class<Enum<?>> enumClass) {
method ignore (line 1406) | protected boolean ignore(final Annotated member, final XmlAccessorType...
method hasHiddenAnnotation (line 1410) | protected boolean hasHiddenAnnotation(Annotated annotated) {
method ignore (line 1417) | protected boolean ignore(final Annotated member, final XmlAccessorType...
method handleUnwrapped (line 1458) | private void handleUnwrapped(List<Schema> props, Schema innerModel, St...
method getSchemaResolution (line 1489) | public Schema.SchemaResolution getSchemaResolution() {
method setSchemaResolution (line 1493) | public void setSchemaResolution(Schema.SchemaResolution schemaResoluti...
method schemaResolution (line 1497) | public ModelResolver schemaResolution(Schema.SchemaResolution schemaRe...
class GeneratorWrapper (line 1502) | private class GeneratorWrapper {
class PropertyGeneratorWrapper (line 1506) | private final class PropertyGeneratorWrapper extends GeneratorWrappe...
method PropertyGeneratorWrapper (line 1508) | public PropertyGeneratorWrapper(Class<? extends ObjectIdGenerator>...
method processAsProperty (line 1512) | @Override
method processAsId (line 1523) | @Override
class IntGeneratorWrapper (line 1563) | private final class IntGeneratorWrapper extends GeneratorWrapper.Bas...
method IntGeneratorWrapper (line 1565) | public IntGeneratorWrapper(Class<? extends ObjectIdGenerator> gene...
method processAsProperty (line 1569) | @Override
method processAsId (line 1576) | @Override
class UUIDGeneratorWrapper (line 1584) | private final class UUIDGeneratorWrapper extends GeneratorWrapper.Ba...
method UUIDGeneratorWrapper (line 1586) | public UUIDGeneratorWrapper(Class<? extends ObjectIdGenerator> gen...
method processAsProperty (line 1590) | @Override
method processAsId (line 1597) | @Override
class NoneGeneratorWrapper (line 1605) | private final class NoneGeneratorWrapper extends GeneratorWrapper.Ba...
method NoneGeneratorWrapper (line 1607) | public NoneGeneratorWrapper(Class<? extends ObjectIdGenerator> gen...
method processAsProperty (line 1612) | @Override
method processAsId (line 1618) | @Override
class Base (line 1625) | private abstract class Base<T> {
method Base (line 1629) | Base(Class<? extends ObjectIdGenerator> generator) {
method processAsProperty (line 1633) | protected abstract Schema processAsProperty(String propertyName, A...
method processAsId (line 1636) | protected abstract Schema processAsId(String propertyName, Annotat...
method processJsonIdentity (line 1640) | public Schema processJsonIdentity(AnnotatedType type, ModelConverter...
method getWrapper (line 1654) | private GeneratorWrapper.Base getWrapper(Class<? extends ObjectIdGen...
method process (line 1667) | protected Schema process(Schema id, String propertyName, AnnotatedTy...
method removeJsonIdentityAnnotations (line 1681) | private AnnotatedType removeJsonIdentityAnnotations(AnnotatedType ty...
method applyBeanValidatorAnnotations (line 1699) | protected boolean applyBeanValidatorAnnotations(BeanPropertyDefinition...
method resolveGroupsValidationStrategy (line 1710) | protected Configuration.GroupsValidationStrategy resolveGroupsValidati...
method resolveValidationInvocationGroups (line 1714) | protected Set<Class> resolveValidationInvocationGroups(Map<String, Ann...
method resolveValidationInvocationAnnotations (line 1745) | protected Set<Annotation> resolveValidationInvocationAnnotations(Annot...
method applyBeanValidatorAnnotations (line 1764) | protected boolean applyBeanValidatorAnnotations(Schema property, Annot...
method checkGroupValidation (line 1908) | protected boolean checkGroupValidation(Class[] groups, Set<Class> invo...
method applyBeanValidatorAnnotationsNoGroups (line 1921) | protected boolean applyBeanValidatorAnnotationsNoGroups(Schema propert...
method resolveSubtypes (line 1968) | private boolean resolveSubtypes(Schema model, BeanDescription bean, Mo...
method removeSelfFromSubTypes (line 2045) | private void removeSelfFromSubTypes(List<NamedType> types, BeanDescrip...
method removeSuperClassAndInterfaceSubTypes (line 2050) | private void removeSuperClassAndInterfaceSubTypes(List<NamedType> type...
method removeSuperSubTypes (line 2067) | private void removeSuperSubTypes(List<NamedType> resultTypes, Class<?>...
method removeParentProperties (line 2076) | private void removeParentProperties(Schema child, Schema parent) {
method getComposedSchemaReferencedClasses (line 2091) | protected List<Class<?>> getComposedSchemaReferencedClasses(Class<?> c...
method resolveDescription (line 2113) | protected String resolveDescription(Annotated a, Annotation[] annotati...
method resolveTitle (line 2120) | protected String resolveTitle(Annotated a, Annotation[] annotations, i...
method resolveFormat (line 2127) | protected String resolveFormat(Annotated a, Annotation[] annotations, ...
method resolvePatternProperties (line 2134) | protected Map<String, Schema> resolvePatternProperties(JavaType a, Ann...
method resolveSchemaProperties (line 2183) | protected Map<String, Schema> resolveSchemaProperties(JavaType a, Anno...
method resolveDependentSchemas (line 2232) | protected Map<String, Schema> resolveDependentSchemas(JavaType a, Anno...
method resolveDefaultValue (line 2286) | protected Object resolveDefaultValue(Annotated a, Annotation[] annotat...
method resolveExample (line 2327) | protected Object resolveExample(Annotated a, Annotation[] annotations,...
method resolveRequiredMode (line 2357) | protected io.swagger.v3.oas.annotations.media.Schema.RequiredMode reso...
method resolveRequiredMode (line 2377) | protected io.swagger.v3.oas.annotations.media.Schema.RequiredMode reso...
method resolveAccessMode (line 2382) | protected io.swagger.v3.oas.annotations.media.Schema.AccessMode resolv...
method resolveReadOnly (line 2440) | protected Boolean resolveReadOnly(Annotated a, Annotation[] annotation...
method resolveNullable (line 2453) | protected Boolean resolveNullable(Annotated a, Annotation[] annotation...
method resolveMultipleOf (line 2467) | protected BigDecimal resolveMultipleOf(Annotated a, Annotation[] annot...
method resolveMaxLength (line 2474) | protected Integer resolveMaxLength(Annotated a, Annotation[] annotatio...
method resolveMinLength (line 2481) | protected Integer resolveMinLength(Annotated a, Annotation[] annotatio...
method resolveMinimum (line 2488) | protected BigDecimal resolveMinimum(Annotated a, Annotation[] annotati...
method resolveMaximum (line 2496) | protected BigDecimal resolveMaximum(Annotated a, Annotation[] annotati...
method resolveExclusiveMinimum (line 2504) | protected Boolean resolveExclusiveMinimum(Annotated a, Annotation[] an...
method resolveExclusiveMaximum (line 2511) | protected Boolean resolveExclusiveMaximum(Annotated a, Annotation[] an...
method resolvePattern (line 2518) | protected String resolvePattern(Annotated a, Annotation[] annotations,...
method resolveMinProperties (line 2525) | protected Integer resolveMinProperties(Annotated a, Annotation[] annot...
method resolveMaxProperties (line 2532) | protected Integer resolveMaxProperties(Annotated a, Annotation[] annot...
method resolveRequiredProperties (line 2539) | protected List<String> resolveRequiredProperties(Annotated a, Annotati...
method resolveWriteOnly (line 2550) | protected Boolean resolveWriteOnly(Annotated a, Annotation[] annotatio...
method resolveExternalDocumentation (line 2563) | protected ExternalDocumentation resolveExternalDocumentation(Annotated...
method resolveExternalDocumentation (line 2579) | protected ExternalDocumentation resolveExternalDocumentation(io.swagge...
method resolveDeprecated (line 2600) | protected Boolean resolveDeprecated(Annotated a, Annotation[] annotati...
method resolveAllowableValues (line 2607) | protected List<String> resolveAllowableValues(Annotated a, Annotation[...
method resolveExtensions (line 2616) | protected Map<String, Object> resolveExtensions(Annotated a, Annotatio...
method resolveDiscriminatorProperty (line 2626) | protected void resolveDiscriminatorProperty(JavaType type, ModelConver...
method resolveWrapping (line 2653) | protected Schema resolveWrapping(JavaType type, ModelConverterContext ...
method resolveDiscriminator (line 2680) | protected Discriminator resolveDiscriminator(JavaType type, ModelConve...
method resolveXml (line 2712) | protected XML resolveXml(Annotated a, Annotation[] annotations, io.swa...
method isNonTrivialXmlNamespace (line 2751) | private boolean isNonTrivialXmlNamespace(String namespace) {
method resolveIgnoredProperties (line 2755) | protected Set<String> resolveIgnoredProperties(Annotations a, Annotati...
method resolveIgnoredProperties (line 2768) | protected Set<String> resolveIgnoredProperties(Annotation[] annotation...
method resolveMinItems (line 2784) | protected Integer resolveMinItems(AnnotatedType a, io.swagger.v3.oas.a...
method resolveMaxItems (line 2793) | protected Integer resolveMaxItems(AnnotatedType a, io.swagger.v3.oas.a...
method resolveUniqueItems (line 2802) | protected Boolean resolveUniqueItems(AnnotatedType a, io.swagger.v3.oa...
method resolveExtensions (line 2811) | protected Map<String, Object> resolveExtensions(AnnotatedType a, io.sw...
method resolveMaxContains (line 2821) | protected Integer resolveMaxContains(AnnotatedType a, io.swagger.v3.oa...
method resolveMinContains (line 2828) | protected Integer resolveMinContains(AnnotatedType a, io.swagger.v3.oa...
method resolveExclusiveMaximumValue (line 2835) | protected BigDecimal resolveExclusiveMaximumValue(Annotated a, Annotat...
method resolveExclusiveMinimumValue (line 2842) | protected BigDecimal resolveExclusiveMinimumValue(Annotated a, Annotat...
method resolveId (line 2849) | protected String resolveId(Annotated a, Annotation[] annotations, io.s...
method resolve$schema (line 2856) | protected String resolve$schema(Annotated a, Annotation[] annotations,...
method resolve$anchor (line 2863) | protected String resolve$anchor(Annotated a, Annotation[] annotations,...
method resolve$comment (line 2870) | protected String resolve$comment(Annotated a, Annotation[] annotations...
method resolve$vocabulary (line 2877) | protected String resolve$vocabulary(Annotated a, Annotation[] annotati...
method resolve$dynamicAnchor (line 2884) | protected String resolve$dynamicAnchor(Annotated a, Annotation[] annot...
method resolve$dynamicRef (line 2891) | protected String resolve$dynamicRef(Annotated a, Annotation[] annotati...
method resolveContentEncoding (line 2898) | protected String resolveContentEncoding(Annotated a, Annotation[] anno...
method resolveContentMediaType (line 2905) | protected String resolveContentMediaType(Annotated a, Annotation[] ann...
method resolveContains (line 2912) | protected void resolveContains(AnnotatedType annotatedType, ArraySchem...
method resolveUnevaluatedItems (line 2933) | protected void resolveUnevaluatedItems(AnnotatedType annotatedType, Ar...
method resolveConst (line 2948) | protected String resolveConst(Annotated a, Annotation[] annotations, i...
method resolveDependentRequired (line 2955) | protected Map<String, List<String>> resolveDependentRequired(Annotated...
method resolveDependentSchemas (line 2971) | protected Map<String, Schema> resolveDependentSchemas(Annotated a, Ann...
method resolvePatternProperties (line 2990) | protected Map<String, Schema> resolvePatternProperties(Annotated a, An...
method resolveProperties (line 3009) | protected Map<String, Schema> resolveProperties(Annotated a, Annotatio...
method resolveSchemaMembers (line 3028) | protected void resolveSchemaMembers(Schema schema, AnnotatedType annot...
method resolveSchemaMembers (line 3032) | protected void resolveSchemaMembers(Schema schema, AnnotatedType annot...
method resolveSchemaMembers (line 3132) | protected void resolveSchemaMembers(Schema schema, Annotated a, Annota...
method addRequiredItem (line 3304) | protected void addRequiredItem(Schema model, String propName) {
method updateRequiredItem (line 3308) | protected boolean updateRequiredItem(Schema model, String propName) {
method shouldIgnoreClass (line 3323) | protected boolean shouldIgnoreClass(Type type) {
method getIgnoredProperties (line 3341) | private List<String> getIgnoredProperties(BeanDescription beanDescript...
method decorateModelName (line 3354) | protected String decorateModelName(AnnotatedType type, String original...
method hiddenByJsonView (line 3371) | protected boolean hiddenByJsonView(Annotation[] annotations,
method resolveArraySchema (line 3396) | private void resolveArraySchema(AnnotatedType annotatedType, ArraySche...
method openapi31 (line 3449) | public ModelResolver openapi31(boolean openapi31) {
method isOpenapi31 (line 3454) | public boolean isOpenapi31() {
method setOpenapi31 (line 3458) | public void setOpenapi31(boolean openapi31) {
method configuration (line 3462) | public ModelResolver configuration(Configuration configuration) {
method getConfiguration (line 3467) | public Configuration getConfiguration() {
method setConfiguration (line 3471) | public void setConfiguration(Configuration configuration) {
method isObjectSchema (line 3494) | protected boolean isObjectSchema(Schema schema) {
method isInferredObjectSchema (line 3498) | protected boolean isInferredObjectSchema(Schema schema) {
method isArraySchema (line 3511) | protected boolean isArraySchema(Schema schema) {
method isStringSchema (line 3515) | protected boolean isStringSchema(Schema schema) {
method isNumberSchema (line 3519) | protected boolean isNumberSchema(Schema schema) {
method invokeMethod (line 3523) | private AnnotatedMember invokeMethod(final BeanDescription beanDesc, S...
method buildRefSchemaIfObject (line 3528) | protected Schema buildRefSchemaIfObject(Schema schema, ModelConverterC...
method applySchemaResolution (line 3542) | protected boolean applySchemaResolution() {
method resolveArraySchemaWithCycleGuard (line 3548) | private Optional<Schema> resolveArraySchemaWithCycleGuard(
method isStreamType (line 3571) | private boolean isStreamType(JavaType type) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/PackageVersion.java
class PackageVersion (line 7) | public final class PackageVersion implements Versioned {
method version (line 11) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/PathsSerializer.java
class PathsSerializer (line 13) | public class PathsSerializer extends JsonSerializer<Paths> {
method serialize (line 15) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/Schema31Serializer.java
class Schema31Serializer (line 12) | public class Schema31Serializer extends JsonSerializer<Schema> implement...
method Schema31Serializer (line 16) | public Schema31Serializer(JsonSerializer<Object> serializer) {
method resolve (line 20) | @Override
method serialize (line 27) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/SchemaSerializer.java
class SchemaSerializer (line 13) | public class SchemaSerializer extends JsonSerializer<Schema> implements ...
method SchemaSerializer (line 17) | public SchemaSerializer(JsonSerializer<Object> serializer) {
method resolve (line 21) | @Override
method serialize (line 28) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/SwaggerAnnotationIntrospector.java
class SwaggerAnnotationIntrospector (line 19) | public class SwaggerAnnotationIntrospector extends AnnotationIntrospector {
method version (line 22) | @Override
method hasRequiredMarker (line 27) | @Override
method findPropertyDescription (line 59) | @Override
method findSubtypes (line 69) | @Override
method findTypeName (line 93) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/SwaggerModule.java
class SwaggerModule (line 5) | public class SwaggerModule extends SimpleModule {
method SwaggerModule (line 8) | public SwaggerModule() {
method setupModule (line 12) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/TypeNameResolver.java
class TypeNameResolver (line 18) | public class TypeNameResolver {
method TypeNameResolver (line 22) | protected TypeNameResolver() {
method getUseFqn (line 25) | public boolean getUseFqn() {
method setUseFqn (line 29) | public void setUseFqn(boolean useFqn) {
method nameForType (line 34) | public String nameForType(JavaType type, Options... options) {
method nameForType (line 39) | public String nameForType(JavaType type, Set<Options> options) {
method nameForClass (line 47) | protected String nameForClass(JavaType type, Set<Options> options) {
method nameForClass (line 51) | protected String nameForClass(Class<?> cls, Set<Options> options) {
method getNameOfClass (line 62) | protected String getNameOfClass(Class<?> cls) {
method nameForGenericType (line 66) | protected String nameForGenericType(JavaType type, Set<Options> option...
method findStdName (line 78) | protected String findStdName(JavaType type) {
type Options (line 82) | public enum Options {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Components31Mixin.java
class Components31Mixin (line 11) | public abstract class Components31Mixin {
method getExtensions (line 13) | @JsonAnyGetter
method addExtension (line 16) | @JsonAnySetter
method getCallbacks (line 19) | @JsonSerialize(contentUsing = CallbackSerializer.class)
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/ComponentsMixin.java
class ComponentsMixin (line 13) | public abstract class ComponentsMixin {
method getExtensions (line 15) | @JsonAnyGetter
method addExtension (line 18) | @JsonAnySetter
method getCallbacks (line 21) | @JsonSerialize(contentUsing = CallbackSerializer.class)
method getPathItems (line 24) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/DateSchemaMixin.java
class DateSchemaMixin (line 8) | public abstract class DateSchemaMixin {
method getExample (line 10) | @JsonFormat (shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
method getDefault (line 13) | @JsonFormat (shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
method getEnum (line 16) | @JsonFormat (shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
method getJsonSchemaImpl (line 19) | @JsonIgnore
method getJsonSchema (line 22) | @JsonIgnore
method getBooleanSchemaValue (line 25) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Discriminator31Mixin.java
class Discriminator31Mixin (line 8) | public abstract class Discriminator31Mixin {
method getExtensions (line 10) | @JsonAnyGetter
method addExtension (line 13) | @JsonAnySetter
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/DiscriminatorMixin.java
class DiscriminatorMixin (line 7) | public abstract class DiscriminatorMixin {
method getExtensions (line 9) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/ExampleMixin.java
class ExampleMixin (line 10) | public abstract class ExampleMixin {
method getExtensions (line 11) | @JsonAnyGetter
method addExtension (line 14) | @JsonAnySetter
method getValue (line 17) | @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclu...
method getValueSetFlag (line 20) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/ExtensionsMixin.java
class ExtensionsMixin (line 8) | public abstract class ExtensionsMixin {
method getExtensions (line 10) | @JsonAnyGetter
method addExtension (line 13) | @JsonAnySetter
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Info31Mixin.java
class Info31Mixin (line 8) | public abstract class Info31Mixin {
method getExtensions (line 10) | @JsonAnyGetter
method addExtension (line 13) | @JsonAnySetter
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/InfoMixin.java
class InfoMixin (line 9) | public abstract class InfoMixin {
method getExtensions (line 11) | @JsonAnyGetter
method addExtension (line 14) | @JsonAnySetter
method getSummary (line 17) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/LicenseMixin.java
class LicenseMixin (line 9) | public abstract class LicenseMixin {
method getExtensions (line 11) | @JsonAnyGetter
method addExtension (line 14) | @JsonAnySetter
method getIdentifier (line 17) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/MediaTypeMixin.java
class MediaTypeMixin (line 10) | public abstract class MediaTypeMixin {
method getExtensions (line 12) | @JsonAnyGetter
method addExtension (line 15) | @JsonAnySetter
method getExampleSetFlag (line 18) | @JsonIgnore
method getExample (line 21) | @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclu...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/OpenAPI31Mixin.java
class OpenAPI31Mixin (line 11) | public abstract class OpenAPI31Mixin {
method getExtensions (line 13) | @JsonAnyGetter
method addExtension (line 16) | @JsonAnySetter
method getPaths (line 19) | @JsonSerialize(using = PathsSerializer.class)
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/OpenAPIMixin.java
class OpenAPIMixin (line 13) | public abstract class OpenAPIMixin {
method getExtensions (line 15) | @JsonAnyGetter
method addExtension (line 19) | @JsonAnySetter
method getPaths (line 22) | @JsonSerialize(using = PathsSerializer.class)
method getWebhooks (line 25) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/OperationMixin.java
class OperationMixin (line 13) | public abstract class OperationMixin {
method getExtensions (line 15) | @JsonAnyGetter
method addExtension (line 18) | @JsonAnySetter
method getCallbacks (line 21) | @JsonSerialize(contentUsing = CallbackSerializer.class)
method getResponses (line 24) | @JsonSerialize(using = ApiResponsesSerializer.class)
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Schema31Mixin.java
class Schema31Mixin (line 19) | @JsonPropertyOrder(value = {"type", "format", "if", "then", "else"}, alp...
method getJsonSchema (line 22) | @JsonIgnore
method getNullable (line 25) | @JsonIgnore
method getExclusiveMinimum (line 28) | @JsonIgnore
method getExclusiveMaximum (line 31) | @JsonIgnore
method getExclusiveMinimumValue (line 34) | @JsonProperty("exclusiveMinimum")
method getExclusiveMaximumValue (line 37) | @JsonProperty("exclusiveMaximum")
method getType (line 40) | @JsonIgnore
method getTypes (line 43) | @JsonProperty("type")
method getExtensions (line 47) | @JsonAnyGetter
method addExtension (line 50) | @JsonAnySetter
method getExampleSetFlag (line 53) | @JsonIgnore
method getExample (line 56) | @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclu...
method getJsonSchemaImpl (line 59) | @JsonIgnore
method getBooleanSchemaValue (line 62) | @JsonIgnore
class TypeSerializer (line 65) | public static class TypeSerializer extends JsonSerializer<Set<String>> {
method serialize (line 67) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/SchemaConverterMixin.java
class SchemaConverterMixin (line 14) | public abstract class SchemaConverterMixin {
method getJsonSchema (line 16) | @JsonIgnore
method getExtensions (line 19) | @JsonAnyGetter
method addExtension (line 22) | @JsonAnySetter
method getExampleSetFlag (line 25) | @JsonIgnore
method getExample (line 28) | @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclu...
method getJsonSchemaImpl (line 31) | @JsonIgnore
method getExclusiveMinimumValue (line 34) | @JsonIgnore
method getExclusiveMaximumValue (line 37) | @JsonIgnore
method getContains (line 40) | @JsonIgnore
method get$id (line 43) | @JsonIgnore
method get$anchor (line 46) | @JsonIgnore
method get$schema (line 49) | @JsonIgnore
method getTypes (line 52) | @JsonIgnore
method getPatternProperties (line 55) | @JsonIgnore
method getPrefixItems (line 58) | @JsonIgnore
method getContentEncoding (line 61) | @JsonIgnore
method getContentMediaType (line 64) | @JsonIgnore
method getContentSchema (line 67) | @JsonIgnore
method getPropertyNames (line 70) | @JsonIgnore
method getUnevaluatedProperties (line 73) | @JsonIgnore
method getMaxContains (line 76) | @JsonIgnore
method getMinContains (line 79) | @JsonIgnore
method getAdditionalItems (line 82) | @JsonIgnore
method getUnevaluatedItems (line 85) | @JsonIgnore
method getIf (line 88) | @JsonIgnore
method getElse (line 91) | @JsonIgnore
method getThen (line 94) | @JsonIgnore
method getDependentSchemas (line 97) | @JsonIgnore
method getDependentRequired (line 100) | @JsonIgnore
method get$comment (line 103) | @JsonIgnore
method getExamples (line 106) | @JsonIgnore
method getConst (line 109) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/SchemaMixin.java
class SchemaMixin (line 14) | public abstract class SchemaMixin {
method getExtensions (line 16) | @JsonAnyGetter
method addExtension (line 19) | @JsonAnySetter
method getExampleSetFlag (line 22) | @JsonIgnore
method getExample (line 25) | @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclu...
method getJsonSchema (line 28) | @JsonIgnore
method getExclusiveMinimumValue (line 31) | @JsonIgnore
method getExclusiveMaximumValue (line 34) | @JsonIgnore
method getContains (line 37) | @JsonIgnore
method get$id (line 40) | @JsonIgnore
method get$anchor (line 43) | @JsonIgnore
method get$schema (line 46) | @JsonIgnore
method getTypes (line 49) | @JsonIgnore
method getPatternProperties (line 52) | @JsonIgnore
method getJsonSchemaImpl (line 55) | @JsonIgnore
method getPrefixItems (line 58) | @JsonIgnore
method getContentEncoding (line 61) | @JsonIgnore
method getContentMediaType (line 64) | @JsonIgnore
method getContentSchema (line 67) | @JsonIgnore
method getPropertyNames (line 70) | @JsonIgnore
method getUnevaluatedProperties (line 73) | @JsonIgnore
method getMaxContains (line 76) | @JsonIgnore
method getMinContains (line 79) | @JsonIgnore
method getAdditionalItems (line 82) | @JsonIgnore
method getUnevaluatedItems (line 85) | @JsonIgnore
method getIf (line 88) | @JsonIgnore
method getElse (line 91) | @JsonIgnore
method getThen (line 94) | @JsonIgnore
method getDependentSchemas (line 97) | @JsonIgnore
method getDependentRequired (line 100) | @JsonIgnore
method get$comment (line 103) | @JsonIgnore
method getExamples (line 106) | @JsonIgnore
method getConst (line 109) | @JsonIgnore
method getBooleanSchemaValue (line 112) | @JsonIgnore
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/model/ApiDescription.java
class ApiDescription (line 3) | public class ApiDescription {
method ApiDescription (line 7) | public ApiDescription(String path, String method) {
method getPath (line 12) | public String getPath() {
method setPath (line 16) | public void setPath(String path) {
method getMethod (line 20) | public String getMethod() {
method setMethod (line 24) | public void setMethod(String method) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/AnnotationsUtils.java
class AnnotationsUtils (line 62) | public abstract class AnnotationsUtils {
method hasSchemaAnnotation (line 67) | public static boolean hasSchemaAnnotation(io.swagger.v3.oas.annotation...
method equals (line 139) | public static boolean equals(Annotation thisAnnotation, Annotation tha...
method equals (line 157) | public static boolean equals(io.swagger.v3.oas.annotations.media.Array...
method equals (line 198) | public static boolean equals(io.swagger.v3.oas.annotations.media.Schem...
method hasArrayAnnotation (line 393) | public static boolean hasArrayAnnotation(io.swagger.v3.oas.annotations...
method getExample (line 413) | public static Optional<Example> getExample(ExampleObject example) {
method getExample (line 417) | public static Optional<Example> getExample(ExampleObject example, bool...
method resolveExample (line 438) | private static boolean resolveExample(Example exampleObject, ExampleOb...
method getArraySchema (line 478) | public static Optional<ArraySchema> getArraySchema(io.swagger.v3.oas.a...
method getArraySchema (line 481) | public static Optional<ArraySchema> getArraySchema(io.swagger.v3.oas.a...
method getArraySchema (line 485) | public static Optional<ArraySchema> getArraySchema(io.swagger.v3.oas.a...
method getArraySchema (line 492) | public static Optional<Schema> getArraySchema(io.swagger.v3.oas.annota...
method getArraySchema (line 495) | public static Optional<Schema> getArraySchema(io.swagger.v3.oas.annota...
method applyArraySchemaAnnotation (line 568) | private static void applyArraySchemaAnnotation(io.swagger.v3.oas.annot...
method getSchemaFromAnnotation (line 593) | public static Optional<Schema> getSchemaFromAnnotation(io.swagger.v3.o...
method getSchemaFromAnnotation (line 597) | public static Optional<Schema> getSchemaFromAnnotation(io.swagger.v3.o...
method getSchemaFromAnnotation (line 601) | public static Optional<Schema> getSchemaFromAnnotation(io.swagger.v3.o...
method getSchemaFromAnnotation (line 605) | public static Optional<Schema> getSchemaFromAnnotation(io.swagger.v3.o...
method getSchemaFromAnnotation (line 608) | public static Optional<Schema> getSchemaFromAnnotation(
method getSchemaFromAnnotation (line 616) | public static Optional<Schema> getSchemaFromAnnotation(
method getSchemaFromAnnotation (line 625) | public static Optional<Schema> getSchemaFromAnnotation(
method setExampleSchema (line 911) | private static void setExampleSchema(io.swagger.v3.oas.annotations.med...
method setDefaultSchema (line 930) | private static void setDefaultSchema(io.swagger.v3.oas.annotations.med...
method parseExamplesArray (line 949) | public static List<Object> parseExamplesArray(io.swagger.v3.oas.annota...
method resolveSchemaFromType (line 979) | public static Schema resolveSchemaFromType(Class<?> schemaImplementati...
method resolveSchemaFromType (line 983) | public static Schema resolveSchemaFromType(Class<?> schemaImplementati...
method resolveSchemaFromType (line 986) | public static Schema resolveSchemaFromType(Class<?> schemaImplementati...
method resolveSiblings (line 1041) | private static Optional<Schema> resolveSiblings(Schema existingSchemaO...
method getTags (line 1064) | public static Optional<Set<Tag>> getTags(io.swagger.v3.oas.annotations...
method getServers (line 1099) | public static Optional<List<Server>> getServers(io.swagger.v3.oas.anno...
method getServer (line 1113) | public static Optional<Server> getServer(io.swagger.v3.oas.annotations...
method getExternalDocumentation (line 1168) | public static Optional<ExternalDocumentation> getExternalDocumentation...
method getExternalDocumentation (line 1172) | public static Optional<ExternalDocumentation> getExternalDocumentation...
method getInfo (line 1204) | public static Optional<Info> getInfo(io.swagger.v3.oas.annotations.inf...
method getInfo (line 1208) | public static Optional<Info> getInfo(io.swagger.v3.oas.annotations.inf...
method getContact (line 1254) | public static Optional<Contact> getContact(io.swagger.v3.oas.annotatio...
method getContact (line 1258) | public static Optional<Contact> getContact(io.swagger.v3.oas.annotatio...
method getLicense (line 1294) | public static Optional<License> getLicense(io.swagger.v3.oas.annotatio...
method getLicense (line 1298) | public static Optional<License> getLicense(io.swagger.v3.oas.annotatio...
method getLinks (line 1333) | public static Map<String, Link> getLinks(io.swagger.v3.oas.annotations...
method getLinks (line 1337) | public static Map<String, Link> getLinks(io.swagger.v3.oas.annotations...
method getLink (line 1348) | public static Optional<Link> getLink(io.swagger.v3.oas.annotations.lin...
method getLink (line 1352) | public static Optional<Link> getLink(io.swagger.v3.oas.annotations.lin...
method getLinkParameters (line 1417) | public static Map<String, String> getLinkParameters(LinkParameter[] li...
method getHeaders (line 1431) | public static Optional<Map<String, Header>> getHeaders(io.swagger.v3.o...
method getHeaders (line 1434) | public static Optional<Map<String, Header>> getHeaders(io.swagger.v3.o...
method getHeaders (line 1438) | public static Optional<Map<String, Header>> getHeaders(io.swagger.v3.o...
method getHeaders (line 1442) | public static Optional<Map<String, Header>> getHeaders(io.swagger.v3.o...
method getHeader (line 1458) | public static Optional<Header> getHeader(io.swagger.v3.oas.annotations...
method getHeader (line 1461) | public static Optional<Header> getHeader(io.swagger.v3.oas.annotations...
method getHeader (line 1465) | public static Optional<Header> getHeader(io.swagger.v3.oas.annotations...
method getHeader (line 1468) | public static Optional<Header> getHeader(io.swagger.v3.oas.annotations...
method setHeaderExplode (line 1547) | public static void setHeaderExplode (Header header, io.swagger.v3.oas....
method isHeaderExplodable (line 1557) | private static boolean isHeaderExplodable(io.swagger.v3.oas.annotation...
method addEncodingToMediaType (line 1571) | public static void addEncodingToMediaType(MediaType mediaType, io.swag...
method addEncodingToMediaType (line 1575) | public static void addEncodingToMediaType(MediaType mediaType, io.swag...
method getSchemaType (line 1615) | public static Type getSchemaType(io.swagger.v3.oas.annotations.media.S...
method getSchemaType (line 1619) | public static Type getSchemaType(io.swagger.v3.oas.annotations.media.S...
method getContent (line 1665) | public static Optional<Content> getContent(io.swagger.v3.oas.annotatio...
method clone (line 1669) | public static Schema clone(Schema schema, boolean openapi31) {
method getContent (line 1685) | public static Optional<Content> getContent(io.swagger.v3.oas.annotatio...
method getSchema (line 1826) | public static Optional<? extends Schema> getSchema(io.swagger.v3.oas.a...
method getSchema (line 1830) | public static Optional<? extends Schema> getSchema(io.swagger.v3.oas.a...
method getSchema (line 1842) | public static Optional<? extends Schema> getSchema(io.swagger.v3.oas.a...
method getSchema (line 1852) | public static Optional<? extends Schema> getSchema(io.swagger.v3.oas.a...
method applyTypes (line 1899) | public static void applyTypes(String[] classTypes, String[] methodType...
method getSchemaAnnotation (line 1914) | public static io.swagger.v3.oas.annotations.media.Schema getSchemaAnno...
method getSchemaDeclaredAnnotation (line 1926) | public static io.swagger.v3.oas.annotations.media.Schema getSchemaDecl...
method getSchemaAnnotation (line 1938) | public static io.swagger.v3.oas.annotations.media.Schema getSchemaAnno...
method getSchemaDeclaredAnnotation (line 1952) | public static io.swagger.v3.oas.annotations.media.Schema getSchemaDecl...
method getExtensions (line 1966) | public static Map<String, Object> getExtensions(Extension... extension...
method getExtensions (line 1970) | public static Map<String, Object> getExtensions(boolean openapi31, Ext...
method getExtensions (line 1974) | public static Map<String, Object> getExtensions(boolean openapi31, boo...
method getSchemaAnnotation (line 2036) | public static io.swagger.v3.oas.annotations.media.Schema getSchemaAnno...
method getArraySchemaAnnotation (line 2048) | public static io.swagger.v3.oas.annotations.media.ArraySchema getArray...
method getAnnotation (line 2060) | public static <T> T getAnnotation(Class<T> cls, Annotation... annotati...
method removeAnnotations (line 2072) | public static Annotation[] removeAnnotations(Annotation[] annotations,...
method updateAnnotation (line 2092) | public static void updateAnnotation(Class<?> clazz, io.swagger.v3.oas....
method mergeSchemaAnnotations (line 2106) | public static Annotation mergeSchemaAnnotations(
method mergeSchemaAnnotations (line 2113) | public static Annotation mergeSchemaAnnotations(
method mergeSchemaAnnotations (line 2197) | public static io.swagger.v3.oas.annotations.media.Schema mergeSchemaAn...
method mergeArraySchemaAnnotations (line 2808) | public static io.swagger.v3.oas.annotations.media.ArraySchema mergeArr...
method mergeArrayWithSchemaAnnotation (line 2939) | public static io.swagger.v3.oas.annotations.media.ArraySchema mergeArr...
method resolveSchemaResolution (line 3019) | public static Schema.SchemaResolution resolveSchemaResolution(Schema.S...
method computeEnumAsRef (line 3026) | public static boolean computeEnumAsRef(io.swagger.v3.oas.annotations.m...
method areSiblingsAllowed (line 3035) | public static boolean areSiblingsAllowed(Schema.SchemaResolution resol...
method addTypeWhenSiblingsAllowed (line 3039) | public static AnnotatedType addTypeWhenSiblingsAllowed(AnnotatedType a...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ApiResponses31Deserializer.java
class ApiResponses31Deserializer (line 3) | public class ApiResponses31Deserializer extends ApiResponsesDeserializer {
method ApiResponses31Deserializer (line 5) | public ApiResponses31Deserializer() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ApiResponsesDeserializer.java
class ApiResponsesDeserializer (line 17) | public class ApiResponsesDeserializer extends JsonDeserializer<ApiRespon...
method deserialize (line 21) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Callback31Deserializer.java
class Callback31Deserializer (line 3) | public class Callback31Deserializer extends CallbackDeserializer {
method Callback31Deserializer (line 5) | public Callback31Deserializer() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/CallbackDeserializer.java
class CallbackDeserializer (line 17) | public class CallbackDeserializer extends JsonDeserializer<Callback> {
method deserialize (line 21) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Configuration.java
class Configuration (line 10) | public class Configuration {
type GroupsValidationStrategy (line 12) | public enum GroupsValidationStrategy {
method GroupsValidationStrategy (line 24) | GroupsValidationStrategy(String value) {
method toString (line 28) | @Override
method getOpenAPI (line 44) | public OpenAPI getOpenAPI() {
method setOpenAPI (line 48) | public void setOpenAPI(OpenAPI openAPI) {
method openAPI (line 52) | public Configuration openAPI(OpenAPI openAPI) {
method getUserDefinedOptions (line 57) | public Map<String, Object> getUserDefinedOptions() {
method setUserDefinedOptions (line 61) | public void setUserDefinedOptions(Map<String, Object> userDefinedOptio...
method userDefinedOptions (line 65) | public Configuration userDefinedOptions(Map<String, Object> userDefine...
method objectMapperProcessorClass (line 70) | public Configuration objectMapperProcessorClass(String objectMapperPro...
method getObjectMapperProcessorClass (line 75) | public String getObjectMapperProcessorClass() {
method setObjectMapperProcessorClass (line 79) | public void setObjectMapperProcessorClass(String objectMapperProcessor...
method getModelConverterClasses (line 83) | public Set<String> getModelConverterClasses() {
method setModelConverterClassess (line 87) | public void setModelConverterClassess(Set<String> modelConverterClasse...
method modelConverterClasses (line 91) | public Configuration modelConverterClasses(Set<String> modelConverterC...
method isOpenAPI31 (line 96) | public Boolean isOpenAPI31() {
method setOpenAPI31 (line 100) | public void setOpenAPI31(Boolean openAPI31) {
method openAPI31 (line 104) | public Configuration openAPI31(Boolean openAPI31) {
method getSchemaResolution (line 109) | public Schema.SchemaResolution getSchemaResolution() {
method setSchemaResolution (line 113) | public void setSchemaResolution(Schema.SchemaResolution schemaResoluti...
method schemaResolution (line 117) | public Configuration schemaResolution(Schema.SchemaResolution schemaRe...
method getOpenAPIVersion (line 122) | public String getOpenAPIVersion() {
method setOpenAPIVersion (line 126) | public void setOpenAPIVersion(String openAPIVersion) {
method openAPIVersion (line 130) | public Configuration openAPIVersion(String openAPIVersion) {
method setModelConverterClasses (line 135) | public void setModelConverterClasses(Set<String> modelConverterClasses) {
method getGroupsValidationStrategy (line 139) | public GroupsValidationStrategy getGroupsValidationStrategy() {
method setGroupsValidationStrategy (line 143) | public void setGroupsValidationStrategy(GroupsValidationStrategy group...
method groupsValidationStrategy (line 147) | public Configuration groupsValidationStrategy(GroupsValidationStrategy...
method getValidatorProcessorClass (line 152) | public String getValidatorProcessorClass() {
method setValidatorProcessorClass (line 156) | public void setValidatorProcessorClass(String validatorProcessorClass) {
method validatorProcessorClass (line 160) | public Configuration validatorProcessorClass(String validatorProcessor...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Constants.java
class Constants (line 3) | public final class Constants {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/DeserializationModule.java
class DeserializationModule (line 14) | public class DeserializationModule extends SimpleModule {
method DeserializationModule (line 16) | public DeserializationModule() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/DeserializationModule31.java
class DeserializationModule31 (line 19) | public class DeserializationModule31 extends SimpleModule {
method DeserializationModule31 (line 21) | public DeserializationModule31() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/EncodingPropertyStyleEnumDeserializer.java
class EncodingPropertyStyleEnumDeserializer (line 13) | public class EncodingPropertyStyleEnumDeserializer extends JsonDeseriali...
method deserialize (line 14) | @Override
method getStyleEnum (line 25) | private EncodingProperty.StyleEnum getStyleEnum(String value) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/EncodingStyleEnumDeserializer.java
class EncodingStyleEnumDeserializer (line 13) | public class EncodingStyleEnumDeserializer extends JsonDeserializer<Enco...
method deserialize (line 14) | @Override
method getStyleEnum (line 25) | private Encoding.StyleEnum getStyleEnum(String value) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/HeaderStyleEnumDeserializer.java
class HeaderStyleEnumDeserializer (line 13) | public class HeaderStyleEnumDeserializer extends JsonDeserializer<Header...
method deserialize (line 14) | @Override
method getStyleEnum (line 25) | private Header.StyleEnum getStyleEnum(String value) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Json.java
class Json (line 9) | public class Json {
class ObjectMapperHolder (line 11) | private static final class ObjectMapperHolder {
method mapper (line 17) | public static ObjectMapper mapper() {
method pretty (line 21) | public static ObjectWriter pretty() {
method pretty (line 25) | public static String pretty(Object o) {
method prettyPrint (line 34) | public static void prettyPrint(Object o) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Json31.java
class Json31 (line 14) | public class Json31 {
class ObjectMapperHolder (line 16) | private static final class ObjectMapperHolder {
class ConverterMapperHolder (line 20) | private static final class ConverterMapperHolder {
method mapper (line 26) | public static ObjectMapper mapper() {
method converterMapper (line 30) | public static ObjectMapper converterMapper() {
method pretty (line 34) | public static ObjectWriter pretty() {
method pretty (line 38) | public static String pretty(Object o) {
method prettyPrint (line 47) | public static void prettyPrint(Object o) {
method jsonSchemaAsMap (line 56) | public static Map<String, Object> jsonSchemaAsMap(String jsonSchema) {
method jsonSchemaAsMap (line 65) | public static Map<String, Object> jsonSchemaAsMap(Schema schema) {
method jsonSchemaAsMap (line 74) | public static Map<String, Object> jsonSchemaAsMap(JsonNode schema) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/KotlinDetector.java
class KotlinDetector (line 5) | public class KotlinDetector {
method loadByClassOrNull (line 14) | private static <T> Class<T> loadByClassOrNull(String className) {
method isKotlinPresent (line 22) | public static boolean isKotlinPresent() {
method getKotlinDeprecated (line 26) | public static Class<? extends Annotation> getKotlinDeprecated() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Model31Deserializer.java
class Model31Deserializer (line 3) | public class Model31Deserializer extends ModelDeserializer {
method Model31Deserializer (line 5) | public Model31Deserializer() {this.openapi31 = true;}
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ModelDeserializer.java
class ModelDeserializer (line 34) | public class ModelDeserializer extends JsonDeserializer<Schema> {
method deserialize (line 46) | @Override
method deserializeArbitraryOrObjectSchema (line 109) | private Schema deserializeArbitraryOrObjectSchema(JsonNode node, boole...
method deserializeJsonSchema (line 142) | private Schema deserializeJsonSchema(JsonNode node) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ObjectMapperFactory.java
class ObjectMapperFactory (line 74) | public class ObjectMapperFactory {
method createJson (line 76) | public static ObjectMapper createJson(JsonFactory jsonFactory) {
method createJson (line 80) | public static ObjectMapper createJson() {
method createYaml (line 84) | public static ObjectMapper createYaml(YAMLFactory yamlFactory) {
method createYaml (line 88) | public static ObjectMapper createYaml() {
method createYaml (line 92) | public static ObjectMapper createYaml(boolean openapi31) {
method createJson31 (line 102) | public static ObjectMapper createJson31(JsonFactory jsonFactory) {
method createJson31 (line 106) | public static ObjectMapper createJson31() {
method createYaml31 (line 110) | public static ObjectMapper createYaml31(YAMLFactory yamlFactory) {
method createYaml31 (line 114) | public static ObjectMapper createYaml31() {
method create (line 118) | public static ObjectMapper create(JsonFactory jsonFactory, boolean ope...
method createJsonConverter (line 233) | public static ObjectMapper createJsonConverter() {
method buildStrictGenericObjectMapper (line 289) | public static ObjectMapper buildStrictGenericObjectMapper() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/OpenAPI30To31.java
class OpenAPI30To31 (line 9) | public class OpenAPI30To31 {
method process (line 11) | public void process(OpenAPI openAPI) {
method removeReservedExtensionsName (line 31) | private void removeReservedExtensionsName(Map<String, Object> extensio...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/OpenAPI31Deserializer.java
class OpenAPI31Deserializer (line 15) | public class OpenAPI31Deserializer extends StdDeserializer<OpenAPI> impl...
method OpenAPI31Deserializer (line 19) | public OpenAPI31Deserializer(JsonDeserializer<?> defaultDeserializer)
method deserialize (line 25) | @Override
method resolve (line 32) | @Override public void resolve(DeserializationContext ctxt) throws Json...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/OpenAPISchema2JsonSchema.java
class OpenAPISchema2JsonSchema (line 10) | public class OpenAPISchema2JsonSchema {
method process (line 14) | public void process(Schema<?> schema) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Parameter31Deserializer.java
class Parameter31Deserializer (line 3) | public class Parameter31Deserializer extends ParameterDeserializer {
method Parameter31Deserializer (line 5) | public Parameter31Deserializer() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ParameterDeserializer.java
class ParameterDeserializer (line 18) | public class ParameterDeserializer extends JsonDeserializer<Parameter> {
method deserialize (line 22) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ParameterProcessor.java
class ParameterProcessor (line 30) | public class ParameterProcessor {
method applyAnnotations (line 33) | public static Parameter applyAnnotations(Parameter parameter, Type typ...
method applyAnnotations (line 37) | public static Parameter applyAnnotations(
method applyAnnotations (line 49) | public static Parameter applyAnnotations(
method applyAnnotations (line 64) | public static Parameter applyAnnotations(
method isArraySchema (line 298) | public static boolean isArraySchema(Schema schema) {
method setParameterExplode (line 302) | public static void setParameterExplode(Parameter parameter, io.swagger...
method isExplodable (line 312) | private static boolean isExplodable(io.swagger.v3.oas.annotations.Para...
method setParameterStyle (line 330) | public static void setParameterStyle(Parameter parameter, io.swagger.v...
method getParamSchemaAnnotation (line 336) | public static Annotation getParamSchemaAnnotation(List<Annotation> ann...
method getParameterType (line 380) | public static Type getParameterType(io.swagger.v3.oas.annotations.Para...
method getParameterType (line 383) | public static Type getParameterType(io.swagger.v3.oas.annotations.Para...
class AnnotationsHelper (line 423) | private static class AnnotationsHelper {
method AnnotationsHelper (line 432) | public AnnotationsHelper(List<Annotation> annotations, Type _type) {
method isContext (line 453) | public boolean isContext() {
method getDefaultValue (line 462) | public String getDefaultValue() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/PathUtils.java
class PathUtils (line 13) | public class PathUtils {
method parsePath (line 21) | public static String parsePath(String uri, Map<String, String> pattern...
method collectPath (line 51) | public static String collectPath(String... pathParts) {
method trimPath (line 65) | private static String trimPath(String value) {
method cutParameter (line 70) | private static String cutParameter(CharacterIterator ci, Map<String, S...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Paths31Deserializer.java
class Paths31Deserializer (line 3) | public class Paths31Deserializer extends PathsDeserializer {
method Paths31Deserializer (line 5) | public Paths31Deserializer() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/PathsDeserializer.java
class PathsDeserializer (line 17) | public class PathsDeserializer extends JsonDeserializer<Paths> {
method deserialize (line 21) | @Override
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/PrettyPrintHelper.java
class PrettyPrintHelper (line 9) | class PrettyPrintHelper {
method PrettyPrintHelper (line 13) | private PrettyPrintHelper() {
method setOverride (line 17) | static void setOverride(Consumer<String> consumer) {
method clearOverride (line 21) | static void clearOverride() {
method emit (line 25) | static void emit(Logger logger, String message) {
method emitError (line 34) | static void emitError(Logger logger, String message, Throwable throwab...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/PrimitiveType.java
type PrimitiveType (line 32) | public enum PrimitiveType {
method createProperty (line 35) | @Override
method createProperty31 (line 39) | @Override
method createProperty (line 45) | @Override
method createProperty31 (line 49) | @Override
method createProperty (line 55) | @Override
method createProperty31 (line 64) | @Override
method createProperty (line 70) | @Override
method createProperty31 (line 79) | @Override
method createProperty (line 85) | @Override
method createProperty31 (line 89) | @Override
method createProperty (line 95) | @Override
method createProperty31 (line 99) | @Override
method createProperty (line 105) | @Override
method createProperty31 (line 109) | @Override
method createProperty (line 115) | @Override
method createProperty31 (line 119) | @Override
method createProperty (line 125) | @Override
method createProperty31 (line 129) | @Override
method createProperty (line 135) | @Override
method createProperty31 (line 139) | @Override
method createProperty (line 145) | @Override
method createProperty31 (line 149) | @Override
method createProperty (line 155) | @Override
method createProperty31 (line 159) | @Override
method createProperty (line 165) | @Override
method createProperty31 (line 169) | @Override
method createProperty (line 175) | @Override
method createProperty31 (line 179) | @Override
method createProperty (line 185) | @Override
method createProperty31 (line 189) | @Override
method createProperty (line 195) | @Override
method createProperty31 (line 199) | @Override
method createProperty (line 205) | @Override
method createProperty31 (line 209) | @Override
method createProperty (line 215) | @Override
method createProperty31 (line 219) | @Override
method createProperty (line 225) | @Override
method createProperty31 (line 229) | @Override
method createProperty (line 236) | @Override
method createProperty31 (line 240) | @Override
method PrimitiveType (line 384) | private PrimitiveType(Class<?> keyClass) {
method PrimitiveType (line 388) | private PrimitiveType(Class<?> keyClass, String commonName) {
method customExcludedClasses (line 400) | public static Set<String> customExcludedClasses() {
method customExcludedExternalClasses (line 410) | public static Set<String> customExcludedExternalClasses() {
method customClasses (line 420) | public static Map<String, PrimitiveType> customClasses() {
method systemPrefixes (line 430) | public static Set<String> systemPrefixes() {
method nonSystemTypes (line 440) | public static Set<String> nonSystemTypes() {
method nonSystemTypePackages (line 450) | public static Set<String> nonSystemTypePackages() {
method fromTypeAndFormat (line 454) | public static PrimitiveType fromTypeAndFormat(Type type, String format) {
method fromType (line 468) | public static PrimitiveType fromType(Type type) {
method fromName (line 506) | public static PrimitiveType fromName(String name) {
method fromTypeAndFormat (line 519) | public static PrimitiveType fromTypeAndFormat(String type, String form...
method createProperty (line 526) | public static Schema createProperty(Type type) {
method createProperty (line 530) | public static Schema createProperty(Type type, boolean openapi31) {
method createProperty (line 535) | public static Schema createProperty(String name) {
method createProperty (line 539) | public static Schema createProperty(String name, boolean openapi31) {
method getCommonName (line 544) | public static String getCommonName(Type type) {
method getKeyClass (line 549) | public Class<?> getKeyClass() {
method getCommonName (line 553) | public String getCommonName() {
method createProperty (line 557) | public abstract Schema createProperty();
method createProperty31 (line 558) | public abstract Schema createProperty31();
method addKeys (line 560) | private static <K> void addKeys(Map<K, PrimitiveType> map, PrimitiveTy...
method addMultiKeys (line 566) | private static <K> void addMultiKeys(Map<K, Collection<PrimitiveType>>...
class DateStub (line 575) | private static class DateStub {
method DateStub (line 576) | private DateStub() {
method enablePartialTime (line 586) | public static void enablePartialTime() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/RefUtils.java
class RefUtils (line 8) | public class RefUtils {
method constructRef (line 10) | public static String constructRef(String simpleRef) {
method constructRef (line 14) | public static String constructRef(String simpleRef, String prefix) {
method extractSimpleName (line 18) | public static Pair extractSimpleName(String ref) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReferenceTypeUtils.java
class ReferenceTypeUtils (line 10) | public abstract class ReferenceTypeUtils {
method _isReferenceType (line 14) | public static boolean _isReferenceType(JavaType jtype) {
method unwrapReference (line 25) | public static AnnotatedType unwrapReference(AnnotatedType type) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java
class ReflectionUtils (line 26) | public class ReflectionUtils {
method typeFromString (line 29) | public static Type typeFromString(String type) {
method loadClassByName (line 49) | public static Class<?> loadClassByName(String className) throws ClassN...
method isOverriddenMethod (line 64) | public static boolean isOverriddenMethod(Method methodToFind, Class<?>...
method hasOverriddenMethods (line 101) | public static boolean hasOverriddenMethods(Method methodToFind, Class<...
method getOverriddenMethod (line 145) | public static Method getOverriddenMethod(Method method) {
method findField (line 170) | public static Field findField(String name, Class<?> cls) {
method findMethod (line 188) | public static Method findMethod(Method methodToFind, Class<?> cls) {
method hasIdenticalParameters (line 210) | private static boolean hasIdenticalParameters(Class<?>[] srcParameterT...
method isInject (line 222) | public static boolean isInject(List<Annotation> annotations) {
method isConstructorCompatible (line 232) | public static boolean isConstructorCompatible(Constructor<?> construct...
method getDeclaredFields (line 252) | public static List<Field> getDeclaredFields(Class<?> cls) {
method getAnnotation (line 282) | public static <A extends Annotation> A getAnnotation(Method method, Cl...
method getAnnotation (line 299) | public static <A extends Annotation> A getAnnotation(Class<?> cls, Cla...
method getRepeatableAnnotations (line 338) | public static <A extends Annotation> List<A> getRepeatableAnnotations(...
method getRepeatableAnnotations (line 363) | public static <A extends Annotation> List<A> getRepeatableAnnotations(...
method getRepeatableAnnotationsArray (line 371) | public static <A extends Annotation> A[] getRepeatableAnnotationsArray...
method getParameterAnnotations (line 402) | public static Annotation[][] getParameterAnnotations(Method method) {
method isVoid (line 437) | public static boolean isVoid(Type type) {
method isSystemType (line 442) | public static boolean isSystemType(JavaType type) {
method isSystemTypeNotArray (line 446) | public static boolean isSystemTypeNotArray(JavaType type) {
method safeInvoke (line 468) | public static Optional<Object> safeInvoke(Method method, Object obj, O...
method safeGet (line 483) | public static Optional<Object> safeGet(Field field, Object obj) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/SchemaTypeUtils.java
class SchemaTypeUtils (line 5) | public class SchemaTypeUtils {
method isObjectSchema (line 13) | public static boolean isObjectSchema(Schema schema) {
method isArraySchema (line 17) | public static boolean isArraySchema(Schema schema) {
method isStringSchema (line 21) | public static boolean isStringSchema(Schema schema) {
method isNumberSchema (line 25) | public static boolean isNumberSchema(Schema schema) {
method isSchemaType (line 29) | private static boolean isSchemaType(Schema schema, String type) {
method isSchemaType31 (line 33) | private static boolean isSchemaType31(Schema schema, String type) {
method hasProperties (line 37) | private static boolean hasProperties(Schema schema) {
method hasPatternProperties (line 41) | private static boolean hasPatternProperties(Schema schema) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/SecurityScheme31Deserializer.java
class SecurityScheme31Deserializer (line 3) | public class SecurityScheme31Deserializer extends SecuritySchemeDeserial...
method SecurityScheme31Deserializer (line 5) | public SecurityScheme31Deserializer() {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/SecuritySchemeDeserializer.java
class SecuritySchemeDeserializer (line 17) | public class SecuritySchemeDeserializer extends JsonDeserializer<Securit...
method deserialize (line 21) | @Override
method getIn (line 81) | private SecurityScheme.In getIn(String value) {
method getFieldText (line 85) | private String getFieldText(String fieldName, JsonNode node) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/SiblingAnnotationFilter.java
class SiblingAnnotationFilter (line 10) | public class SiblingAnnotationFilter {
class FilterResult (line 12) | public static class FilterResult {
method FilterResult (line 16) | public FilterResult(Annotation[] filteredAnnotations, Schema.SchemaR...
method getFilteredAnnotations (line 21) | public Annotation[] getFilteredAnnotations() {
method getResolvedSchemaResolution (line 25) | public Schema.SchemaResolution getResolvedSchemaResolution() {
method filterSiblingAnnotations (line 46) | public static FilterResult filterSiblingAnnotations(
method isStreamType (line 81) | private static boolean isStreamType(JavaType type) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ValidationAnnotationsUtils.java
class ValidationAnnotationsUtils (line 10) | public class ValidationAnnotationsUtils {
method applyNotEmptyConstraint (line 31) | public static boolean applyNotEmptyConstraint(Schema schema,
method applyNotBlankConstraint (line 58) | public static boolean applyNotBlankConstraint(Schema schema, io.swagge...
method applyMinConstraint (line 73) | public static boolean applyMinConstraint(Schema schema, Min annotation) {
method applyMaxConstraint (line 86) | public static boolean applyMaxConstraint(Schema schema, Max annotation) {
method applySizeConstraint (line 99) | public static boolean applySizeConstraint(Schema schema, Size annotati...
method applyDecimalMinConstraint (line 123) | public static boolean applyDecimalMinConstraint(Schema schema, Decimal...
method applyDecimalMaxConstraint (line 137) | public static boolean applyDecimalMaxConstraint(Schema schema, Decimal...
method applyPatternConstraint (line 151) | public static boolean applyPatternConstraint(Schema schema, Pattern an...
method applyEmailConstraint (line 168) | public static boolean applyEmailConstraint(Schema schema, Email annota...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/ValidatorProcessor.java
type ValidatorProcessor (line 9) | public interface ValidatorProcessor {
type MODE (line 10) | enum MODE {
method getMode (line 16) | public default MODE getMode() {
method applyBeanValidatorAnnotations (line 19) | public default boolean applyBeanValidatorAnnotations(Schema property, ...
method resolveInvocationGroups (line 23) | public default Set<Class> resolveInvocationGroups(Map<String, Annotati...
method resolveInvocationAnnotations (line 27) | public default Set<Annotation> resolveInvocationAnnotations(Annotation...
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Yaml.java
class Yaml (line 9) | public class Yaml {
class ObjectMapperHolder (line 11) | private static final class ObjectMapperHolder {
method mapper (line 17) | public static ObjectMapper mapper() {
method pretty (line 21) | public static ObjectWriter pretty() {
method pretty (line 25) | public static String pretty(Object o) {
method prettyPrint (line 34) | public static void prettyPrint(Object o) {
FILE: modules/swagger-core/src/main/java/io/swagger/v3/core/util/Yaml31.java
class Yaml31 (line 13) | public class Yaml31 {
class ObjectMapperHolder (line 15) | private static final class ObjectMapperHolder {
method mapper (line 22) | public static ObjectMapper mapper() {
method pretty (line 26) | public static ObjectWriter pretty() {
method pretty (line 30) | public static String pretty(Object o) {
method prettyPrint (line 39) | public static void prettyPrint(Object o) {
method jsonSchemaAsMap (line 48) | public static Map<String, Object> jsonSchemaAsMap(String jsonSchema) {
method jsonSchemaAsMap (line 57) | public static Map<String, Object> jsonSchemaAsMap(Schema schema) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/AnnotatedTypeCachingTest.java
class AnnotatedTypeCachingTest (line 17) | public class AnnotatedTypeCachingTest {
method testAnnotatedTypeEqualityIgnoresContextualFields (line 19) | @Test
class User (line 29) | static class User {
class Address (line 35) | static class Address {
class DummyModelConverter (line 40) | private static class DummyModelConverter implements ModelConverter {
method resolve (line 41) | @Override
method testCacheHitsForRepeatedStringTypeWithCorrectedEquals (line 58) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/AnnotatedTypeTest.java
class AnnotatedTypeTest (line 19) | public class AnnotatedTypeTest {
class AnnotationHolder (line 29) | @TestAnnA
method getAnnotationInstance (line 34) | private Annotation getAnnotationInstance(Class<? extends Annotation> c...
method testEqualsAndHashCode_shouldBeOrderInsensitiveForAnnotations (line 41) | @Test
method testEqualsAndHashCode_shouldIgnoreJdkInternalAnnotations (line 54) | @Test
method testImmutability_shouldPreventCorruptionInHashSet (line 71) | @Test
method testEqualsAndHashCode_shouldAllowSubclassEquality (line 88) | @Test
method testEquals_shouldDifferentiatePropertyAndSubtypeContexts (line 106) | @Test
method testEquals_shouldComparePropertyNameWhenSchemaPropertyIsTrue (line 122) | @Test
method testEquals_shouldBeEqualWhenSchemaPropertyIsTrueAndNamesMatch (line 137) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ArrayOfSubclassTest.java
class ArrayOfSubclassTest (line 18) | public class ArrayOfSubclassTest {
method extractSubclassArray_oas31 (line 20) | @Test
method extractSubclassArray_oas30 (line 32) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ByteConverterTest.java
class ByteConverterTest (line 17) | public class ByteConverterTest {
method testByte (line 20) | @Test
method testByteProperty (line 40) | @Test
method testDeserializeByteProperty (line 55) | @Test
method testByteArray (line 71) | @Test
method testReadOnlyByteArray (line 89) | @Test
class ByteConverterModel (line 109) | class ByteConverterModel {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/CompositionTest.java
class CompositionTest (line 19) | public class CompositionTest {
method readModelWithRequiredParams (line 21) | @Test(description = "read a model with required params and description")
method readModelWithComposition (line 26) | @Test(description = "read a model with composition")
method readModeWithSchemalWithComposition (line 31) | @Test(description = "read a model with composition")
method readClassModelWithComposition (line 36) | @Test(description = "read a model with composition")
method createModel (line 41) | @Test(description = "create a model")
method createModelWithFieldWithSubTypes (line 46) | @Test(description = "create a ModelWithFieldWithSubTypes")
method compareAsJson (line 51) | private void compareAsJson(Class<?> cls, String fileName) throws IOExc...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/CovariantGetterTest.java
class CovariantGetterTest (line 13) | public class CovariantGetterTest {
method testCovariantGetter (line 14) | @Test(description = "it should read a getter with covariant return type")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/EnumPropertyTest.java
class EnumPropertyTest (line 28) | public class EnumPropertyTest {
method setup (line 33) | @BeforeMethod
method afterTest (line 41) | @AfterTest
method testEnumProperty (line 46) | @Test(description = "it should read a model with an enum property")
method testExtractEnumFields (line 68) | @Test(description = "it should extract enum values from fields")
method testExtractEnumReturnType (line 79) | @Test(description = "it should extract enum values from method return ...
method testEnumRefProperty (line 90) | @Test(description = "it should read a model with an enum property as a...
method testEnumRefPropertyWithFQNTypeNameResolver (line 128) | @Test(description = "it should read a model with an enum property as a...
method testEnumRefPropertyGlobal (line 168) | @Test(description = "it should read a model with an enum property as a...
method testEnumRefPropertyGlobalNotAffectingNonEnums (line 189) | @Test(description = "it should not affect non-enum models when the enu...
method testExtractJacksonEnumFields (line 204) | @Test(description = "it should extract enum values from fields using J...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/GuavaTest.java
class GuavaTest (line 13) | public class GuavaTest {
method convertModelWithGuavaOptionals (line 15) | @Test(description = "convert a model with Guava optionals")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/Issue5055Test.java
class Issue5055Test (line 18) | public class Issue5055Test {
method testArrayMetadataDoesNotLeakToItemsRef (line 21) | @Test
method testComponentSchemaIsCleanWithoutLeakedProperties (line 58) | @Test
method testArraySchemaAttributesSeparation (line 80) | @Test
method testTypeInferenceWithNoImplementation (line 103) | @Test
method testSchemaEqualsSemanticsForPrecedence (line 130) | @Test
method testSchemaEqualsIncludesExtensions (line 147) | @Test
method testNoImplementationCase (line 163) | @Test
method testNoSchemaAtAllCase (line 185) | @Test
class TestModels (line 207) | public static class TestModels {
class ArrayWithFullMetadata (line 209) | @io.swagger.v3.oas.annotations.media.Schema(description = "Model wit...
method getPets (line 213) | @ArraySchema(
class Pet (line 228) | @io.swagger.v3.oas.annotations.media.Schema(description = "Pet model")
method getName (line 233) | public String getName() {
method getSpecies (line 237) | public String getSpecies() {
class SchemaTakesPrecedence (line 242) | @io.swagger.v3.oas.annotations.media.Schema(description = "Test prec...
method getData (line 246) | @io.swagger.v3.oas.annotations.media.Schema(type = "array", descri...
class BothArraySchemaAttributes (line 253) | @io.swagger.v3.oas.annotations.media.Schema(description = "Test both...
method getData (line 257) | @ArraySchema(
class NoImplementationSpecified (line 266) | @io.swagger.v3.oas.annotations.media.Schema(description = "Test no i...
method getData (line 270) | @io.swagger.v3.oas.annotations.media.Schema(description = "Inferre...
class NoSchemaAnnotations (line 276) | @io.swagger.v3.oas.annotations.media.Schema(description = "Test no s...
method getData (line 280) | public List<String> getData() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ModelConverterTest.java
class ModelConverterTest (line 57) | public class ModelConverterTest {
method read (line 59) | private Map<String, Schema> read(Type type) {
method readAll (line 63) | private Map<String, Schema> readAll(Type type) {
method assertEqualsToJson (line 67) | private void assertEqualsToJson(Object objectToSerialize, String fileN...
method convertModel (line 72) | @Test(description = "it should convert a model")
method convertModelWithJodaDateTime (line 77) | @Test(description = "it should convert a model with Joda DateTime")
method readInterface (line 82) | @Test(description = "read an interface")
method readInheritedInterface (line 87) | @Test(description = "it should read an inherited interface")
method honorApiModelName (line 92) | @Test(description = "it should honor the ApiModel name")
method overrideInheritedModelName (line 100) | @Test(description = "it should override an inherited model's name")
method maintainPropertyNames (line 114) | @Test(description = "it should maintain property names")
method serializeParameterizedType (line 129) | @Test(description = "it should serialize a parameterized type per 606")
method ignoreHiddenFields (line 162) | @Test(description = "it should ignore hidden fields")
method setReadOnly (line 170) | @Test(description = "it should set readOnly per #854")
method processModelWithPairProperties (line 178) | @Test(description = "it should process a model with org.apache.commons...
method scanEmptyModel (line 215) | @Test(description = "it should scan an empty model per 499")
method overridePropertyName (line 223) | @Test(description = "it should override the property name")
method convertModelWithEnumArray (line 231) | @Test(description = "it should convert a model with enum array")
method getGenericType (line 237) | private Type getGenericType(Class<?> cls) throws Exception {
method checkHandlingClassType (line 241) | @Test(description = "it should check handling of the Class<?> type")
method convertModelWithFormattedStrings (line 249) | @Test(description = "it should convert a model with Formatted strings")
method checkStringTypesHandling (line 255) | @Test(description = "it should check handling of string types")
method scanModel (line 266) | @Test(description = "it should scan a model per #1155")
method scanModelWithNumbers (line 273) | @Test(description = "it should scan a model with numbers")
method scanModelWithOffset (line 285) | @Test(description = "it tests a model with java offset")
method checkType (line 296) | private void checkType(Schema property, Class<?> cls, String type, Str...
method checkModel (line 306) | private void checkModel(Schema model) {
method formatDate (line 329) | @Test
class DateModel (line 363) | class DateModel {
method indirectPropertiesRecognized (line 376) | @Test
method checkDefaultSkippedPackages (line 386) | @Test
method ignoreSkippedPackage (line 394) | @Test(description = "It should not process skipped package")
class BaseClass (line 403) | @JsonSerialize(as = AnnotatedImplementationClass.class)
method field (line 405) | public abstract String field();
class AnnotatedImplementationClass (line 407) | class AnnotatedImplementationClass extends BaseClass {
method field (line 408) | @Override
method directPropertiesRecognized (line 415) | @Test
class AnnotatedBaseClass (line 427) | abstract class AnnotatedBaseClass {
method field (line 428) | @JsonProperty
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ModelPropertyTest.java
class ModelPropertyTest (line 32) | public class ModelPropertyTest {
method extractProperties (line 33) | @Test
method extractPrimitiveArray (line 52) | @Test
method readModelProperty (line 66) | @Test
method readDataTypesProperty (line 73) | @Test(description = "it should read a model with property dataTypes co...
method testReadOnlyProperty (line 100) | @Test
method testRequiredProperty (line 107) | @Test
method modelAllowEmptyTest (line 126) | @Test
method testIssue1743 (line 133) | @Test
method testNotNullWithNotBlankAndNotEmpty (line 149) | @Test
method testCollectionWithNotEmpty (line 158) | @Test
method testStringWithNotBlankAndSize (line 170) | @Test
method testNotBlankNotEmptyWithRequiredModeNotRequired (line 180) | @Test
method testNotBlankNotEmptyWithRequiredModeRequired (line 203) | @Test
class Family (line 226) | class Family {
class Person (line 231) | class Person {
class Employer (line 240) | class Employer {
class IsModelTest (line 245) | class IsModelTest {
class NotNullWithNotBlankNotEmptyModel (line 250) | static class NotNullWithNotBlankNotEmptyModel {
class CollectionWithNotEmptyModel (line 264) | static class CollectionWithNotEmptyModel {
class StringWithNotBlankAndSizeModel (line 272) | static class StringWithNotBlankAndSizeModel {
class NotBlankNotEmptyWithRequiredModeRequiredModel (line 278) | static class NotBlankNotEmptyWithRequiredModeRequiredModel {
class NotBlankNotEmptyWithRequiredModeNotRequiredModel (line 292) | static class NotBlankNotEmptyWithRequiredModeNotRequiredModel {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/NumericFormatTest.java
class NumericFormatTest (line 17) | public class NumericFormatTest {
method testFormatOfInteger (line 18) | @Test
method testFormatOfDecimal (line 39) | @Test
method testFormatOfBigDecimal (line 61) | @Test
class ModelWithIntegerFields (line 86) | static class ModelWithIntegerFields {
class ModelWithDecimalFields (line 92) | static class ModelWithDecimalFields {
class ModelWithoutScientificFields (line 98) | static class ModelWithoutScientificFields {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/PojoTest.java
class PojoTest (line 19) | public class PojoTest {
method read (line 21) | private Map<String, io.swagger.v3.oas.models.media.Schema> read(Type t...
method readAll (line 25) | private Map<String, io.swagger.v3.oas.models.media.Schema> readAll(Typ...
method assertEqualsToJson (line 29) | private void assertEqualsToJson(Object objectToSerialize, String fileN...
method testModelWithTitle (line 34) | @Test
class ClassWithTitle (line 47) | @Schema(title = "My Pojo")
method getId (line 51) | public String getId() {
method setId (line 55) | public void setId(String id) {
method testModelWithAnnotatedPrivateMember (line 60) | @Test(description = "The @Schema annotation will only be adding additi...
class ClassWithAnnotatedProperty (line 72) | static class ClassWithAnnotatedProperty {
method getId (line 76) | public String getId() {
method setId (line 80) | public void setId(String id) {
method testModelWithAnnotatedPublicMethod (line 85) | @Test(description = "The @Schema annotation will only be adding additi...
class ClassWithAnnotatedMethod (line 96) | static class ClassWithAnnotatedMethod {
method getId (line 99) | @Schema(description = "a long description for this property")
method setId (line 104) | public void setId(String id) {
method testModelWithOverriddenMemberType (line 109) | @Test(description = "The @Schema annotation will override the type of ...
class ClassWithOverriddenMemberType (line 123) | static class ClassWithOverriddenMemberType {
method getId (line 126) | @Schema(type = "integer", format = "int64", description = "we are de...
method setId (line 132) | public void setId(String id) {
method testModelWithAlternateRepresentation (line 137) | @Test(description = "@Schema is completely overriding the type for thi...
class ClassWithAlternateRepresentation (line 148) | @Schema(implementation = ClassWithAnnotatedMethod.class)
method getDateField (line 152) | public Date getDateField() {
method setDateField (line 156) | public void setDateField(Date dateField) {
method testModelWithMultipleRepresentations (line 161) | @Test(description = "@Schema is allowing multiple definition interface...
class UberObject (line 209) | @Schema(anyOf = {UserObject.class, EmployeeObject.class})
method getDepartment (line 215) | @Override
method getId (line 220) | @Override
method getName (line 225) | @Override
type UserObject (line 231) | @Schema(description = "A User Object")
method getId (line 233) | @Schema(format = "uuid", required = true)
method getName (line 236) | String getName();
type EmployeeObject (line 239) | @Schema(description = "An Employee Object", requiredProperties = {"dep...
method getId (line 241) | @Schema(format = "email")
method getDepartment (line 244) | String getDepartment();
method testModelWithSpecificFormat (line 247) | @Test(description = "Shows how @Schema can be used to allow only certa...
class ClassWithIdConstraints (line 260) | @Schema(name = "AuthorizedUser")
method getId (line 265) | public String getId() {
method setId (line 269) | public void setId(String id) {
method testExcludeSchema (line 274) | @Test(description = "Shows how to restrict a particular schema")
class ArbitraryDataReceiver (line 295) | @Schema(not = ClassWithIdConstraints.class, description = "We don't st...
method testSchemaReference (line 299) | @Test(description = "Shows how to override a definition with a schema ...
class NotAPet (line 308) | @Schema(ref = "http://petstore.swagger.io/v2/swagger.json#/definitions...
method testPropertySchemaReference (line 312) | @Test(description = "Shows how to add a reference on a property")
class ModelWithSchemaPropertyReference (line 324) | static class ModelWithSchemaPropertyReference {
method getNotATag (line 329) | public String getNotATag() {
method setNotATag (line 333) | public void setNotATag(String notATag) {
method testPropertyNameOverride (line 339) | @Test(description = "Shows how to override a property name")
class ModelWithPropertyNameOverride (line 351) | static class ModelWithPropertyNameOverride {
method getDefinitelyNotCalledUsername (line 352) | public String getDefinitelyNotCalledUsername() {
method setDefinitelyNotCalledUsername (line 356) | public void setDefinitelyNotCalledUsername(String definitelyNotCalle...
method testModelNameOverride (line 364) | @Test(description = "Shows how to override a model name")
class ModelWithNameOverride (line 376) | @Schema(name = "Employee")
method getId (line 380) | public String getId() {
method setId (line 384) | public void setId(String id) {
method testModelPropertyExampleOverride (line 389) | @Test(description = "Shows how to provide model examples")
class modelWithPropertyExampleOverride (line 401) | static class modelWithPropertyExampleOverride {
method getId (line 405) | public String getId() {
method setId (line 409) | public void setId(String id) {
method testModelPropertyExampleJson (line 415) | @Test(description = "Shows how to provide model examples as json")
class modelWithPropertyExampleOverrideJson (line 437) | @Schema(example = "{\"id\": 19877734}", minimum = "2")
method getExampleJson (line 443) | public ExampleJson getExampleJson() {
method setExampleJson (line 447) | public void setExampleJson(ExampleJson exampleJson) {
method testModelPropertyImplExampleJson (line 453) | @Test(description = "Shows how to provide model examples as json")
class modelWithPropertyImplExampleOverrideJson (line 471) | static class modelWithPropertyImplExampleOverrideJson {
method getExampleJson (line 476) | public String getExampleJson() {
method setExampleJson (line 480) | public void setExampleJson(String exampleJson) {
method testModelPropertyExampleDefaultJson (line 489) | @Test(description = "Shows how to provide model examples as json")
class modelWithPropertyExampleDefaultJson (line 529) | static class modelWithPropertyExampleDefaultJson {
method getExampleJsonExtended (line 536) | public ExampleJsonExtended getExampleJsonExtended() {
method setExampleJsonExtended (line 540) | public void setExampleJsonExtended(ExampleJsonExtended exampleJsonEx...
method testModelPropertyStringExampleJson (line 545) | @Test(description = "Shows how to provide model examples as json")
class modelWithPropertyStringExampleOverrideJson (line 559) | static class modelWithPropertyStringExampleOverrideJson {
method getExampleJson (line 564) | public String getExampleJson() {
method setExampleJson (line 568) | public void setExampleJson(String exampleJson) {
class ExampleJson (line 574) | static class ExampleJson {
method getId (line 577) | public String getId() {
method setId (line 581) | public void setId(String id) {
class ExampleJsonExtended (line 587) | static class ExampleJsonExtended {
method getId (line 592) | public int getId() {
method setId (line 596) | public void setId(int id) {
method getIdType (line 600) | public String getIdType() {
method setIdType (line 604) | public void setIdType(String idType) {
method getIsActive (line 608) | public boolean getIsActive() {
method setIsActive (line 612) | public void setIsActive(boolean isActive) {
method testExampleArray (line 618) | @Test(description = "Shows how to provide an example array")
class modelExampleArray (line 636) | static class modelExampleArray {
method getIds (line 640) | public String[] getIds() {
method setIds (line 644) | public void setIds(String[] ids) {
method testArrayWithPattern (line 649) | @Test(description = "Shows how to provide an array with specific format")
class modelArrayWithPattern (line 665) | static class modelArrayWithPattern {
method getIds (line 669) | public String[] getIds() {
method setIds (line 673) | public void setIds(String[] ids) {
method testModelExampleOverride (line 678) | @Test(description = "Show how to completely override an object example")
class modelWithExampleOverride (line 694) | @Schema(example = "{\"foo\": \"bar\",\"baz\": true}")
method getId (line 698) | public String getId() {
method setId (line 702) | public void setId(String id) {
method testModelWithBoolean (line 707) | @Test
class ClassWithBoolean (line 726) | @Schema
method getBooleanObject (line 735) | public Boolean getBooleanObject() {
method setBooleanObject (line 739) | public void setBooleanObject(Boolean booleanObject) {
method getBooleanType (line 743) | public boolean getBooleanType() {
method setBooleanType (line 747) | public void setBooleanType(boolean booleanType) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/PolymorphicSubtypePropertyBleedTest.java
class PolymorphicSubtypePropertyBleedTest (line 19) | public class PolymorphicSubtypePropertyBleedTest {
class BaseResponse (line 21) | @Schema(
class ConcretionA (line 31) | @Schema(description = "subtype A")
class Wrapper (line 36) | public static class Wrapper {
method resolveAsBeanProperty (line 47) | private io.swagger.v3.oas.models.media.Schema resolveAsBeanProperty(
method resolveAsPolymorphicSubtype (line 69) | private io.swagger.v3.oas.models.media.Schema resolveAsPolymorphicSubt...
method resolveAsStandaloneSchema (line 82) | private io.swagger.v3.oas.models.media.Schema resolveAsStandaloneSchema(
method subtypeResolution_shouldMatchStandalone_andNotBleedFromPropertyContext (line 92) | @Test
method polymorphicSubtype_mustContainSubtypeFragment_notJustBaseRef (line 170) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/SwaggerSerializerTest.java
class SwaggerSerializerTest (line 40) | public class SwaggerSerializerTest {
method convertSpec (line 42) | @Test(description = "it should convert a spec")
method readUberApi (line 133) | @Test(description = "it should read the uber api")
method writeSpecWithParameterReferences (line 140) | @Test(description = "it should write a spec with parameter references")
method prettyPrintTest (line 179) | @Test
method exceptionsTest (line 192) | @Test
class ThrowHelper (line 211) | static class ThrowHelper {
method getValue (line 215) | public String getValue() throws IOException {
method setValue (line 219) | public void setValue(String value) {
method testDynamicRefSerialization (line 224) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/CustomAnnotationConverter.java
class CustomAnnotationConverter (line 14) | public class CustomAnnotationConverter extends ModelResolver {
method CustomAnnotationConverter (line 16) | public CustomAnnotationConverter(ObjectMapper mapper) {
method resolve (line 20) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/CustomConverterTest.java
class CustomConverterTest (line 18) | public class CustomConverterTest {
method testCustomConverter (line 20) | @Test(description = "it should ignore properties with type Bar")
class CustomConverter (line 37) | class CustomConverter implements ModelConverter {
method resolve (line 39) | @Override
class Foo (line 55) | class Foo {
class Bar (line 60) | class Bar {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/CustomResolverTest.java
class CustomResolverTest (line 17) | public class CustomResolverTest {
method testCustomConverter (line 19) | @Test(description = "it should ignore properties with type Bar")
method testCustomRequiredModeBasedUponTypeConverter (line 41) | @Test(description = "it should set the required mode based upon the fi...
class CustomConverter (line 72) | class CustomConverter extends ModelResolver {
method CustomConverter (line 74) | public CustomConverter(ObjectMapper mapper) {
class QualifiedTypeNameResolver (line 79) | class QualifiedTypeNameResolver extends TypeNameResolver {
method nameForClass (line 81) | @Override
class RequiredModeBasedUponFieldTypeResolver (line 93) | class RequiredModeBasedUponFieldTypeResolver extends ModelResolver {
method RequiredModeBasedUponFieldTypeResolver (line 95) | public RequiredModeBasedUponFieldTypeResolver(ObjectMapper mapper) {
method resolveRequiredMode (line 99) | @Override
class SuperFoo (line 109) | class SuperFoo {
class Foo (line 116) | class Foo {
class Bar (line 121) | class Bar {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/GenericModelConverter.java
class GenericModelConverter (line 14) | public class GenericModelConverter extends AbstractModelConverter {
method GenericModelConverter (line 16) | protected GenericModelConverter() {
method resolve (line 20) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/ModelPropertyOverrideTest.java
class ModelPropertyOverrideTest (line 13) | public class ModelPropertyOverrideTest {
method overrideTest (line 14) | @Test
method extendedOverrideTest (line 35) | @Test
class MyPojo (line 57) | public static class MyPojo {
method getId (line 58) | public String getId() {
method setId (line 62) | public void setId(String id) {
method getMyCustomClass (line 65) | @io.swagger.v3.oas.annotations.media.Schema(required = false, descri...
method setMyCustomClass (line 70) | public void setMyCustomClass(MyCustomClass myCustomClass) {
method customAnnotationTest (line 74) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/OverrideTest.java
class OverrideTest (line 13) | public class OverrideTest {
method test (line 17) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SamplePropertyConverter.java
class SamplePropertyConverter (line 17) | public class SamplePropertyConverter implements ModelConverter {
method resolve (line 19) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SamplePropertyExtendedConverter.java
class SamplePropertyExtendedConverter (line 19) | public class SamplePropertyExtendedConverter extends ModelResolver {
method SamplePropertyExtendedConverter (line 21) | public SamplePropertyExtendedConverter(ObjectMapper mapper) {
method resolve (line 25) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SnakeCaseConverterTest.java
class SnakeCaseConverterTest (line 24) | public class SnakeCaseConverterTest {
method testConvert (line 26) | @Test(description = "it should change naming style")
class SnakeCaseConverter (line 68) | class SnakeCaseConverter implements ModelConverter {
method resolve (line 72) | @Override
method toSnakeCase (line 107) | private String toSnakeCase(String str) {
class SnakeCaseModel (line 120) | @XmlRootElement(name = "snakeCaseModel")
class Bar (line 126) | class Bar {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/resources/GenericModel.java
class GenericModel (line 7) | public class GenericModel {
method declareProperty (line 11) | public static void declareProperty(String key, Class<?> cls) {
method getDeclaredProperties (line 15) | public static Map<String, Class<?>> getDeclaredProperties() {
method undeclareProperty (line 19) | public static void undeclareProperty(String key) {
method setProperty (line 23) | public void setProperty(String key, Object value) {
method getProperty (line 29) | public Object getProperty(String key) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/resources/MyCustomClass.java
class MyCustomClass (line 3) | public class MyCustomClass {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/ComprehensiveOAS31ValidationTest.java
class ComprehensiveOAS31ValidationTest (line 19) | public class ComprehensiveOAS31ValidationTest {
method testComprehensiveOAS31Validation (line 26) | @Test
method testComprehensiveOAS31YamlRoundTrip (line 75) | @Test
method testComprehensiveOAS31JsonRoundTrip (line 123) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/JsonDeserializationTest.java
class JsonDeserializationTest (line 36) | public class JsonDeserializationTest {
method testPetstore (line 39) | @Test(description = "it should deserialize the petstore")
method testCompositionTest (line 46) | @Test(description = "it should deserialize the composition test")
method testObjectProperty (line 62) | @Test(description = "it should deserialize a simple ObjectProperty")
method testNestedObjectProperty (line 88) | @Test(description = "it should deserialize nested ObjectProperty(s)")
method testDeserializePetStoreFile (line 124) | @Test
method testDeserializeCompositionTest (line 129) | @Test
method testDeserializeAPathRef (line 134) | @Test
method testDeserializeAResponseRef (line 144) | @Test
method assertIsRefResponse (line 156) | private void assertIsRefResponse(Object response, String expectedRef) {
method testDeserializeSecurity (line 163) | @Test
method deserializeHeaderWithStyle (line 233) | @Test(description = "it should deserialize a Header with style")
method deserializeEncodingWithStyle (line 240) | @Test(description = "it should deserialize an Encoding with style")
method deserializeEncodingPropertyWithStyle (line 247) | @Test(description = "it should deserialize an EncodingProperty with st...
method deserializeLongSchema (line 254) | @Test(description = "it should desserialize Long schema correctly")
method deserializeDateExample (line 267) | @Test
method testDeserializeRefCallback (line 279) | @Test(description = "Deserialize ref callback")
method testNullEnumItem (line 308) | @Test(description = "Deserialize null enum item")
method testNullExampleDeserialization (line 378) | @Test
method testNullExampleAndValues (line 415) | @Test
method testExampleDeserializationOnMediaType (line 529) | @Test
method testDateSchemaSerialization (line 545) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/ObjectPropertyTest.java
class ObjectPropertyTest (line 15) | public class ObjectPropertyTest {
method readModelWithObjectProperty (line 16) | @Test(description = "convert a model with object properties")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/OpenAPI3_1DeserializationTest.java
class OpenAPI3_1DeserializationTest (line 22) | public class OpenAPI3_1DeserializationTest {
method deserializePetstore3_1 (line 24) | @Test
method deserializePetstore3_1More (line 33) | @Test
method deserializePetstore3_0 (line 43) | @Test
method deserializeChangelog3_1 (line 52) | @Test
method testDeserializationOnOAS31 (line 63) | @Test
method testDeserializationOnOAS30 (line 138) | @Test
method testRefDeserializationOnOAS31 (line 199) | @Test
method testBooleanSchemaDeserialization (line 231) | @Test
method testDynamicRefDeserializationOnOAS31 (line 256) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/ParameterDeSerializationTest.java
class ParameterDeSerializationTest (line 21) | public class ParameterDeSerializationTest {
method deserializeQueryParameter (line 24) | @Test(description = "it should deserialize a QueryParameter")
method deserializeQueryParameterWithStyle (line 31) | @Test(description = "it should deserialize a QueryParameter with style")
method deserializeArrayQueryParameter (line 38) | @Test(description = "it should deserialize a QueryParameter with array")
method deserializePathParameter (line 54) | @Test(description = "it should deserialize a PathParameter")
method deserializeStringArrayPathParameter (line 62) | @Test(description = "it should deserialize a PathParameter with string...
method deserializeIntegerArrayPathParameter (line 69) | @Test(description = "it should deserialize a PathParameter with intege...
method deserializeHeaderParameter (line 85) | @Test(description = "it should deserialize a HeaderParameter")
method deserializeStringArrayHeaderParameter (line 92) | @Test(description = "it should deserialize a string array HeaderParame...
method deserializeBodyParameter (line 99) | @Test(description = "it should deserialize a BodyParameter")
method deserializeReadOnlyParameter (line 111) | @Test(description = "it should deserialize a read only parameter")
method deserializeArrayBodyParameter (line 124) | @Test(description = "it should deserialize an array BodyParameter")
method deserializeEnumPathParameter (line 131) | @Test(description = "it should deserialize a path parameter with enum")
method deserializeNumberEnumPathParameter (line 150) | @Test(description = "it should deserialize a number path parameter wit...
method testIssue1765 (line 170) | @Test(description = "should serialize correctly typed numeric enums")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/SchemaDeserializationTest.java
class SchemaDeserializationTest (line 13) | public class SchemaDeserializationTest {
method deserializeRefSchema3_1 (line 15) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/properties/ArrayPropertyDeserializerTest.java
class ArrayPropertyDeserializerTest (line 15) | public class ArrayPropertyDeserializerTest {
method testArrayDeserialization (line 35) | @Test(description = "it should includes the example in the arrayproper...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/properties/JsonPropertiesDeserializationTest.java
class JsonPropertiesDeserializationTest (line 20) | public class JsonPropertiesDeserializationTest {
method testDeserializeConstrainedStringProperty (line 22) | @Test(description = "should deserialize a string property with constra...
method testDeserializeConstrainedArrayProperties (line 34) | @Test(description = "should deserialize an array property with constra...
method testDeserializePropertyWithVendorExtensions (line 66) | @Test(description = "should deserialize a property with vendor extensi...
method assertVendorExtensions (line 85) | private void assertVendorExtensions(Map<String, Object> vendorExtensio...
method shouldDeserializeArrayPropertyMinItems (line 118) | @Test
method shouldDeserializeArrayPropertyMaxItems (line 127) | @Test
method shouldDeserializeArrayPropertyUniqueItems (line 136) | @Test
method givenMapProperty_shouldDeserializeMinProperties (line 145) | @Test
method givenMapProperty_shouldDeserializeMaxProperties (line 154) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/properties/MapPropertyDeserializerTest.java
class MapPropertyDeserializerTest (line 19) | public class MapPropertyDeserializerTest {
method testMapDeserialization (line 119) | @Test(description = "it should deserialize a response per #1349")
method testBooleanAdditionalPropertiesDeserialization (line 134) | @Test(description = "it should deserialize a boolean additionalPropert...
method testBooleanAdditionalPropertiesSerialization (line 160) | @Test(description = "it should serialize a boolean additionalProperties")
method testMapDeserializationVendorExtensions (line 189) | @Test(description = "vendor extensions should be included with object ...
method testIssue1261InlineSchemaExample (line 204) | @Test(description = "it should read an example within an inlined schema")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/deserialization/properties/PropertyDeserializerTest.java
class PropertyDeserializerTest (line 13) | public class PropertyDeserializerTest {
method deserializeParameterWithMinimumMaximumValues (line 14) | @Test
method deserializePropertyWithMinimumMaximumValues (line 33) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/SpecFilterTest.java
class SpecFilterTest (line 48) | public class SpecFilterTest {
method cloneEverything (line 72) | @Test(description = "it should clone everything")
method filterAwayGetOperations (line 80) | @Test(description = "it should filter away get operations in a resource")
method filterAwayPetResource (line 95) | @Test(description = "it should filter away the pet resource")
method replaceGetResources (line 115) | @Test(description = "it should replace away with a new operation")
method changeGetResources (line 122) | @Test(description = "it should change away with a new operation")
method assertOperations (line 129) | private void assertOperations(OpenAPI filtered, String operationId, St...
method filterAwayOpenAPI (line 143) | @Test(description = "it should filter an openAPI object")
method filterAwayPathItemWithoutRef (line 150) | @Test(description = "it should filter any PathItem objects without Ref")
method filterAwayQueryParameters (line 157) | @Test(description = "it should filter any query parameter")
method validateParameters (line 174) | private void validateParameters(Operation operation) {
method cloneEverythingConcurrent (line 182) | @Test(description = "it should clone everything concurrently")
class FailureHandler (line 204) | class FailureHandler implements Runnable {
method FailureHandler (line 209) | private FailureHandler(ThreadGroup tg, Map<String, OpenAPI> filtered...
method run (line 215) | @Override
method cloneWithoutModels (line 234) | @Test(description = "it should clone everything from JSON without mode...
method shouldRemoveBrokenRefs (line 243) | @Test
method shouldRemoveBrokenNestedRefs (line 256) | @Test
method shouldRemoveBrokenNestedRefsKeepArray (line 287) | @Test
method shouldRemoveBrokenNestedRefsKeepComposedSchemas (line 297) | @Test
method shouldNotRemoveGoodRefs (line 310) | @Test
method filterAwayPetRefInSchemas (line 321) | @Test(description = "it should filter any Pet Ref in Schemas")
method validateSchemasInComponents (line 328) | private void validateSchemasInComponents(Components components, String...
method filterAwaySecretParameters (line 336) | @Test(description = "it should filter away secret parameters")
method filterAwayInternalModelProperties (line 359) | @Test(description = "it should filter away internal model properties")
method retainNonBrokenReferenceModelComposedProperties (line 372) | @Test(description = "it should retain non-broken reference model compo...
method removeUnreferencedDefinitionsOfRecuriveModels (line 391) | @Test(description = "recursive models, e.g. A-> A or A-> B and B -> A ...
method removeUnreferencedModelOverride (line 402) | @Test(description = "broken references should not result in NPE")
method retainModelsReferencesFromAdditionalProperties (line 411) | @Test(description = "Retain models referenced from additonalProperties")
method cloneRetainDeperecatedFlags (line 421) | @Test(description = "Clone should retain any 'deperecated' flags prese...
method shouldContainAllTopLevelTags (line 434) | @Test(description = "it should contain all tags in the top level OpenA...
method shouldNotContainTopLevelUserTags (line 442) | @Test(description = "it should not contain user tags in the top level ...
method filterWithNullDefinitions (line 451) | @Test(description = "it should filter with null definitions")
method testTicket4737 (line 461) | @Test(description = "RemoveUnreferencedDefinitionsFilter should not re...
method shouldNotRemoveUsedDefinitions (line 469) | @Test
method getTagNames (line 485) | private Set getTagNames(OpenAPI openAPI) {
method getOpenAPI (line 495) | private OpenAPI getOpenAPI(String path) throws IOException {
method getOpenAPI31 (line 500) | private OpenAPI getOpenAPI31(String path) throws IOException {
method getOpenAPIYaml (line 505) | private OpenAPI getOpenAPIYaml(String path) throws IOException {
method getOpenAPIYaml31 (line 510) | private OpenAPI getOpenAPIYaml31(String path) throws IOException {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/ChangeGetOperationsFilter.java
class ChangeGetOperationsFilter (line 14) | public class ChangeGetOperationsFilter extends AbstractSpecFilter {
method filterOperation (line 19) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/InternalModelPropertiesRemoverFilter.java
class InternalModelPropertiesRemoverFilter (line 15) | public class InternalModelPropertiesRemoverFilter extends AbstractSpecFi...
method filterSchemaProperty (line 16) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoCategoryRefSchemaFilter.java
class NoCategoryRefSchemaFilter (line 11) | public class NoCategoryRefSchemaFilter extends AbstractSpecFilter {
method filterSchemaProperty (line 14) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoGetOperationsFilter.java
class NoGetOperationsFilter (line 14) | public class NoGetOperationsFilter extends AbstractSpecFilter {
method filterOperation (line 17) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoOpOperationsFilter.java
class NoOpOperationsFilter (line 8) | public class NoOpOperationsFilter extends AbstractSpecFilter {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoOpenAPIFilter.java
class NoOpenAPIFilter (line 13) | public class NoOpenAPIFilter extends AbstractSpecFilter {
method filterOpenAPI (line 17) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoParametersWithoutQueryInFilter.java
class NoParametersWithoutQueryInFilter (line 15) | public class NoParametersWithoutQueryInFilter extends AbstractSpecFilter {
method filterParameter (line 18) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoPathItemFilter.java
class NoPathItemFilter (line 15) | public class NoPathItemFilter extends AbstractSpecFilter {
method filterPathItem (line 16) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoPetOperationsFilter.java
class NoPetOperationsFilter (line 14) | public class NoPetOperationsFilter extends AbstractSpecFilter {
method filterOperation (line 18) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoPetRefSchemaFilter.java
class NoPetRefSchemaFilter (line 11) | public class NoPetRefSchemaFilter extends AbstractSpecFilter {
method filterSchema (line 14) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/NoTagRefSchemaPropertyFilter.java
class NoTagRefSchemaPropertyFilter (line 11) | public class NoTagRefSchemaPropertyFilter extends AbstractSpecFilter {
method filterSchemaProperty (line 14) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/RemoveInternalParamsFilter.java
class RemoveInternalParamsFilter (line 16) | public class RemoveInternalParamsFilter extends AbstractSpecFilter {
method filterParameter (line 17) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/RemoveUnreferencedDefinitionsFilter.java
class RemoveUnreferencedDefinitionsFilter (line 8) | public class RemoveUnreferencedDefinitionsFilter extends AbstractSpecFil...
method isRemovingUnreferencedDefinitions (line 9) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/filter/resources/ReplaceGetOperationsFilter.java
class ReplaceGetOperationsFilter (line 14) | public class ReplaceGetOperationsFilter extends AbstractSpecFilter {
method filterOperation (line 19) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/issues/Issue4339Test.java
class Issue4339Test (line 28) | public class Issue4339Test {
method testNullableStringWithNullExampleAndDefault_OAS30 (line 31) | @Test
method testNullableIntegerWithNullExampleAndDefault_OAS30 (line 56) | @Test
method testNullableBigDecimalWithNullExampleAndDefault_OAS30 (line 82) | @Test
method testNullableBooleanWithNullExampleAndDefault_OAS30 (line 107) | @Test
method testNullableObjectWithNullExampleAndDefault_OAS30 (line 133) | @Test
method testNullableStringWithNullExampleAndDefault_OAS31 (line 159) | @Test
method testNullableIntegerWithNullExampleAndDefault_OAS31 (line 184) | @Test
method testNullableBigDecimalWithNullExampleAndDefault_OAS31 (line 209) | @Test
method testNullableBooleanWithNullExampleAndDefault_OAS31 (line 235) | @Test
method testNullableObjectWithNullExampleAndDefault_OAS31 (line 262) | @Test
method testNullableWithoutExampleOrDefault_OAS30 (line 288) | @Test
method testNullableWithoutExampleOrDefault_OAS31 (line 324) | @Test
method testNullableWithDefaultOnly_OAS30 (line 360) | @Test
method testNullableWithExampleOnly_OAS30 (line 381) | @Test
method testNonNullableStringWithNullExampleAndDefault_OAS30 (line 409) | @Test
method testNonNullableStringWithNullExampleAndDefault_OAS31 (line 440) | @Test
method testNonNullableBooleanWithNullExampleAndDefault_OAS30 (line 469) | @Test
method testNonNullableIntegerWithNullExampleAndDefault_OAS31 (line 499) | @Test
method testIssue4229_NullableIntegerWithNullExample (line 530) | @Test
method testNullableStringWithNullInExamplesArray_OAS31 (line 562) | @Test
method testNullableIntegerWithMultipleExamplesIncludingNull_OAS31 (line 592) | @Test
method testExamplesArrayNotSetInOAS30 (line 629) | @Test
method testExamplesArrayTakesPrecedenceOverExample_OAS31 (line 655) | @Test
method isNullableInOAS31 (line 687) | private boolean isNullableInOAS31(io.swagger.v3.oas.models.media.Schem...
class NullableStringModel (line 696) | public static class NullableStringModel {
method getNullableStringField (line 700) | public String getNullableStringField() {
method setNullableStringField (line 704) | public void setNullableStringField(String nullableStringField) {
class NullableIntegerModel (line 709) | public static class NullableIntegerModel {
method getNullableIntegerField (line 713) | public Integer getNullableIntegerField() {
method setNullableIntegerField (line 717) | public void setNullableIntegerField(Integer nullableIntegerField) {
class NullableBigDecimalModel (line 722) | public static class NullableBigDecimalModel {
method getNullableBigDecimalField (line 726) | public BigDecimal getNullableBigDecimalField() {
method setNullableBigDecimalField (line 730) | public void setNullableBigDecimalField(BigDecimal nullableBigDecimal...
class NullableBooleanModel (line 735) | public static class NullableBooleanModel {
method getNullableBooleanField (line 739) | public Boolean getNullableBooleanField() {
method setNullableBooleanField (line 743) | public void setNullableBooleanField(Boolean nullableBooleanField) {
class NullableObjectModel (line 748) | public static class NullableObjectModel {
method getNullableObjectField (line 752) | public Object getNullableObjectField() {
method setNullableObjectField (line 756) | public void setNullableObjectField(Object nullableObjectField) {
class NullableWithoutExampleDefaultModel (line 762) | public static class NullableWithoutExampleDefaultModel {
method getStringField (line 772) | public String getStringField() {
method setStringField (line 776) | public void setStringField(String stringField) {
method getIntegerField (line 780) | public Integer getIntegerField() {
method setIntegerField (line 784) | public void setIntegerField(Integer integerField) {
method getBooleanField (line 788) | public Boolean getBooleanField() {
method setBooleanField (line 792) | public void setBooleanField(Boolean booleanField) {
class NullableWithDefaultOnlyModel (line 797) | public static class NullableWithDefaultOnlyModel {
method getStringField (line 801) | public String getStringField() {
method setStringField (line 805) | public void setStringField(String stringField) {
class NullableWithExampleOnlyModel (line 810) | public static class NullableWithExampleOnlyModel {
method getStringField (line 814) | public String getStringField() {
method setStringField (line 818) | public void setStringField(String stringField) {
class NonNullableStringModel (line 826) | public static class NonNullableStringModel {
method getStringField (line 830) | public String getStringField() {
method setStringField (line 834) | public void setStringField(String stringField) {
class NonNullableBooleanModel (line 839) | public static class NonNullableBooleanModel {
method getBooleanField (line 843) | public Boolean getBooleanField() {
method setBooleanField (line 847) | public void setBooleanField(Boolean booleanField) {
class NonNullableIntegerModel (line 852) | public static class NonNullableIntegerModel {
method getIntegerField (line 856) | public Integer getIntegerField() {
method setIntegerField (line 860) | public void setIntegerField(Integer integerField) {
class Issue4229TestData (line 869) | public static class Issue4229TestData {
method getId (line 873) | public Integer getId() {
method setId (line 877) | public void setId(Integer id) {
class NullableStringWithExamplesModel (line 885) | public static class NullableStringWithExamplesModel {
method getStringField (line 889) | public String getStringField() {
method setStringField (line 893) | public void setStringField(String stringField) {
class NullableIntegerWithMultipleExamplesModel (line 901) | public static class NullableIntegerWithMultipleExamplesModel {
method getIntegerField (line 905) | public Integer getIntegerField() {
method setIntegerField (line 909) | public void setIntegerField(Integer integerField) {
class BothExampleAndExamplesModel (line 919) | public static class BothExampleAndExamplesModel {
method getStringField (line 923) | public String getStringField() {
method setStringField (line 927) | public void setStringField(String stringField) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/issues/Issue4838Test.java
class Issue4838Test (line 21) | public class Issue4838Test {
method defaultValueShouldBeEmptyForStringFieldInOas30 (line 23) | @Test
method defaultValueShouldBeNullForIntegerFieldInOas30 (line 39) | @Test
method defaultValueShouldBeProvidedFromBigDecimalSchemaForOas30 (line 56) | @Test
method defaultValueShouldBeNullProvidedFromBooleanSchemaForOas30 (line 73) | @Test
method defaultValueShouldBeEmptyForStringFieldInOas31 (line 89) | @Test
method defaultValueShouldBeNullForIntegerFieldInOas31 (line 105) | @Test
method defaultValueShouldBeProvidedFromBigDecimalSchemaForOas31 (line 121) | @Test
method defaultValueShouldBeNullProvidedFromBooleanSchemaForOas31 (line 138) | @Test
method getModelConverterContext (line 154) | private static @NonNull ModelConverterContextImpl getModelConverterCon...
method isNullableInOAS31 (line 162) | private boolean isNullableInOAS31(io.swagger.v3.oas.models.media.Schem...
class NullableStringModel (line 166) | public static class NullableStringModel {
method getNullableStringField (line 170) | public String getNullableStringField() {
method setNullableStringField (line 174) | public void setNullableStringField(String nullableStringField) {
class NullableIntegerModel (line 179) | public static class NullableIntegerModel {
method getNullableIntegerField (line 183) | public Integer getNullableIntegerField() {
method setNullableIntegerField (line 187) | public void setNullableIntegerField(Integer nullableIntegerField) {
class NullableBigDecimalModel (line 192) | public static class NullableBigDecimalModel {
method getNullableBigDecimalField (line 196) | public BigDecimal getNullableBigDecimalField() {
method setNullableBigDecimalField (line 200) | public void setNullableBigDecimalField(BigDecimal nullableBigDecimal...
class NullableBooleanModel (line 205) | public static class NullableBooleanModel {
method getNullableBooleanField (line 209) | public Boolean getNullableBooleanField() {
method setNullableBooleanField (line 213) | public void setNullableBooleanField(Boolean nullableBooleanField) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/issues/Issue5001Test.java
class Issue5001Test (line 30) | public class Issue5001Test {
method testNullableWithOAS31 (line 35) | @Test
method testNullableWithOAS30 (line 74) | @Test
method testExplicitSchemaAnnotationsWithOAS31 (line 105) | @Test
class NullableModel (line 145) | public static class NullableModel {
method getNullableString (line 151) | public String getNullableString() {
method setNullableString (line 155) | public void setNullableString(String nullableString) {
method getRequiredString (line 159) | public String getRequiredString() {
method setRequiredString (line 163) | public void setRequiredString(String requiredString) {
class ExplicitSchemaModel (line 171) | public static class ExplicitSchemaModel {
method getExplicitNullableString (line 178) | public String getExplicitNullableString() {
method setExplicitNullableString (line 182) | public void setExplicitNullableString(String explicitNullableString) {
method getExplicitTypesString (line 186) | public String getExplicitTypesString() {
method setExplicitTypesString (line 190) | public void setExplicitTypesString(String explicitTypesString) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/matchers/SerializationMatchers.java
class SerializationMatchers (line 19) | public class SerializationMatchers {
method assertEqualsToYaml (line 22) | public static void assertEqualsToYaml(Object objectToSerialize, String...
method assertEqualsToJson (line 26) | public static void assertEqualsToJson(Object objectToSerialize, String...
method assertEqualsToYaml31 (line 30) | public static void assertEqualsToYaml31(Object objectToSerialize, Stri...
method assertEqualsToJson31 (line 34) | public static void assertEqualsToJson31(Object objectToSerialize, Stri...
method apply (line 38) | private static void apply(Object objectToSerialize, String str, Object...
method apply31 (line 51) | private static void apply31(Object objectToSerialize, String str, Obje...
class ObjectNodeComparator (line 64) | static final class ObjectNodeComparator implements Comparator<JsonNode> {
method compare (line 65) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Address.java
class Address (line 5) | public class Address {
method getStreetNumber (line 8) | @XmlElement(name = "streetNumber")
method setStreetNumber (line 13) | public void setStreetNumber(Integer streetNumber) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ApiFirstRequiredFieldModel.java
class ApiFirstRequiredFieldModel (line 10) | @XmlRootElement
method getA (line 14) | @Schema(name = "bla", required = true)
method getC (line 20) | public String getC() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/BeanValidationsModel.java
class BeanValidationsModel (line 15) | public class BeanValidationsModel {
method getId (line 48) | public Long getId() {
method setId (line 52) | public void setId(Long id) {
method getAge (line 56) | public Integer getAge() {
method setAge (line 60) | public void setAge(Integer age) {
method getUsername (line 64) | public String getUsername() {
method setUsername (line 68) | public void setUsername(String username) {
method getPassword (line 72) | public String getPassword() {
method setPassword (line 76) | public void setPassword(String password) {
method getPasswordHint (line 80) | public String getPasswordHint() {
method setPasswordHint (line 84) | public void setPasswordHint(String passwordHint) {
method getEmail (line 88) | public String getEmail() {
method setEmail (line 92) | public void setEmail(String email) {
method getMinBalance (line 96) | public Double getMinBalance() {
method setMinBalance (line 100) | public void setMinBalance(Double minBalance) {
method getMaxBalance (line 104) | public Double getMaxBalance() {
method setMaxBalance (line 108) | public void setMaxBalance(Double maxBalance) {
method getBirthYear (line 112) | public Integer getBirthYear() {
method setBirthYear (line 116) | public void setBirthYear(Integer birthYear) {
method getItems (line 120) | public List<String> getItems() {
method setItems (line 124) | public void setItems(List<String> items) {
method getOptionalValue (line 128) | public Optional<String> getOptionalValue() {
method setOptionalValue (line 132) | public void setOptionalValue(Optional<String> optionalValue) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Car.java
class Car (line 5) | public class Car {
method getWheelCount (line 6) | @Schema(accessMode = Schema.AccessMode.READ_ONLY)
method setWheelCount (line 11) | public void setWheelCount(Integer wheelCount) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Cat.java
type Cat (line 6) | @Schema
method getClawCount (line 8) | Integer getClawCount();
method setClawCount (line 10) | void setClawCount(Integer name);
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Children.java
class Children (line 3) | public class Children {
method getName (line 4) | public String getName() {
method setName (line 8) | public void setName(String name) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ClientOptInput.java
class ClientOptInput (line 7) | public class ClientOptInput {
method getOpts (line 12) | public String getOpts() {
method setOpts (line 16) | public void setOpts(String opts) {
method getModel (line 20) | @Schema(hidden = true)
method setModel (line 25) | public void setModel(JsonNode model) {
method getSwagger (line 29) | @Schema(type = "Object")
method setSwagger (line 34) | public void setSwagger(OpenAPI swagger) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Department.java
class Department (line 18) | @XmlRootElement(name = "department")
method Department (line 30) | public Department() {
method getName (line 33) | @XmlElement
method setName (line 40) | public void setName(String name) {
method getDeptCode (line 44) | @XmlElement
method setDeptCode (line 51) | public void setDeptCode(String deptCode) {
method getParent (line 55) | @JsonProperty("parentDepartment")
method setParent (line 65) | public void setParent(Link<Department> parent) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Employee.java
class Employee (line 19) | @XmlRootElement(name = "employee")
method Employee (line 34) | public Employee() {
method getId (line 38) | @XmlElement
method setId (line 45) | public void setId(int id) {
method getFirstName (line 49) | @XmlElement
method setFirstName (line 56) | public void setFirstName(String firstName) {
method getLastName (line 60) | @XmlElement
method setLastName (line 67) | public void setLastName(String lastName) {
method getDept (line 71) | @JsonProperty("department")
method setDept (line 78) | public void setDept(Link<Department> dept) {
method getManager (line 82) | @JsonProperty("manager")
method setManager (line 89) | public void setManager(Link<Employee> manager) {
method getSubordinates (line 93) | @JsonProperty("team")
method setSubordinates (line 100) | public void setSubordinates(Set<Link<Employee>> subordinates) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/EmptyModel.java
class EmptyModel (line 3) | public class EmptyModel {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Error.java
class Error (line 3) | public class Error {
method Error (line 7) | public Error() {
method Error (line 10) | public Error(int code, String message) {
method getCode (line 15) | public int getCode() {
method setCode (line 19) | public void setCode(int code) {
method getMessage (line 23) | public String getMessage() {
method setMessage (line 27) | public void setMessage(String message) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/GuavaModel.java
class GuavaModel (line 5) | public class GuavaModel {
method getName (line 8) | public Optional<String> getName() {
method setName (line 12) | public void setName(Optional<String> name) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Issue534.java
class Issue534 (line 9) | public class Issue534 {
method getOrder_specials (line 12) | @XmlElementWrapper(name = "order_specials")
method setOrder_specials (line 19) | public void setOrder_specials(List<SpecialOrderItem> items) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JCovariantGetter.java
class JCovariantGetter (line 5) | public abstract class JCovariantGetter {
method getMyProperty (line 6) | @Schema
method getMyOtherProperty (line 11) | @Schema
class Sub (line 16) | public static class Sub extends JCovariantGetter {
method getMyProperty (line 17) | @Override
method getMyOtherProperty (line 22) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonIntegerValueEnum.java
type JacksonIntegerValueEnum (line 9) | public enum JacksonIntegerValueEnum {
method JacksonIntegerValueEnum (line 17) | JacksonIntegerValueEnum(int value) {
method getValue (line 21) | @JsonValue
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonIntegerValueFieldEnum.java
type JacksonIntegerValueFieldEnum (line 9) | public enum JacksonIntegerValueFieldEnum {
method JacksonIntegerValueFieldEnum (line 18) | JacksonIntegerValueFieldEnum(int value) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonPropertyEnum.java
type JacksonPropertyEnum (line 6) | public enum JacksonPropertyEnum {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonReadonlyModel.java
class JacksonReadonlyModel (line 6) | public class JacksonReadonlyModel {
method getCount (line 7) | @JsonProperty (access = JsonProperty.Access.READ_ONLY)
method setCount (line 12) | @JsonIgnore
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonValueEnum.java
type JacksonValueEnum (line 9) | public enum JacksonValueEnum {
method JacksonValueEnum (line 17) | JacksonValueEnum(String value) {
method getValue (line 21) | @JsonValue
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonValueFieldEnum.java
type JacksonValueFieldEnum (line 9) | public enum JacksonValueFieldEnum {
method JacksonValueFieldEnum (line 18) | JacksonValueFieldEnum(String value) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JacksonValuePrivateEnum.java
type JacksonValuePrivateEnum (line 9) | public enum JacksonValuePrivateEnum {
method JacksonValuePrivateEnum (line 17) | JacksonValuePrivateEnum(String value) {
method getValue (line 21) | @JsonValue
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/JodaDateTimeModel.java
class JodaDateTimeModel (line 5) | public class JodaDateTimeModel {
method getCreatedAt (line 8) | public DateTime getCreatedAt() {
method setCreatedAt (line 12) | public void setCreatedAt(DateTime createdAt) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Link.java
class Link (line 18) | @XmlRootElement(name = "link")
method Link (line 30) | public Link() {
method getHref (line 33) | @XmlElement
method setHref (line 40) | public void setHref(String href) {
method getRel (line 44) | @XmlElement
method setRel (line 51) | public void setRel(String rel) {
method getStatus (line 55) | @XmlElement
method setStatus (line 62) | public void setStatus(String status) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Manufacturers.java
class Manufacturers (line 5) | public class Manufacturers {
method getCountries (line 8) | public HashSet<String> getCountries() {
method setCountries (line 12) | public void setCountries(HashSet<String> countries) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Model1155.java
class Model1155 (line 3) | public class Model1155 {
method isValid (line 11) | public boolean isValid() {
method setValid (line 15) | public void setValid(boolean valid) {
method getValue (line 19) | public String getValue() {
method setValue (line 23) | public void setValue(String value) {
method is_persistent (line 28) | public boolean is_persistent() {
method gettersAndHaters (line 33) | public String gettersAndHaters() {
method isometric (line 38) | boolean isometric() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Model1979.java
class Model1979 (line 5) | public class Model1979 {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelExampleTest.java
class ModelExampleTest (line 11) | public class ModelExampleTest {
method createModel (line 12) | @Test(description = "it should create a model")
method createModelWithExample (line 20) | @Test(description = "it should create a model with example")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelPropertyName.java
class ModelPropertyName (line 3) | public class ModelPropertyName {
method is_persistent (line 4) | public boolean is_persistent() {
method gettersAndHaters (line 8) | public String gettersAndHaters() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithAltPropertyName.java
class ModelWithAltPropertyName (line 5) | @Schema(name = "sample_model")
method getId (line 9) | @Schema(
method setId (line 17) | public void setId(int id) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithApiModel.java
class ModelWithApiModel (line 5) | @Schema(name = "MyModel")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithArrayOfSubclasses.java
class ModelWithArrayOfSubclasses (line 7) | public class ModelWithArrayOfSubclasses {
class Holder (line 9) | @Schema(description = "The holder")
class Base (line 13) | @Schema(
method getName (line 25) | public String getName() {
class SubA (line 30) | @Schema(description = "The SubA class")
method getCount (line 35) | public Long getCount() {
class SubB (line 40) | @Schema(description = "The SubB class")
method getFriend (line 46) | public String getFriend() {
method getBaseArray (line 50) | @ArraySchema(
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithBooleanProperty.java
class ModelWithBooleanProperty (line 5) | public class ModelWithBooleanProperty {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithEnumArray.java
class ModelWithEnumArray (line 5) | public class ModelWithEnumArray {
method getActions (line 8) | public Set<Action> getActions() {
type Action (line 12) | public enum Action {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithEnumField.java
class ModelWithEnumField (line 3) | public class ModelWithEnumField {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithEnumProperty.java
class ModelWithEnumProperty (line 3) | public class ModelWithEnumProperty {
method getEnumValue (line 6) | public TestEnum getEnumValue() {
method setEnumValue (line 10) | public void setEnumValue(TestEnum e) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithEnumRefProperty.java
class ModelWithEnumRefProperty (line 5) | public class ModelWithEnumRefProperty {
method getA (line 14) | @Schema(enumAsRef = true)
method setA (line 19) | public void setA(TestEnum e) {
method getB (line 23) | @Schema(enumAsRef = true)
method setB (line 28) | public void setB(TestEnum b) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithFormattedStrings.java
class ModelWithFormattedStrings (line 8) | public class ModelWithFormattedStrings {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithJAXBAnnotations.java
class ModelWithJAXBAnnotations (line 11) | @XmlRootElement(name = "rootName")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithJacksonEnumField.java
class ModelWithJacksonEnumField (line 6) | public class ModelWithJacksonEnumField {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithJaxBDefaultValues.java
class ModelWithJaxBDefaultValues (line 6) | @XmlRootElement
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithModelPropertyOverrides.java
class ModelWithModelPropertyOverrides (line 6) | public class ModelWithModelPropertyOverrides {
method getChildren (line 10) | public String getChildren() {
method setChildren (line 14) | public void setChildren(String children) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithNumbers.java
class ModelWithNumbers (line 6) | public class ModelWithNumbers {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithOffset.java
class ModelWithOffset (line 5) | public class ModelWithOffset {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithPrimitiveArray.java
class ModelWithPrimitiveArray (line 3) | public class ModelWithPrimitiveArray {
method getLongArray (line 8) | public long[] getLongArray() {
method setLongArray (line 12) | public void setLongArray(long[] longArray) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithRanges.java
class ModelWithRanges (line 5) | public class ModelWithRanges {
method getInclusiveRange (line 6) | @Schema(description = "values with include range", minimum = "1", maxi...
method getExclusiveRange (line 11) | @Schema(description = "values with include range", minimum = "1", excl...
method getPositiveInfinityRange (line 16) | @Schema(description = "values with include range", minimum = "1")
method getNegativeInfinityRange (line 21) | @Schema(description = "values with include range", maximum = "5")
method getStringValues (line 26) | @Schema(description = "some string values", allowableValues = {"str1",...
method getDoubleValues (line 31) | @Schema(description = "some string values", minimum = "1.0", maximum =...
method getIntAllowableValues (line 36) | @Schema(description = "some int values", allowableValues = {"1", "2"})
method getIntAllowableValuesWithNull (line 41) | @Schema(description = "some int values with null", allowableValues = {...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ModelWithTuple2.java
class ModelWithTuple2 (line 21) | public class ModelWithTuple2 {
class ComplexLeft (line 31) | static class ComplexLeft {
class TupleAsMapModelConverter (line 36) | public static class TupleAsMapModelConverter extends AbstractModelConv...
method TupleAsMapModelConverter (line 38) | public TupleAsMapModelConverter(ObjectMapper mapper) {
method resolve (line 42) | @Override
class TupleAsMapPropertyConverter (line 57) | public static class TupleAsMapPropertyConverter extends AbstractModelC...
method TupleAsMapPropertyConverter (line 59) | public TupleAsMapPropertyConverter(ObjectMapper mapper) {
method resolve (line 63) | @Override
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/Person.java
class Person (line 6) | public class Person {
method getId (line 15) | public Long getId() {
method setId (line 19) | public void setId(Long id) {
method getFirstName (line 23) | public String getFirstName() {
method setFirstName (line 27) | public void setFirstName(String firstName) {
method getAddress (line 31) | public Address getAddress() {
method setAddress (line 35) | public void setAddress(Address address) {
method getProperties (line 39) | public Map<String, String> getProperties() {
method setProperties (line 43) | public void setProperties(Map<String, String> properties) {
method getBirthDate (line 47) | public Date getBirthDate() {
method setBirthDate (line 51) | public void setBirthDate(Date birthDate) {
method getFloat (line 55) | public Float getFloat() {
method setFloat (line 59) | public void setFloat(Float floatValue) {
method getDouble (line 63) | public Double getDouble() {
method setDouble (line 67) | public void setDouble(Double doubleValue) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ReadOnlyFields.java
class ReadOnlyFields (line 5) | public class ReadOnlyFields {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/ReadOnlyModel.java
class ReadOnlyModel (line 5) | public class ReadOnlyModel {
method getId (line 9) | @Schema(accessMode = Schema.AccessMode.READ_ONLY)
method setId (line 14) | public void setId(Integer id) {
method getReadWriteId (line 18) | @Schema(accessMode = Schema.AccessMode.READ_WRITE)
method setReadWriteId (line 23) | public void setReadWriteId(Integer readWriteId) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/RequiredFields.java
class RequiredFields (line 12) | public class RequiredFields {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/RequiredRefFieldModel.java
class RequiredRefFieldModel (line 8) | @XmlRootElement
method getA (line 11) | @XmlElement(name = "a")
method getB (line 17) | @XmlElement(name = "b")
class B (line 23) | static class B {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/SpecialOrderItem.java
class SpecialOrderItem (line 3) | public class SpecialOrderItem {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/TestEnum.java
type TestEnum (line 7) | @XmlType
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/TestSecondEnum.java
type TestSecondEnum (line 7) | @XmlType
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/XmlFirstRequiredFieldModel.java
class XmlFirstRequiredFieldModel (line 10) | @XmlRootElement
method getA (line 14) | @XmlElement(name = "a")
method getC (line 20) | public String getC() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/AbstractBaseModelWithSubTypes.java
class AbstractBaseModelWithSubTypes (line 6) | @JsonSubTypes({@JsonSubTypes.Type(value = Thing1.class, name = "thing3")...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/AbstractBaseModelWithoutFields.java
class AbstractBaseModelWithoutFields (line 6) | @JsonSubTypes({@JsonSubTypes.Type(value = Thing3.class, name = "thing3")})
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/AbstractModelWithApiModel.java
class AbstractModelWithApiModel (line 6) | @Schema(name = "MyProperty")
method AbstractModelWithApiModel (line 12) | protected AbstractModelWithApiModel(String type) {
method getType (line 16) | public String getType() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/Animal.java
type Animal (line 7) | @JsonTypeInfo(
method getName (line 16) | String getName();
method setName (line 18) | void setName(String name);
method getType (line 20) | String getType();
method setType (line 22) | void setType(String type);
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/AnimalClass.java
class AnimalClass (line 7) | @JsonTypeInfo(
method getName (line 20) | public String getName() {
method setName (line 24) | public void setName(String name) {
method getType (line 28) | public String getType() {
method setType (line 32) | public void setType(String type) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/AnimalWithSchemaSubtypes.java
class AnimalWithSchemaSubtypes (line 6) | @JsonTypeInfo(
method getName (line 16) | public String getName() {
method setName (line 20) | public void setName(String name) {
method getType (line 24) | public String getType() {
method setType (line 28) | public void setType(String type) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/Human.java
class Human (line 5) | @JsonPropertyOrder({"name", "type", "firstName", "lastName"})
method getType (line 12) | public String getType() {
method setType (line 16) | public void setType(String type) {
method getName (line 20) | public String getName() {
method setName (line 24) | public void setName(String name) {
method getFirstName (line 28) | public String getFirstName() {
method setFirstName (line 32) | public void setFirstName(String firstName) {
method getLastName (line 36) | public String getLastName() {
method setLastName (line 40) | public void setLastName(String lastName) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/HumanClass.java
class HumanClass (line 5) | @JsonPropertyOrder({"name", "type", "firstName", "lastName"})
method getType (line 12) | public String getType() {
method setType (line 16) | public void setType(String type) {
method getName (line 20) | public String getName() {
method setName (line 24) | public void setName(String name) {
method getFirstName (line 28) | public String getFirstName() {
method setFirstName (line 32) | public void setFirstName(String firstName) {
method getLastName (line 36) | public String getLastName() {
method setLastName (line 40) | public void setLastName(String lastName) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/HumanWithSchemaSubtypes.java
class HumanWithSchemaSubtypes (line 5) | @JsonPropertyOrder({"name", "type", "firstName", "lastName"})
method getType (line 12) | public String getType() {
method setType (line 16) | public void setType(String type) {
method getName (line 20) | public String getName() {
method setName (line 24) | public void setName(String name) {
method getFirstName (line 28) | public String getFirstName() {
method setFirstName (line 32) | public void setFirstName(String firstName) {
method getLastName (line 36) | public String getLastName() {
method setLastName (line 40) | public void setLastName(String lastName) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/ModelWithFieldWithSubTypes.java
class ModelWithFieldWithSubTypes (line 5) | @Schema(description = "Class that has a field that is the AbstractBaseMo...
method getZ (line 11) | public AbstractBaseModelWithSubTypes getZ() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/ModelWithUrlProperty.java
class ModelWithUrlProperty (line 6) | public class ModelWithUrlProperty extends AbstractModelWithApiModel {
method ModelWithUrlProperty (line 10) | public ModelWithUrlProperty(String type, String url) {
method getUrl (line 19) | public URL getUrl() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/ModelWithValueProperty.java
class ModelWithValueProperty (line 3) | public class ModelWithValueProperty extends AbstractModelWithApiModel {
method ModelWithValueProperty (line 7) | public ModelWithValueProperty(String type, String value) {
method getValue (line 12) | public String getValue() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/Pet.java
type Pet (line 5) | public interface Pet extends Animal {
method getType (line 6) | @Schema(required = true, description = "The pet type")
method setType (line 9) | void setType(String type);
method getName (line 11) | @Schema(required = true, description = "The name of the pet")
method setName (line 14) | void setName(String name);
method getIsDomestic (line 16) | @Schema(required = true)
method setIsDomestic (line 19) | void setIsDomestic(Boolean isDomestic);
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/PetClass.java
class PetClass (line 5) | public class PetClass extends AnimalClass {
method getType (line 10) | @Schema(required = true, description = "The pet type")
method setType (line 15) | public void setType(String type) {
method getName (line 19) | @Schema(required = true, description = "The name of the pet")
method setName (line 24) | public void setName(String name) {
method getIsDomestic (line 28) | @Schema(required = true)
method setIsDomestic (line 33) | public void setIsDomestic(Boolean isDomestic) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/PetWithSchemaSubtypes.java
class PetWithSchemaSubtypes (line 5) | public class PetWithSchemaSubtypes extends AnimalWithSchemaSubtypes {
method getType (line 10) | @Schema(required = true, description = "The pet type")
method setType (line 15) | public void setType(String type) {
method getName (line 19) | @Schema(required = true, description = "The name of the pet")
method setName (line 24) | public void setName(String name) {
method getIsDomestic (line 28) | @Schema(required = true)
method setIsDomestic (line 33) | public void setIsDomestic(Boolean isDomestic) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/Thing1.java
class Thing1 (line 5) | @Schema(description = "Shake hands with Thing1", allOf = {AbstractBaseMo...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/Thing2.java
class Thing2 (line 5) | @Schema(description = "and Thing2", allOf = {AbstractBaseModelWithSubTyp...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/composition/Thing3.java
class Thing3 (line 5) | @Schema(description = "Thing3", allOf = {AbstractBaseModelWithoutFields....
method getA (line 13) | public String getA() {
method setA (line 17) | public void setA(String a) {
method getX (line 21) | public int getX() {
method setX (line 25) | public void setX(int x) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/xmltest/NestedModelWithJAXBAnnotations.java
class NestedModelWithJAXBAnnotations (line 11) | @XmlRootElement(name = "RootName")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/oas/models/xmltest/SubModelWithJAXBAnnotations.java
class SubModelWithJAXBAnnotations (line 5) | @XmlAccessorType(XmlAccessType.FIELD)
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/ATMTest.java
class ATMTest (line 11) | public class ATMTest extends SwaggerTestBase {
method testATMModel (line 13) | @Test
type Currency (line 23) | public enum Currency {USA, CANADA}
class ATM (line 25) | static class ATM {
method getCurrency (line 28) | public Currency getCurrency() {
method setCurrency (line 32) | public void setCurrency(Currency currency) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/AllofResolvingTest.java
class AllofResolvingTest (line 10) | public class AllofResolvingTest extends SwaggerTestBase {
method testAllofResolving (line 12) | @Test
class UserSchema (line 103) | static class UserSchema {
method getPropertyTwo (line 110) | @Schema(description = "Second user schema property", example = "exam...
method getPropertyThree (line 116) | @Schema(description = "Third user schema property, with example for ...
class OrderSchema (line 123) | static class OrderSchema {
method getUserProperty (line 130) | @Schema(description = "Order schema property, references UserPropert...
class UserProperty (line 137) | @Schema(description = "Represents a user-specific property", example =...
class OrderProperty (line 142) | @Schema(description = "Represents an order-specific property", example...
class BasicSchema (line 147) | static class BasicSchema {
method getPropertyTwo (line 154) | @Schema(description = "Second basic schema property", example = "exa...
class BasicProperty (line 161) | @Schema(description = "Represents a basic schema property")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/AnnotationsUtilsExtensionsTest.java
class AnnotationsUtilsExtensionsTest (line 17) | public class AnnotationsUtilsExtensionsTest {
method expectedData (line 19) | @DataProvider
method extensionsTest (line 39) | @Test(dataProvider = "expectedData")
method methodOne (line 48) | @Operation(description = "method")
method methodTwo (line 53) | @Operation(description = "method", extensions = {
method methodThree (line 61) | @Operation(description = "method", extensions = {
method methodFour (line 74) | @Operation(description = "method", extensions = {
method methodFive (line 88) | @Operation(description = "method", extensions = {
method methodSix (line 102) | @Operation(description = "method", extensions = {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/AnnotationsUtilsHeadersTest.java
class AnnotationsUtilsHeadersTest (line 19) | public class AnnotationsUtilsHeadersTest {
method header (line 21) | private io.swagger.v3.oas.models.headers.Header header() {
method expectedData (line 25) | @DataProvider
method extensionsTest (line 40) | @Test(dataProvider = "expectedData")
method methodOne (line 55) | @Operation(description = "method")
method methodTwo (line 60) | @Operation(description = "method", responses = {
method methodThree (line 67) | @Operation(description = "method", responses = {
method methodFour (line 76) | @Operation(description = "method", responses = {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/BeanValidatorTest.java
class BeanValidatorTest (line 19) | public class BeanValidatorTest {
method readBeanValidatorTest (line 21) | @Test(description = "read bean validations")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/ComplexPropertyTest.java
class ComplexPropertyTest (line 11) | public class ComplexPropertyTest extends SwaggerTestBase {
method testOuterBean (line 13) | @Test
class OuterBean (line 22) | static class OuterBean {
class InnerBean (line 27) | static class InnerBean {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/ComposedSchemaTest.java
class ComposedSchemaTest (line 23) | public class ComposedSchemaTest {
method readBilateralComposedSchema_ticket2620 (line 25) | @Test(description = "read composed schem refs #2620")
method readComposedSchema_ticket2900 (line 69) | @Test(description = "read composed schem refs #2900")
method readArrayComposedSchema_ticket2616 (line 94) | @Test(description = "read composed schem refs #2616")
method readComposedSchema_ticket2616 (line 115) | @Test(description = "read single composed schem refs #2616")
method readComposedSchema_ticket4247 (line 135) | @Test(description = "read composed schem refs #4247")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/CompositionSuperfluousRefTest.java
class CompositionSuperfluousRefTest (line 10) | public class CompositionSuperfluousRefTest {
class SomeDto (line 12) | static class SomeDto {}
class OtherDto (line 13) | static class OtherDto {}
class MyDtoOneOf (line 15) | static class MyDtoOneOf {
class MyDtoWithAnyOf (line 20) | static class MyDtoWithAnyOf {
class MyDtoWithAllOf (line 25) | static class MyDtoWithAllOf {
class MyDtoWithoutComposition (line 30) | static class MyDtoWithoutComposition {
class MyDtoWithNonMatchingRef (line 35) | static class MyDtoWithNonMatchingRef {
method oneOf_shouldNotHaveRef (line 43) | @Test
method anyOf_shouldNotHaveRef (line 55) | @Test
method allOf_shouldNotHaveRef (line 67) | @Test
method testNonMatchingRef_shouldPreserveRef (line 79) | @Test
method oneOf_shouldNotHaveRef31 (line 92) | @Test
method anyOf_shouldNotHaveRef31 (line 104) | @Test
method allOf_shouldNotHaveRef31 (line 116) | @Test
method testNonMatchingRef_shouldPreserveRef31 (line 128) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/ContainerTest.java
class ContainerTest (line 16) | public class ContainerTest extends SwaggerTestBase {
method testArray (line 18) | @Test
method testMap (line 38) | @Test
method testComplexMap (line 58) | @Test
class ArrayBean (line 81) | static class ArrayBean {
class MapBean (line 85) | static class MapBean {
class WrapperType (line 89) | static class WrapperType {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/EnumTest.java
class EnumTest (line 18) | public class EnumTest extends SwaggerTestBase {
method testEnum (line 20) | @Test
method testEnumGenerics (line 44) | @Test
method testEnumPropertyWithSchemaAnnotation (line 54) | @Test
method testEnumPropertyWithGlobalSwitchOnlyOpenApi31 (line 68) | @Test
method testArrayOfEnumWithSchemaAnnotationOpenApi31 (line 89) | @Test
method testArrayOfEnumWithSchemaAnnotationOpenApi30 (line 104) | @Test
method testControlTestNoRefOpenApi31 (line 119) | @Test
method testControlTestNoRefOpenApi30 (line 143) | @Test
method testEnumWithAllOfSchemaResolutionOpenApi30 (line 167) | @Test
method assertBasicModelStructure (line 194) | private void assertBasicModelStructure(Schema model, String expectedNa...
method assertPropertyExists (line 199) | private void assertPropertyExists(Schema model, String propertyName) {
method assertEnumComponentExists (line 204) | private void assertEnumComponentExists(ModelConverterContextImpl conte...
method assertEnumComponentExistsWithDefault (line 218) | private void assertEnumComponentExistsWithDefault(ModelConverterContex...
method findEnumComponent (line 230) | private Schema findEnumComponent(Map<String, Schema> components, Set<S...
method assertEnumAsRefProperty (line 243) | private void assertEnumAsRefProperty(Schema propertySchema, String exp...
method assertInlineEnumProperty (line 248) | private void assertInlineEnumProperty(Schema propertySchema) {
method assertArrayWithEnumRef (line 253) | private void assertArrayWithEnumRef(Schema arrayPropertySchema) {
class ClassWithEnumAsRefProperty (line 259) | public static class ClassWithEnumAsRefProperty {
method ClassWithEnumAsRefProperty (line 264) | public ClassWithEnumAsRefProperty(EnumWithSchemaProperty enumWithSch...
type EnumWithSchemaProperty (line 268) | @io.swagger.v3.oas.annotations.media.Schema(description = "Enum desc...
class ClassWithEnumArray (line 275) | public static class ClassWithEnumArray {
method ClassWithEnumArray (line 280) | public ClassWithEnumArray(ArrayEnum[] enumArray) {
type ArrayEnum (line 284) | @io.swagger.v3.oas.annotations.media.Schema(description = "Enum desc...
class ClassWithPlainEnum (line 292) | public static class ClassWithPlainEnum {
method ClassWithPlainEnum (line 297) | public ClassWithPlainEnum(PlainEnum plainEnum) {
type PlainEnum (line 301) | public enum PlainEnum {
type Currency (line 308) | public enum Currency {
class Contract (line 312) | public static class Contract {
method getType (line 316) | public Enum<?> getType() {
method setType (line 320) | public Contract setType(Enum<?> type) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/HiddenFieldTest.java
class HiddenFieldTest (line 18) | public class HiddenFieldTest {
method testHiddenField (line 20) | @Test(description = "it should ignore a hidden field")
class ModelWithHiddenFields (line 40) | static class ModelWithHiddenFields {
method testHiddenFieldInJsonCreator (line 51) | @Test(description = "it should ignore a hidden field in @JsonCreator")
class ModelWithHiddenFieldsInJsonCreator (line 66) | static class ModelWithHiddenFieldsInJsonCreator {
method ModelWithHiddenFieldsInJsonCreator (line 74) | @JsonCreator
method getId (line 81) | public Long getId() {
method getHidden (line 85) | @io.swagger.v3.oas.annotations.media.Schema(hidden = true)
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/InheritedBeanTest.java
class InheritedBeanTest (line 22) | public class InheritedBeanTest extends SwaggerTestBase {
method setup (line 27) | @BeforeMethod
method afterTest (line 34) | @AfterTest
method testInheritedBean (line 39) | @Test
method testInheritedChildBean (line 59) | @Test
method testComposedChildBean (line 76) | @Test
method testComposedUberObject (line 93) | @Test
method testHierarchy (line 112) | @Test
method assertBasePropertiesValid (line 142) | private void assertBasePropertiesValid(Map<String, Schema> baseProperi...
method assertBase2PropertiesValid (line 158) | private void assertBase2PropertiesValid(Map<String, Schema> baseProper...
method assertSub1PropertiesValid (line 177) | private void assertSub1PropertiesValid(Map<String, Schema> subProperti...
method assertUserObjectPropertiesValid (line 189) | private void assertUserObjectPropertiesValid(Map<String, Schema> subPr...
class BaseBean (line 203) | @JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.I...
class Sub1Bean (line 214) | @io.swagger.v3.oas.annotations.media.Schema(description = "Sub1Bean", ...
class BaseBean2 (line 219) | @JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.I...
method getD (line 227) | public int getD() {
method setD (line 231) | public void setD(int d) {
class Sub2Bean (line 238) | @io.swagger.v3.oas.annotations.media.Schema(description = "Sub2Bean", ...
class BaseBean3 (line 244) | @JsonSubTypes({@JsonSubTypes.Type(value = ChildBean3.class, name = "ch...
class ChildBean3 (line 254) | @JsonSubTypes({@JsonSubTypes.Type(value = GrandChildBean3.class, name ...
class GrandChildBean3 (line 260) | @io.swagger.v3.oas.annotations.media.Schema(description = "GrandChildB...
class UberObject (line 265) | @io.swagger.v3.oas.annotations.media.Schema(anyOf = {UserObject.class,...
method getDepartment (line 271) | @Override
method getId (line 276) | @Override
method getName (line 281) | @Override
type UserObject (line 287) | @io.swagger.v3.oas.annotations.media.Schema(description = "A User Obje...
method getId (line 289) | @io.swagger.v3.oas.annotations.media.Schema(format = "uuid", require...
method getName (line 292) | String getName();
type EmployeeObject (line 295) | @io.swagger.v3.oas.annotations.media.Schema(description = "An Employee...
method getId (line 297) | @io.swagger.v3.oas.annotations.media.Schema(format = "email")
method getDepartment (line 300) | String getDepartment();
method testMultipleInheritedBean (line 303) | @Test
method testMultipleInheritedChildBean (line 328) | @Test
method assertSub2PropertiesValid (line 361) | private void assertSub2PropertiesValid(Map<String, Schema> subProperti...
class MultipleBaseBean (line 373) | @JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.I...
class MultipleSub1Bean (line 385) | @io.swagger.v3.oas.annotations.media.Schema(description = "MultipleSub...
class MultipleSub2Bean (line 390) | @io.swagger.v3.oas.annotations.media.Schema(description = "MultipleSub...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/InlineResolvingTest.java
class InlineResolvingTest (line 10) | public class InlineResolvingTest extends SwaggerTestBase{
method testInlineResolving (line 12) | @Test
class InlineSchemaFirst (line 112) | static class InlineSchemaFirst {
method getProperty2 (line 122) | @Schema(description = " InlineSchemaFirst property 2", example = "ex...
class InlineSchemaSecond (line 128) | static class InlineSchemaSecond {
method getProperty2 (line 138) | @Schema(description = "InlineSchemaSecond property 2", example = "In...
class InlineSchemaPropertyFirst (line 144) | @Schema(description = "property", example = "example")
class InlineSchemaPropertySecond (line 149) | @Schema(description = "propertysecond", example = "examplesecond")
class InlineSchemaSimple (line 154) | static class InlineSchemaSimple {
method getProperty2 (line 162) | @Schema(description = "property 2", example = "example")
class InlineSchemaPropertySimple (line 168) | @Schema(description = "property")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JacksonJsonUnwrappedTest.java
class JacksonJsonUnwrappedTest (line 8) | public class JacksonJsonUnwrappedTest {
method jacksonJsonUnwrappedTest (line 10) | @Test(description = "test the @JsonUnwrapped behaviour when required P...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JaxBDefaultValueTest.java
class JaxBDefaultValueTest (line 14) | public class JaxBDefaultValueTest {
method convertModelWithGuavaOptionals (line 16) | @Test(description = "convert a model with Guava optionals")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JodaDateTimeConverterTest.java
class JodaDateTimeConverterTest (line 15) | public class JodaDateTimeConverterTest {
method testJodaDateTime (line 17) | @Test
class ModelWithJodaDateTime (line 34) | class ModelWithJodaDateTime {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JodaLocalDateConverterTest.java
class JodaLocalDateConverterTest (line 17) | public class JodaLocalDateConverterTest {
method testJodaLocalDate (line 19) | @Test
class ModelWithJodaLocalDate (line 36) | class ModelWithJodaLocalDate {
method testJavaTimeInstant (line 44) | @Test
class ModelWithJavaTimeInstant (line 54) | class ModelWithJavaTimeInstant {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JodaTest.java
class JodaTest (line 16) | public class JodaTest extends SwaggerTestBase {
method testSimple (line 18) | @Test
class ModelWithJodaDateTime (line 42) | static class ModelWithJodaDateTime {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JsonPropertyTest.java
class JsonPropertyTest (line 9) | public class JsonPropertyTest {
method testTicket2169 (line 11) | @Test(description = "test ticket 2169")
method testTicket2845 (line 130) | @Test(description = "test ticket 2845")
class Ticket2845Parent (line 173) | static class Ticket2845Parent {
class Ticket2845Child (line 179) | @JsonIgnoreProperties({"bob"})
class Ticket2845Holder (line 184) | static class Ticket2845Holder {
class Ticket2845HolderNoAnnotationNotWorking (line 190) | static class Ticket2845HolderNoAnnotationNotWorking {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JsonSubTypesAndSchemaOneOfTest.java
class JsonSubTypesAndSchemaOneOfTest (line 20) | public class JsonSubTypesAndSchemaOneOfTest extends SwaggerTestBase {
method setup (line 34) | @BeforeMethod
method afterTest (line 41) | @AfterTest
method beanWithJsonSubTypesAndSchemaOneOfHasAllOfAndOneOfInModelSchemaObject (line 46) | @Test
method assertBasePropertiesValid (line 82) | private void assertBasePropertiesValid(Map<String, Schema> basePropert...
class BaseBean (line 98) | @JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.I...
class SubBean1 (line 118) | static class SubBean1 extends BaseBean {
class SubBean2 (line 123) | static class SubBean2 extends BaseBean {
method beanWithJsonSubTypesImplementsBeanWithSchemaOneOfHasOnlyOneOfInModelSchemaObject (line 128) | @Test
type InterfaceBean (line 157) | @io.swagger.v3.oas.annotations.media.Schema(
method type (line 167) | String type();
method a (line 169) | int a();
method b (line 171) | String b();
class BaseBeanInterfaceImplementor (line 174) | @JsonTypeInfo(include = JsonTypeInfo.As.PROPERTY, use = JsonTypeInfo.I...
class SubBean1InterfaceImplementor (line 186) | static class SubBean1InterfaceImplementor extends BaseBeanInterfaceImp...
class SubBean2InterfaceImplementor (line 190) | static class SubBean2InterfaceImplementor extends BaseBeanInterfaceImp...
method assertSubPropertiesValid (line 194) | private void assertSubPropertiesValid(Map<String, Schema> subPropertie...
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/JsonViewTest.java
class JsonViewTest (line 20) | public class JsonViewTest {
method includePropertiesToWhichJsonviewIsNotAnnotated (line 22) | @Test
method notIncludePropertiesToWhichJsonviewIsNotAnnotated (line 52) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/ModelWithRangesTest.java
class ModelWithRangesTest (line 18) | public class ModelWithRangesTest {
method modelWithRangesTest (line 20) | @Test(description = "test model with @ApiModelProperty.allowableValues")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/RequiredFieldModelTest.java
class RequiredFieldModelTest (line 15) | public class RequiredFieldModelTest {
method testApiModelPropertyFirstPosition (line 16) | @Test(description = "it should apply required flag when ApiProperty an...
method testApiModelPropertySecondPosition (line 25) | @Test(description = "it should apply required flag when XmlElement ann...
method testApiModelRefProperty (line 35) | @Test(description = "it should apply required flag also to ref fields")
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/SimpleGenerationTest.java
class SimpleGenerationTest (line 29) | public class SimpleGenerationTest extends SwaggerTestBase {
method testSimple (line 33) | @Test
method testOrdering (line 69) | @Test
method testTheCountBean (line 76) | @Test
method testStringDateMap (line 88) | @Test
method testIntArray (line 100) | @Test
method isJacksonAtLeast2_9 (line 114) | protected boolean isJacksonAtLeast2_9() throws NoSuchMethodException {
method testJsonValue_Ticket3409 (line 126) | @Test
method testComplex (line 139) | @Test
class SimpleBean (line 154) | @JsonPropertyOrder({"a", "b"})
method getA (line 163) | public String getA() {
class JsonOrderBean (line 168) | @JsonPropertyOrder({"a", "b", "c", "d"})
class TheCount (line 176) | static class TheCount {
method getCount (line 180) | public Integer getCount() {
method setCount (line 184) | public void setCount(Integer count) {
class StringDateMapBean (line 189) | static class StringDateMapBean {
class IntArrayBean (line 193) | @JsonPropertyOrder({"a", "b"})
class ComplexBean (line 198) | static class ComplexBean {
method ComplexBean (line 203) | @JsonCreator
method getSimpleBean (line 215) | public SimpleBean getSimpleBean() {
method getA (line 219) | public String getA() {
method getB (line 223) | public int getB() {
method getC (line 227) | public long getC() {
method getD (line 231) | public float getD() {
method getE (line 235) | public double getE() {
method getJ (line 239) | public String getJ() {
class PlanetName (line 245) | static class PlanetName {
method PlanetName (line 250) | @JsonCreator
method valueOf (line 255) | public static PlanetName valueOf(String value) {
method getValue (line 259) | public String getValue() {
method toString (line 263) | @Override
class Planet (line 269) | static class Planet {
method getName (line 273) | public PlanetName getName() {
method setName (line 277) | public void setName(PlanetName name) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/SwaggerTestBase.java
class SwaggerTestBase (line 12) | public abstract class SwaggerTestBase {
method mapper (line 16) | public static ObjectMapper mapper() {
method modelResolver (line 26) | protected ModelResolver modelResolver() {
method prettyPrint (line 30) | protected void prettyPrint(Object o) {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2189Test.java
class Ticket2189Test (line 18) | public class Ticket2189Test extends SwaggerTestBase {
method setup (line 23) | @BeforeTest
method testTicket2189 (line 29) | @Test
class SubClass (line 52) | static class SubClass extends BaseClass {
class BaseClass (line 56) | @JsonTypeInfo(use = JsonTypeInfo.Id.NAME)
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2740CyclicTest.java
class Ticket2740CyclicTest (line 11) | public class Ticket2740CyclicTest extends SwaggerTestBase {
method testCyclicBean (line 12) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2862SubtypeTest.java
class Ticket2862SubtypeTest (line 11) | public class Ticket2862SubtypeTest extends SwaggerTestBase {
method testSubType (line 12) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2884Test.java
class Ticket2884Test (line 17) | public class Ticket2884Test extends SwaggerTestBase {
method test2884 (line 19) | @Test
method test2884_null (line 54) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2915Test.java
class Ticket2915Test (line 11) | public class Ticket2915Test extends SwaggerTestBase {
method testPropertyName (line 12) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2926Test.java
class Ticket2926Test (line 8) | public class Ticket2926Test extends SwaggerTestBase {
method testExtensionsInMapDeserializeAndSerialize (line 10) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2972Test.java
class Ticket2972Test (line 11) | public class Ticket2972Test extends SwaggerTestBase {
method testLocalTime (line 13) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket2992Test.java
class Ticket2992Test (line 12) | public class Ticket2992Test extends SwaggerTestBase {
method testLocalTime (line 14) | @Test
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket3030Test.java
class Ticket3030Test (line 14) | public class Ticket3030Test extends SwaggerTestBase {
method setup (line 19) | @BeforeTest
method testTicket3030 (line 27) | @Test
class Parent (line 48) | @io.swagger.v3.oas.annotations.media.Schema(subTypes = {Child.class})
class Child (line 53) | @io.swagger.v3.oas.annotations.media.Schema(allOf = Parent.class)
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket3063Test.java
class Ticket3063Test (line 16) | public class Ticket3063Test extends SwaggerTestBase {
method setup (line 21) | @BeforeTest
method testTicket3063 (line 29) | @Test
class SubClass (line 62) | @io.swagger.v3.oas.annotations.media.Schema(description = "SubClass")
class BaseClass (line 69) | @io.swagger.v3.oas.annotations.media.Schema(description = "test", disc...
method BaseClass (line 82) | public BaseClass(String type) {
method BaseClass (line 86) | public BaseClass() {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket3197Test.java
class Ticket3197Test (line 19) | public class Ticket3197Test extends SwaggerTestBase {
method beforeMethod (line 25) | @BeforeMethod
method afterTest (line 32) | @AfterTest
method testTicket3197 (line 37) | @Test
method testTicket3197AsSibling (line 89) | @Test
class Car (line 147) | @io.swagger.v3.oas.annotations.media.Schema(discriminatorProperty = "t...
method getCarMetaData (line 165) | public String getCarMetaData() { return carMetaData; }
class RaceCar (line 168) | static class RaceCar extends Car {
class SportCar (line 179) | static class SportCar extends Car {
FILE: modules/swagger-core/src/test/java/io/swagger/v3/core/resolving/Ticket3348Test.java
class Ticket3348Test (line 18) | public class Ticket3348Test extends SwaggerTestBase {
method beforeMethod (line 23) | @BeforeMethod
method testTicket3348 (line 29) | @Test
class WithObjects (l
Condensed preview — 1211 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (4,658K chars).
[
{
"path": ".github/ISSUE_TEMPLATE/01_bug_report.md",
"chars": 1638,
"preview": "---\nname: Bug Report\nabout: Report an issue in swagger-core\ntitle: \"[Bug]: \"\nlabels: Bug\nassignees: ''\n---\n\n## Descripti"
},
{
"path": ".github/ISSUE_TEMPLATE/02_question.md",
"chars": 1053,
"preview": "---\nname: Question\nabout: Ask a question about swagger-core usage or behavior\ntitle: \"[Question]: \"\nlabels: Question\nass"
},
{
"path": ".github/ISSUE_TEMPLATE/03_feature_request.md",
"chars": 1299,
"preview": "---\nname: Feature Request\nabout: Suggest a new feature or enhancement for swagger-core\ntitle: \"[Feature]: \"\nlabels: Feat"
},
{
"path": ".github/dependabot.yml",
"chars": 438,
"preview": "version: 2\nupdates:\n - package-ecosystem: \"maven\"\n target-branch: \"master\"\n directory: \"/\"\n schedule:\n in"
},
{
"path": ".github/pull_request_template.md",
"chars": 955,
"preview": "# Pull Request\n\nThank you for contributing to **swagger-core**!\n\nPlease fill out the following information to help us re"
},
{
"path": ".github/topissuebot.yml",
"chars": 81,
"preview": "labelName: \":thumbsup: Top Issue!\"\nlabelColor: \"f442c2\"\nnumberOfIssuesToLabel: 5\n"
},
{
"path": ".github/workflows/codeql-analysis.yml",
"chars": 1718,
"preview": "name: \"Code scanning - action\"\n\non:\n push:\n branches: [master, 1.5]\n pull_request:\n # The branches below must be"
},
{
"path": ".github/workflows/dependency-review.yml",
"chars": 329,
"preview": "name: 'Dependency Review'\non: [pull_request]\n\npermissions:\n contents: read\n\njobs:\n dependency-review:\n runs-on: ubu"
},
{
"path": ".github/workflows/maven-pulls.yml",
"chars": 903,
"preview": "name: Build Test PR\n\non:\n pull_request:\n branches: [ \"master\" ]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n stra"
},
{
"path": ".github/workflows/maven-v1-pulls.yml",
"chars": 668,
"preview": "name: Build Test PR 1.5\n\non:\n pull_request:\n branches: [ \"1.5\" ]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n str"
},
{
"path": ".github/workflows/maven-v1.yml",
"chars": 1730,
"preview": "name: Build Test Deploy 1.5\n\non:\n push:\n branches: [ \"1.5\" ]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n strateg"
},
{
"path": ".github/workflows/maven.yml",
"chars": 2085,
"preview": "name: Build Test Deploy master\n\non:\n push:\n branches: [ \"master\" ]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n s"
},
{
"path": ".github/workflows/prepare-release.yml",
"chars": 2215,
"preview": "name: Prepare Release\n\non:\n workflow_dispatch:\n branches: [\"master\"]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n\n "
},
{
"path": ".github/workflows/release.yml",
"chars": 5304,
"preview": "name: Release\n\non:\n workflow_dispatch:\n branches: [\"master\"]\n\njobs:\n build:\n\n runs-on: ubuntu-latest\n\n steps:"
},
{
"path": ".gitignore",
"chars": 195,
"preview": "build/\nlib/*.jar\ntarget\nsamples/scala-play2/logs\n.idea\n.idea_modules\n.settings\n.project\n.classpath\n.cache\natlassian-ide-"
},
{
"path": ".mvn/wrapper/maven-wrapper.properties",
"chars": 1018,
"preview": "# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE f"
},
{
"path": ".whitesource",
"chars": 132,
"preview": "{\n \"settingsInheritedFrom\": \"swagger-api/whitesource-config@main\",\n \"scanSettings\": {\n \"baseBranches\": [\"master\", \""
},
{
"path": "CI/CI.md",
"chars": 4124,
"preview": "## Continuous integration\n\n### Build, test and deploy\nSwagger Core uses Github actions to run jobs/checks building, test"
},
{
"path": "CI/ghApiClient.py",
"chars": 1818,
"preview": "#!/usr/bin/python\n\nimport os\nimport time\nimport urllib.request, urllib.error, urllib.parse\nimport http.client\nimport jso"
},
{
"path": "CI/lastRelease.py",
"chars": 401,
"preview": "#!/usr/bin/python\n\nimport ghApiClient\n\ndef getLastReleaseTag():\n content = ghApiClient.readUrl('repos/swagger-api/swa"
},
{
"path": "CI/post-release.sh",
"chars": 2193,
"preview": "#!/bin/bash\n\nCUR=$(pwd)\nTMPDIR=\"$(dirname -- \"${0}\")\"\n\nSC_RELEASE_TAG=\"v$SC_VERSION\"\n\n#####################\n### deploy g"
},
{
"path": "CI/pre-release.sh",
"chars": 1303,
"preview": "#!/bin/bash\n\nCUR=$(pwd)\n\nexport SC_VERSION=`./mvnw -q -Dexec.executable=\"echo\" -Dexec.args='${parsedVersion.majorVersion"
},
{
"path": "CI/prepare-javadocs.sh",
"chars": 317,
"preview": "#!/bin/bash\n\nCUR=$(pwd)\nTMPDIR=\"$(dirname -- \"${0}\")\"\n\nSC_RELEASE_TAG=\"v$SC_VERSION\"\n\n#####################\n### publish "
},
{
"path": "CI/prepare-release.sh",
"chars": 4351,
"preview": "#!/bin/bash\n\nCUR=$(pwd)\n\nexport SC_VERSION=`./mvnw -q -Dexec.executable=\"echo\" -Dexec.args='${parsedVersion.majorVersion"
},
{
"path": "CI/publish-javadocs.sh",
"chars": 349,
"preview": "#!/bin/bash\n\nCUR=$(pwd)\nTMPDIR=\"$(dirname -- \"${0}\")\"\n\nSC_RELEASE_TAG=\"v$SC_VERSION\"\n\n#####################\n### publish "
},
{
"path": "CI/publishRelease.py",
"chars": 723,
"preview": "#!/usr/bin/python\n\nimport sys\nimport ghApiClient\n\ndef lastReleaseId(tag):\n content = ghApiClient.readUrl('repos/swagg"
},
{
"path": "CI/releaseNotes.py",
"chars": 1753,
"preview": "#!/usr/bin/python\n\nimport sys\nimport json\nfrom datetime import datetime\nimport ghApiClient\n\ndef allPulls(releaseDate):\n\n"
},
{
"path": "CI/test.py",
"chars": 2236,
"preview": "#!/usr/bin/python\n\nimport sys\nimport json\nfrom datetime import datetime\nimport ghApiClient\n\ndef allPulls(releaseDate):\n\n"
},
{
"path": "CI/update-v1-readme.sh",
"chars": 712,
"preview": "#!/bin/bash\nSC_LAST_RELEASE=\"$1\"\nSC_VERSION=\"$2\"\n\nCUR=$(pwd)\n\n#####################\n### update v2 versions in readme\n###"
},
{
"path": "CI/update-wiki.sh",
"chars": 324,
"preview": "#!/bin/bash\n\nCUR=$(pwd)\n\n#####################\n### update Wiki\n#####################\ncd wiki\nsc_find=\"$SC_LAST_RELEASE\\/"
},
{
"path": "LICENSE",
"chars": 11359,
"preview": "\n Apache License\n Version 2.0, January 2004\n "
},
{
"path": "NOTICE",
"chars": 200,
"preview": "Swagger Core - ${pom.name}\nCopyright (c) 2015. SmartBear Software Inc.\nSwagger Core - ${pom.name} is licensed under Apa"
},
{
"path": "README.md",
"chars": 20379,
"preview": "# Swagger Core <img src=\"https://raw.githubusercontent.com/swagger-api/swagger.io/wordpress/images/assets/SW-logo-clr.pn"
},
{
"path": "modules/swagger-annotations/.gitignore",
"chars": 6,
"preview": "/bin/\n"
},
{
"path": "modules/swagger-annotations/pom.xml",
"chars": 4687,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/ExternalDocumentation.java",
"chars": 1858,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java.lang.ann"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Hidden.java",
"chars": 603,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPoli"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/OpenAPI31.java",
"chars": 433,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retention;\nim"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/OpenAPIDefinition.java",
"chars": 2561,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io.swagger.v3."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Operation.java",
"chars": 5081,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io.swagger.v3."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Parameter.java",
"chars": 6463,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport io.swagger.v3.oas.annotations.enums.Explode;\nimport io.swagger.v3.oas.ann"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Parameters.java",
"chars": 666,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retention;\nim"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/StringToClassMapItem.java",
"chars": 486,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retention;\nim"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Webhook.java",
"chars": 984,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retention;\nim"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/Webhooks.java",
"chars": 715,
"preview": "package io.swagger.v3.oas.annotations;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retention;\nim"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/callbacks/Callback.java",
"chars": 1939,
"preview": "package io.swagger.v3.oas.annotations.callbacks;\n\nimport io.swagger.v3.oas.annotations.Operation;\nimport io.swagger.v3.o"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/callbacks/Callbacks.java",
"chars": 752,
"preview": "package io.swagger.v3.oas.annotations.callbacks;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Ret"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/Explode.java",
"chars": 96,
"preview": "package io.swagger.v3.oas.annotations.enums;\n\npublic enum Explode {\n DEFAULT, FALSE, TRUE;\n}\n"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/ParameterIn.java",
"chars": 356,
"preview": "package io.swagger.v3.oas.annotations.enums;\n\npublic enum ParameterIn {\n DEFAULT(\"\"),\n HEADER(\"header\"),\n QUERY"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/ParameterStyle.java",
"chars": 466,
"preview": "package io.swagger.v3.oas.annotations.enums;\n\npublic enum ParameterStyle {\n DEFAULT(\"\"),\n MATRIX(\"matrix\"),\n LA"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/SecuritySchemeIn.java",
"chars": 348,
"preview": "package io.swagger.v3.oas.annotations.enums;\n\npublic enum SecuritySchemeIn {\n DEFAULT(\"\"),\n HEADER(\"header\"),\n "
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/enums/SecuritySchemeType.java",
"chars": 415,
"preview": "package io.swagger.v3.oas.annotations.enums;\n\npublic enum SecuritySchemeType {\n DEFAULT(\"\"),\n APIKEY(\"apiKey\"),\n "
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/extensions/Extension.java",
"chars": 1251,
"preview": "package io.swagger.v3.oas.annotations.extensions;\n\nimport java.lang.annotation.Repeatable;\nimport java.lang.annotation.R"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/extensions/ExtensionProperty.java",
"chars": 843,
"preview": "package io.swagger.v3.oas.annotations.extensions;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/extensions/Extensions.java",
"chars": 866,
"preview": "package io.swagger.v3.oas.annotations.extensions;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Re"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/headers/Header.java",
"chars": 3856,
"preview": "package io.swagger.v3.oas.annotations.headers;\n\nimport io.swagger.v3.oas.annotations.enums.Explode;\nimport io.swagger.v3"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/info/Contact.java",
"chars": 1333,
"preview": "package io.swagger.v3.oas.annotations.info;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java.lan"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/info/Info.java",
"chars": 2314,
"preview": "package io.swagger.v3.oas.annotations.info;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\nimport io.swagger.v3.oas.an"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/info/License.java",
"chars": 1506,
"preview": "package io.swagger.v3.oas.annotations.info;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\nimport io.swagger.v3.oas.an"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/links/Link.java",
"chars": 2734,
"preview": "package io.swagger.v3.oas.annotations.links;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io.swagg"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/links/LinkParameter.java",
"chars": 738,
"preview": "package io.swagger.v3.oas.annotations.links;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retenti"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/ArraySchema.java",
"chars": 4259,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\nimport io.swagger.v3.oas.a"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Content.java",
"chars": 5301,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\nimport io.swagger.v3.oas.a"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentRequired.java",
"chars": 1140,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\n\nimport java.lang.annotati"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentRequiredMap.java",
"chars": 1001,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\n\nimport java.lang.annotati"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentSchema.java",
"chars": 1639,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\n\nimport java.lang.annotati"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DependentSchemas.java",
"chars": 956,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\n\nimport java.lang.annotati"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/DiscriminatorMapping.java",
"chars": 1663,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.OpenAPI31;\nimport io.swagger.v3.oas.a"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Encoding.java",
"chars": 2132,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io.swagg"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/ExampleObject.java",
"chars": 2261,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java.la"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/PatternProperties.java",
"chars": 897,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retenti"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/PatternProperty.java",
"chars": 1424,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Repeata"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Schema.java",
"chars": 19566,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport io.swagger.v3.oas.annotations.ExternalDocumentation;\nimport io.swag"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/SchemaProperties.java",
"chars": 891,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retenti"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/SchemaProperty.java",
"chars": 1192,
"preview": "package io.swagger.v3.oas.annotations.media;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Repeata"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/parameters/RequestBody.java",
"chars": 1999,
"preview": "package io.swagger.v3.oas.annotations.parameters;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/parameters/ValidatedParameter.java",
"chars": 471,
"preview": "package io.swagger.v3.oas.annotations.parameters;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/responses/ApiResponse.java",
"chars": 2719,
"preview": "package io.swagger.v3.oas.annotations.responses;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io.s"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/responses/ApiResponses.java",
"chars": 957,
"preview": "package io.swagger.v3.oas.annotations.responses;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport jav"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/responses/FailedApiResponse.java",
"chars": 2002,
"preview": "package io.swagger.v3.oas.annotations.responses;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\nimport io.s"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/OAuthFlow.java",
"chars": 1463,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/OAuthFlows.java",
"chars": 1270,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/OAuthScope.java",
"chars": 580,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Rete"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityRequirement.java",
"chars": 2525,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Repe"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityRequirementEntry.java",
"chars": 1187,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport static java.lang.annotation.ElementType.ANNOTATION_TYPE;\n\nimport"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityRequirements.java",
"chars": 793,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Rete"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecurityScheme.java",
"chars": 3639,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport io.swagger.v3.oas.annotations.enums.SecuritySchemeIn;\nimport io."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/security/SecuritySchemes.java",
"chars": 700,
"preview": "package io.swagger.v3.oas.annotations.security;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Rete"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/servers/Server.java",
"chars": 2234,
"preview": "package io.swagger.v3.oas.annotations.servers;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/servers/ServerVariable.java",
"chars": 1241,
"preview": "package io.swagger.v3.oas.annotations.servers;\n\nimport io.swagger.v3.oas.annotations.extensions.Extension;\n\nimport java."
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/servers/Servers.java",
"chars": 784,
"preview": "package io.swagger.v3.oas.annotations.servers;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Reten"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/tags/Tag.java",
"chars": 2133,
"preview": "package io.swagger.v3.oas.annotations.tags;\n\nimport io.swagger.v3.oas.annotations.ExternalDocumentation;\nimport io.swagg"
},
{
"path": "modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/tags/Tags.java",
"chars": 724,
"preview": "package io.swagger.v3.oas.annotations.tags;\n\nimport java.lang.annotation.Inherited;\nimport java.lang.annotation.Retentio"
},
{
"path": "modules/swagger-core/pom.xml",
"chars": 6192,
"preview": "<project xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://maven.apache.org/POM/4.0.0\"\n xsi:sc"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/converter/AnnotatedType.java",
"chars": 8484,
"preview": "package io.swagger.v3.core.converter;\n\nimport com.fasterxml.jackson.annotation.JsonView;\nimport io.swagger.v3.oas.models"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverter.java",
"chars": 546,
"preview": "package io.swagger.v3.core.converter;\n\nimport io.swagger.v3.oas.models.media.Schema;\n\nimport java.util.Iterator;\n\npublic"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverterContext.java",
"chars": 1626,
"preview": "package io.swagger.v3.core.converter;\n\nimport io.swagger.v3.oas.models.media.Schema;\n\nimport java.lang.reflect.Type;\nimp"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverterContextImpl.java",
"chars": 3547,
"preview": "package io.swagger.v3.core.converter;\n\nimport io.swagger.v3.core.util.ReferenceTypeUtils;\nimport io.swagger.v3.oas.model"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverters.java",
"chars": 8993,
"preview": "package io.swagger.v3.core.converter;\n\nimport com.fasterxml.jackson.databind.type.TypeFactory;\nimport io.swagger.v3.core"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ResolvedSchema.java",
"chars": 217,
"preview": "package io.swagger.v3.core.converter;\n\nimport io.swagger.v3.oas.models.media.Schema;\n\nimport java.util.Map;\n\npublic clas"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/filter/AbstractSpecFilter.java",
"chars": 2666,
"preview": "package io.swagger.v3.core.filter;\n\nimport io.swagger.v3.core.model.ApiDescription;\nimport io.swagger.v3.oas.models.Open"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/filter/OpenAPI31SpecFilter.java",
"chars": 1114,
"preview": "package io.swagger.v3.core.filter;\n\nimport io.swagger.v3.core.util.OpenAPI30To31;\nimport io.swagger.v3.core.util.OpenAPI"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/filter/OpenAPISpecFilter.java",
"chars": 2634,
"preview": "package io.swagger.v3.core.filter;\n\nimport io.swagger.v3.core.model.ApiDescription;\nimport io.swagger.v3.oas.models.Open"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/filter/SpecFilter.java",
"chars": 27778,
"preview": "package io.swagger.v3.core.filter;\n\nimport io.swagger.v3.core.model.ApiDescription;\nimport io.swagger.v3.core.util.Json;"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/AbstractModelConverter.java",
"chars": 4729,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.Version;\nimport com.fasterxml.jackson.databind.An"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ApiResponsesSerializer.java",
"chars": 1259,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/CallbackSerializer.java",
"chars": 1890,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ExampleSerializer.java",
"chars": 1505,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/JAXBAnnotationsHelper.java",
"chars": 5631,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.databind.introspect.Annotated;\nimport io.swagger.v3.co"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/MediaTypeSerializer.java",
"chars": 1478,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java",
"chars": 173819,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.annotation.JsonIdentityInfo;\nimport com.fasterxml.jack"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/PackageVersion.java",
"chars": 442,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.Version;\nimport com.fasterxml.jackson.core.Versio"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/PathsSerializer.java",
"chars": 1200,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/Schema31Serializer.java",
"chars": 1933,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/SchemaSerializer.java",
"chars": 2169,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.datab"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/SwaggerAnnotationIntrospector.java",
"chars": 3365,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson."
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/SwaggerModule.java",
"chars": 469,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.databind.module.SimpleModule;\n\npublic class SwaggerMod"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/TypeNameResolver.java",
"chars": 2788,
"preview": "package io.swagger.v3.core.jackson;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport io.swagger.v3.core.util.Anno"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Components31Mixin.java",
"chars": 674,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/ComponentsMixin.java",
"chars": 841,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/DateSchemaMixin.java",
"chars": 767,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonFormat;\nimport com.fasterxml.jack"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Discriminator31Mixin.java",
"chars": 387,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/DiscriminatorMixin.java",
"chars": 238,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\n\nimport java.util.Map;\n\np"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/ExampleMixin.java",
"chars": 680,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/ExtensionsMixin.java",
"chars": 382,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Info31Mixin.java",
"chars": 379,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/InfoMixin.java",
"chars": 486,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/LicenseMixin.java",
"chars": 492,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/MediaTypeMixin.java",
"chars": 687,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/OpenAPI31Mixin.java",
"chars": 625,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/OpenAPIMixin.java",
"chars": 859,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/OperationMixin.java",
"chars": 892,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/Schema31Mixin.java",
"chars": 2621,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/SchemaConverterMixin.java",
"chars": 2646,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/mixin/SchemaMixin.java",
"chars": 2706,
"preview": "package io.swagger.v3.core.jackson.mixin;\n\nimport com.fasterxml.jackson.annotation.JsonAnyGetter;\nimport com.fasterxml.j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/model/ApiDescription.java",
"chars": 514,
"preview": "package io.swagger.v3.core.model;\n\npublic class ApiDescription {\n private String path;\n private String method;\n\n "
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/AnnotationsUtils.java",
"chars": 131644,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.annotation.JsonView;\nimport com.fasterxml.jackson.databin"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ApiResponses31Deserializer.java",
"chars": 192,
"preview": "package io.swagger.v3.core.util;\n\npublic class ApiResponses31Deserializer extends ApiResponsesDeserializer {\n\n public"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ApiResponsesDeserializer.java",
"chars": 1821,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Callback31Deserializer.java",
"chars": 174,
"preview": "package io.swagger.v3.core.util;\n\npublic class Callback31Deserializer extends CallbackDeserializer {\n\n public Callbac"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/CallbackDeserializer.java",
"chars": 1876,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Configuration.java",
"chars": 4881,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport io.swagger.v3.oas.models."
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Constants.java",
"chars": 111,
"preview": "package io.swagger.v3.core.util;\n\npublic final class Constants {\n public static final String COMMA = \",\";\n}\n"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/DeserializationModule.java",
"chars": 1403,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.module.SimpleModule;\nimport io.swagger.v3.oas.mo"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/DeserializationModule31.java",
"chars": 2154,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.BeanDescription;\nimport com.fasterxml.jackson.da"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/EncodingPropertyStyleEnumDeserializer.java",
"chars": 1526,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/EncodingStyleEnumDeserializer.java",
"chars": 1454,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/HeaderStyleEnumDeserializer.java",
"chars": 1438,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Json.java",
"chars": 1307,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.util.DefaultPrettyPrinter;\nimport com.fasterxml.jack"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Json31.java",
"chars": 2734,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackso"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/KotlinDetector.java",
"chars": 828,
"preview": "package io.swagger.v3.core.util;\n\nimport java.lang.annotation.Annotation;\n\npublic class KotlinDetector {\n private sta"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Model31Deserializer.java",
"chars": 156,
"preview": "package io.swagger.v3.core.util;\n\npublic class Model31Deserializer extends ModelDeserializer {\n\n public Model31Deseri"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ModelDeserializer.java",
"chars": 8310,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ObjectMapperFactory.java",
"chars": 15264,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.fasterxml.jackson.core"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/OpenAPI30To31.java",
"chars": 1276,
"preview": "package io.swagger.v3.core.util;\n\nimport io.swagger.v3.oas.models.OpenAPI;\nimport io.swagger.v3.oas.models.SpecVersion;\n"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/OpenAPI31Deserializer.java",
"chars": 1381,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.core.JsonPr"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/OpenAPISchema2JsonSchema.java",
"chars": 2045,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport io.swagger.v3.oas.models.Sp"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Parameter31Deserializer.java",
"chars": 182,
"preview": "package io.swagger.v3.core.util;\n\npublic class Parameter31Deserializer extends ParameterDeserializer {\n\n public Param"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ParameterDeserializer.java",
"chars": 2330,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ParameterProcessor.java",
"chars": 21217,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.annotation.JsonView;\nimport io.swagger.v3.core.converter."
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/PathUtils.java",
"chars": 4019,
"preview": "package io.swagger.v3.core.util;\n\nimport org.apache.commons.lang3.StringUtils;\nimport org.slf4j.Logger;\nimport org.slf4j"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Paths31Deserializer.java",
"chars": 170,
"preview": "package io.swagger.v3.core.util;\n\npublic class Paths31Deserializer extends PathsDeserializer {\n\n public Paths31Deseri"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/PathsDeserializer.java",
"chars": 1752,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.De"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/PrettyPrintHelper.java",
"chars": 1354,
"preview": "package io.swagger.v3.core.util;\n\nimport org.slf4j.Logger;\n\nimport java.io.PrintWriter;\nimport java.io.StringWriter;\nimp"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/PrimitiveType.java",
"chars": 21135,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.type.TypeFactory;\nimport io.swagger.v3.oas.model"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/RefUtils.java",
"chars": 865,
"preview": "package io.swagger.v3.core.util;\n\nimport io.swagger.v3.oas.models.Components;\nimport org.apache.commons.lang3.StringUtil"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReferenceTypeUtils.java",
"chars": 2332,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport io.swagger.v3.core.converter.An"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ReflectionUtils.java",
"chars": 20240,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport com.fasterxml.jackson.databind."
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/SchemaTypeUtils.java",
"chars": 1612,
"preview": "package io.swagger.v3.core.util;\n\nimport io.swagger.v3.oas.models.media.Schema;\n\npublic class SchemaTypeUtils {\n\n pri"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/SecurityScheme31Deserializer.java",
"chars": 192,
"preview": "package io.swagger.v3.core.util;\n\npublic class SecurityScheme31Deserializer extends SecuritySchemeDeserializer {\n\n pu"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/SecuritySchemeDeserializer.java",
"chars": 3586,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonParseException;\nimport com.fasterxml.jackson.cor"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/SiblingAnnotationFilter.java",
"chars": 3859,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport io.swagger.v3.oas.models.media."
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ValidationAnnotationsUtils.java",
"chars": 6872,
"preview": "package io.swagger.v3.core.util;\n\nimport io.swagger.v3.oas.models.media.Schema;\n\nimport javax.validation.constraints.*;\n"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/ValidatorProcessor.java",
"chars": 761,
"preview": "package io.swagger.v3.core.util;\n\nimport io.swagger.v3.oas.models.media.Schema;\n\nimport java.lang.annotation.Annotation;"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Yaml.java",
"chars": 1289,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.util.DefaultPrettyPrinter;\nimport com.fasterxml.jack"
},
{
"path": "modules/swagger-core/src/main/java/io/swagger/v3/core/util/Yaml31.java",
"chars": 2077,
"preview": "package io.swagger.v3.core.util;\n\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackso"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/AnnotatedTypeCachingTest.java",
"chars": 3152,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.AnnotatedType;\nimport io.swagger.v3.core.con"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/AnnotatedTypeTest.java",
"chars": 7399,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.AnnotatedType;\nimport org.testng.annotations"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ArrayOfSubclassTest.java",
"chars": 1889,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.c"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ByteConverterTest.java",
"chars": 4105,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.m"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/CompositionTest.java",
"chars": 2406,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.m"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/CovariantGetterTest.java",
"chars": 1336,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.m"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/EnumPropertyTest.java",
"chars": 11147,
"preview": "package io.swagger.v3.core.converting;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport io.swagger.v3.core.co"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/GuavaTest.java",
"chars": 807,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.m"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/Issue5055Test.java",
"chars": 11355,
"preview": "package io.swagger.v3.core.converting;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jackson.dat"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ModelConverterTest.java",
"chars": 18703,
"preview": "package io.swagger.v3.core.converting;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jacks"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ModelPropertyTest.java",
"chars": 13268,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.m"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/NumericFormatTest.java",
"chars": 3933,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.u"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/PojoTest.java",
"chars": 24899,
"preview": "package io.swagger.v3.core.converting;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger.v3.core.m"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/PolymorphicSubtypePropertyBleedTest.java",
"chars": 6857,
"preview": "package io.swagger.v3.core.converting;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport io.swagger.v3.core.co"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/SwaggerSerializerTest.java",
"chars": 9395,
"preview": "package io.swagger.v3.core.converting;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport io.swagger.v3.core.co"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/CustomAnnotationConverter.java",
"chars": 1331,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport io.swagger.v"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/CustomConverterTest.java",
"chars": 2075,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport io.swagger.v3.co"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/CustomResolverTest.java",
"chars": 4846,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport com.fasterxml.ja"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/GenericModelConverter.java",
"chars": 1502,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport io.swagger.v3.core.converter.AnnotatedType;\nimport io.swagger.v3"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/ModelPropertyOverrideTest.java",
"chars": 4165,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger."
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/OverrideTest.java",
"chars": 1352,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport io.swagger.v3.core.converter.ModelConverters;\nimport io.swagger."
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SamplePropertyConverter.java",
"chars": 1290,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport io.swagger.v3.co"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SamplePropertyExtendedConverter.java",
"chars": 1597,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport com.fasterxml.jackson.databind.JavaType;\nimport com.fasterxml.ja"
},
{
"path": "modules/swagger-core/src/test/java/io/swagger/v3/core/converting/override/SnakeCaseConverterTest.java",
"chars": 5081,
"preview": "package io.swagger.v3.core.converting.override;\n\nimport com.google.common.collect.Sets;\nimport io.swagger.v3.core.conver"
}
]
// ... and 1011 more files (download for full content)
About this extraction
This page contains the full source code of the swagger-api/swagger-core GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1211 files (4.1 MB), approximately 1.2M tokens, and a symbol index with 7116 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.