From 709f77e64a214d3a632a66b863c73b5fca9a8dbb Mon Sep 17 00:00:00 2001 From: Dilip Krishnan Date: Thu, 26 Mar 2015 00:30:47 -0500 Subject: [PATCH] Updated copyright on all source files Also updated checkstyle to check for copyright notice --- .../gradlebuild/BintrayCredentials.groovy | 23 ++++++++------- .../plugins/MultiProjectReleasePlugin.groovy | 23 ++++++++------- .../tasks/BintrayCredentialsCheckTask.groovy | 23 ++++++++------- .../tasks/CheckCleanWorkspaceTask.groovy | 23 ++++++++------- .../gradlebuild/tasks/GitTagTask.groovy | 23 ++++++++------- .../gradlebuild/tasks/IntermediaryTask.groovy | 23 ++++++++------- .../tasks/PersistVersionTask.groovy | 23 ++++++++------- .../gradlebuild/tasks/ReleaseTask.groovy | 23 ++++++++------- .../gradlebuild/tasks/SnapshotTask.groovy | 23 ++++++++------- .../version/BuildscriptVersionResolver.groovy | 23 ++++++++------- .../version/EarlyAccessVersion.groovy | 23 ++++++++------- .../gradlebuild/version/ReleaseType.groovy | 23 ++++++++------- .../version/SemanticVersion.groovy | 23 ++++++++------- .../version/SnapshotVersion.groovy | 23 ++++++++------- .../version/SoftwareVersion.groovy | 23 ++++++++------- .../version/VersionDecorator.groovy | 23 ++++++++------- .../springfox-multi-release.properties | 28 ++++++++++--------- .../gradlebuild/DirectoryBacked.groovy | 23 ++++++++------- .../version/SemanticVersionTest.groovy | 23 ++++++++------- .../version/SnapshotVersionTest.groovy | 23 ++++++++------- config/apache-copyright.header | 18 ++++++++++++ config/checkstyle.xml | 5 +++- .../springfox/documentation/PathProvider.java | 19 +++++++++++++ .../documentation/RequestHandler.java | 19 +++++++++++++ .../documentation/annotations/ApiIgnore.java | 19 +++++++++++++ .../builders/ApiDescriptionBuilder.java | 19 +++++++++++++ .../builders/ApiInfoBuilder.java | 19 +++++++++++++ .../builders/ApiListingBuilder.java | 19 +++++++++++++ .../builders/AuthorizationBuilder.java | 19 +++++++++++++ .../AuthorizationCodeGrantBuilder.java | 19 +++++++++++++ .../builders/AuthorizationScopeBuilder.java | 19 +++++++++++++ .../builders/BuilderDefaults.java | 19 +++++++++++++ .../builders/DocumentationBuilder.java | 19 +++++++++++++ .../builders/ImplicitGrantBuilder.java | 19 +++++++++++++ .../builders/LoginEndpointBuilder.java | 19 +++++++++++++ .../documentation/builders/ModelBuilder.java | 19 +++++++++++++ .../builders/ModelPropertyBuilder.java | 19 +++++++++++++ .../documentation/builders/OAuthBuilder.java | 19 +++++++++++++ .../builders/OperationBuilder.java | 19 +++++++++++++ .../builders/ParameterBuilder.java | 19 +++++++++++++ .../documentation/builders/PathSelectors.java | 19 +++++++++++++ .../builders/RequestHandlerSelectors.java | 19 +++++++++++++ .../builders/ResourceListingBuilder.java | 19 +++++++++++++ .../builders/ResponseMessageBuilder.java | 19 +++++++++++++ .../builders/TokenEndpointBuilder.java | 19 +++++++++++++ .../builders/TokenRequestEndpointBuilder.java | 19 +++++++++++++ .../schema/AlternateTypeRule.java | 19 +++++++++++++ .../schema/AlternateTypeRules.java | 19 +++++++++++++ .../springfox/documentation/schema/Entry.java | 19 +++++++++++++ .../springfox/documentation/schema/Enums.java | 19 +++++++++++++ .../springfox/documentation/schema/Model.java | 19 +++++++++++++ .../documentation/schema/ModelProperty.java | 19 +++++++++++++ .../documentation/schema/ModelRef.java | 19 +++++++++++++ .../documentation/schema/WildcardType.java | 19 +++++++++++++ .../service/AllowableListValues.java | 19 +++++++++++++ .../service/AllowableRangeValues.java | 19 +++++++++++++ .../service/AllowableValues.java | 19 +++++++++++++ .../documentation/service/ApiDescription.java | 19 +++++++++++++ .../documentation/service/ApiInfo.java | 19 +++++++++++++ .../documentation/service/ApiKey.java | 19 +++++++++++++ .../documentation/service/ApiListing.java | 19 +++++++++++++ .../service/ApiListingReference.java | 19 +++++++++++++ .../documentation/service/Authorization.java | 19 +++++++++++++ .../service/AuthorizationCodeGrant.java | 19 +++++++++++++ .../service/AuthorizationScope.java | 19 +++++++++++++ .../service/AuthorizationType.java | 19 +++++++++++++ .../documentation/service/BasicAuth.java | 19 +++++++++++++ .../documentation/service/Documentation.java | 19 +++++++++++++ .../documentation/service/GrantType.java | 19 +++++++++++++ .../documentation/service/ImplicitGrant.java | 19 +++++++++++++ .../documentation/service/LoginEndpoint.java | 19 +++++++++++++ .../documentation/service/OAuth.java | 19 +++++++++++++ .../documentation/service/Operation.java | 19 +++++++++++++ .../documentation/service/Parameter.java | 19 +++++++++++++ .../service/ResolvedMethodParameter.java | 19 +++++++++++++ .../documentation/service/ResourceGroup.java | 19 +++++++++++++ .../service/ResourceListing.java | 19 +++++++++++++ .../service/ResponseMessage.java | 19 +++++++++++++ .../springfox/documentation/service/Tag.java | 19 +++++++++++++ .../documentation/service/TokenEndpoint.java | 19 +++++++++++++ .../service/TokenRequestEndpoint.java | 19 +++++++++++++ .../model/AuthorizationTypeNamesSpec.groovy | 19 +++++++++++++ .../service/model/DocumenationSpec.groovy | 19 +++++++++++++ .../service/model/ResponseMessageSpec.groovy | 19 +++++++++++++ .../model/builder/OperationBuilderSpec.groovy | 19 +++++++++++++ .../documentation/RequestHandlerSpec.groovy | 19 +++++++++++++ .../builders/ApiDescriptionBuilderSpec.groovy | 19 +++++++++++++ .../builders/ApiInfoBuilderSpec.groovy | 19 +++++++++++++ .../builders/ApiListingBuilderSpec.groovy | 19 +++++++++++++ .../builders/AuthorizationBuilderSpec.groovy | 19 +++++++++++++ .../AuthorizationCodeGrantBuilderSpec.groovy | 19 +++++++++++++ .../AuthorizationScopeBuilderSpec.groovy | 19 +++++++++++++ .../builders/BuilderDefaultsSpec.groovy | 19 +++++++++++++ .../builders/DocumentationBuilderSpec.groovy | 19 +++++++++++++ .../builders/ImplicitGrantBuilderSpec.groovy | 19 +++++++++++++ .../builders/LoginEndpointBuilderSpec.groovy | 19 +++++++++++++ .../builders/ModelBuilderSpec.groovy | 19 +++++++++++++ .../builders/ModelPropertyBuilderSpec.groovy | 19 +++++++++++++ .../builders/OAuthBuilderSpec.groovy | 19 +++++++++++++ .../builders/ParameterBuilderSpec.groovy | 19 +++++++++++++ .../builders/PathSelectorsSpec.groovy | 19 +++++++++++++ .../RequestHandlerSelectorsSpec.groovy | 19 +++++++++++++ .../ResourceListingBuilderSpec.groovy | 19 +++++++++++++ .../ResponseMessageBuilderSpec.groovy | 19 +++++++++++++ .../builders/TokenEndpointBuilderSpec.groovy | 19 +++++++++++++ .../TokenRequestEndpointBuilderSpec.groovy | 19 +++++++++++++ .../schema/AlternateTypeRuleSpec.groovy | 19 +++++++++++++ .../documentation/schema/EnumsSpec.groovy | 19 +++++++++++++ .../documentation/schema/ModelRefSpec.groovy | 19 +++++++++++++ .../schema/WildcardTypeSpec.groovy | 19 +++++++++++++ .../documentation/service/TagSpec.groovy | 19 +++++++++++++ .../model/AllowableRangeValuesSpec.groovy | 19 +++++++++++++ .../service/model/ApiKeySpec.groovy | 19 +++++++++++++ .../model/ApiListingReferenceSpec.groovy | 19 +++++++++++++ .../model/ResolvedMethodParameterSpec.groovy | 19 +++++++++++++ .../service/model/ResourceGroupSpec.groovy | 19 +++++++++++++ .../documentation/schema/ExampleEnum.java | 19 +++++++++++++ .../schema/IncorrectlyJsonValuedEnum.java | 19 +++++++++++++ .../documentation/schema/JsonValuedEnum.java | 19 +++++++++++++ .../java/springfox/petstore/Responses.java | 19 +++++++++++++ .../controller/NotFoundException.java | 19 +++++++++++++ .../petstore/controller/PetController.java | 9 ++++-- .../petstore/controller/PetStoreResource.java | 9 ++++-- .../petstore/controller/UserController.java | 9 ++++-- .../springfox/petstore/model/Category.java | 9 ++++-- .../java/springfox/petstore/model/Order.java | 9 ++++-- .../java/springfox/petstore/model/Pet.java | 9 ++++-- .../java/springfox/petstore/model/Pets.java | 19 +++++++++++++ .../java/springfox/petstore/model/Tag.java | 9 ++++-- .../java/springfox/petstore/model/User.java | 9 ++++-- .../petstore/repository/Identifiable.java | 19 +++++++++++++ .../repository/MapBackedRepository.java | 19 +++++++++++++ .../petstore/repository/UserRepository.java | 19 +++++++++++++ .../documentation/schema/Annotations.java | 19 +++++++++++++ .../CodeGenGenericTypeNamingStrategy.java | 19 +++++++++++++ .../documentation/schema/Collections.java | 19 +++++++++++++ .../DefaultGenericTypeNamingStrategy.java | 19 +++++++++++++ .../schema/DefaultModelProvider.java | 19 +++++++++++++ .../schema/DefaultTypeNameProvider.java | 19 +++++++++++++ .../springfox/documentation/schema/Maps.java | 19 +++++++++++++ .../schema/ModelDependencyProvider.java | 19 +++++++++++++ .../schema/ModelNameContext.java | 19 +++++++++++++ .../documentation/schema/ModelProvider.java | 19 +++++++++++++ .../documentation/schema/ResolvedTypes.java | 19 +++++++++++++ .../schema/TypeNameExtractor.java | 19 +++++++++++++ .../springfox/documentation/schema/Types.java | 19 +++++++++++++ .../configuration/ModelsConfiguration.java | 19 +++++++++++++ .../configuration/ObjectMapperConfigured.java | 19 +++++++++++++ .../schema/plugins/SchemaPluginsManager.java | 19 +++++++++++++ .../schema/property/BaseModelProperty.java | 19 +++++++++++++ .../property/BeanPropertyDefinitions.java | 19 +++++++++++++ .../property/BeanPropertyNamingStrategy.java | 19 +++++++++++++ .../schema/property/ModelProperty.java | 19 +++++++++++++ ...bjectMapperBeanPropertyNamingStrategy.java | 19 +++++++++++++ .../schema/property/bean/Accessors.java | 19 +++++++++++++ .../property/bean/AccessorsProvider.java | 19 +++++++++++++ .../property/bean/BeanModelProperty.java | 19 +++++++++++++ .../bean/BeanModelPropertyProvider.java | 19 +++++++++++++ .../ConstructorModelPropertyProvider.java | 19 +++++++++++++ .../property/field/FieldModelProperty.java | 19 +++++++++++++ .../field/FieldModelPropertyProvider.java | 19 +++++++++++++ .../schema/property/field/FieldProvider.java | 19 +++++++++++++ .../DefaultModelPropertiesProvider.java | 19 +++++++++++++ .../provider/ModelPropertiesProvider.java | 19 +++++++++++++ .../schema/AlternateTypeProviderSpec.groovy | 19 +++++++++++++ .../schema/AlternateTypesSupport.groovy | 19 +++++++++++++ .../schema/AnnotationsSpec.groovy | 19 +++++++++++++ ...odeGenGenericTypeNamingStrategySpec.groovy | 19 +++++++++++++ .../schema/CollectionsSpec.groovy | 19 +++++++++++++ .../schema/ComplexTypeSpec.groovy | 19 +++++++++++++ .../schema/ContainerTypesSpec.groovy | 19 +++++++++++++ .../documentation/schema/EnumTypeSpec.groovy | 19 +++++++++++++ .../schema/GenericTypeSpec.groovy | 19 +++++++++++++ .../documentation/schema/MapsSpec.groovy | 19 +++++++++++++ .../schema/ModelDependencyProviderSpec.groovy | 19 +++++++++++++ .../schema/ModelProviderSpec.groovy | 19 +++++++++++++ .../ObjectMapperNamingStrategySpec.groovy | 19 +++++++++++++ .../schema/SchemaSpecification.groovy | 19 +++++++++++++ .../schema/SimpleTypeSpec.groovy | 19 +++++++++++++ .../schema/StaticTypesSpec.groovy | 19 +++++++++++++ .../schema/TypeNameExtractorSpec.groovy | 19 +++++++++++++ .../documentation/schema/TypesSpec.groovy | 19 +++++++++++++ .../schema/UnwrappedTypeSpec.groovy | 19 +++++++++++++ .../alternates/AlternatePropertiesSpec.groovy | 19 +++++++++++++ .../ModelsConfigurationSpec.groovy | 19 +++++++++++++ .../ConfiguredObjectMapperSupport.groovy | 19 +++++++++++++ .../mixins/ModelPropertyLookupSupport.groovy | 19 +++++++++++++ .../schema/mixins/ModelProviderSupport.groovy | 19 +++++++++++++ .../schema/mixins/SchemaPluginsSupport.groovy | 19 +++++++++++++ .../mixins/TypesForTestingSupport.groovy | 19 +++++++++++++ .../schema/plugins/ModelContextSpec.groovy | 19 +++++++++++++ .../plugins/SchemaPluginsManagerSpec.groovy | 19 +++++++++++++ .../BeanPropertyDefinitionsSpec.groovy | 19 +++++++++++++ .../schema/property/bean/AccessorsSpec.groovy | 19 +++++++++++++ .../bean/BeanModelPropertyProviderSpec.groovy | 19 +++++++++++++ .../ConstructorModelPropertySpec.groovy | 19 +++++++++++++ .../documentation/schema/ArraysContainer.java | 19 +++++++++++++ .../documentation/schema/Category.java | 19 +++++++++++++ .../documentation/schema/ComplexType.java | 19 +++++++++++++ .../schema/ExampleWithEnums.java | 19 +++++++++++++ .../documentation/schema/GenericType.java | 19 +++++++++++++ .../schema/HttpEntityAlternative.java | 19 +++++++++++++ .../schema/InheritedComplexType.java | 19 +++++++++++++ .../documentation/schema/ListsContainer.java | 19 +++++++++++++ .../documentation/schema/MapsContainer.java | 19 +++++++++++++ .../documentation/schema/RecursiveType.java | 19 +++++++++++++ .../schema/ResponseEntityAlternative.java | 19 +++++++++++++ .../documentation/schema/SetsContainer.java | 19 +++++++++++++ .../documentation/schema/SimpleType.java | 19 +++++++++++++ .../schema/TypeForTestingPropertyNames.java | 19 +++++++++++++ .../schema/TypeWithAlternateProperty.java | 19 +++++++++++++ .../schema/TypeWithConstructor.java | 19 +++++++++++++ .../schema/TypeWithConstructorProperty.java | 19 +++++++++++++ .../schema/TypeWithGettersAndSetters.java | 19 +++++++++++++ .../schema/TypeWithJsonGetterAnnotation.java | 19 +++++++++++++ .../schema/TypeWithJsonProperty.java | 19 +++++++++++++ .../documentation/schema/UnwrappedType.java | 19 +++++++++++++ .../documentation/spi/DocumentationType.java | 19 +++++++++++++ .../spi/schema/AlternateTypeProvider.java | 19 +++++++++++++ .../spi/schema/GenericTypeNamingStrategy.java | 19 +++++++++++++ .../spi/schema/ModelBuilderPlugin.java | 19 +++++++++++++ .../schema/ModelPropertyBuilderPlugin.java | 19 +++++++++++++ .../spi/schema/TypeNameProviderPlugin.java | 19 +++++++++++++ .../spi/schema/contexts/ModelContext.java | 19 +++++++++++++ .../schema/contexts/ModelPropertyContext.java | 19 +++++++++++++ .../spi/service/ApiListingBuilderPlugin.java | 19 +++++++++++++ .../spi/service/DefaultsProviderPlugin.java | 19 +++++++++++++ .../spi/service/DocumentationPlugin.java | 19 +++++++++++++ .../ExpandedParameterBuilderPlugin.java | 19 +++++++++++++ .../spi/service/OperationBuilderPlugin.java | 19 +++++++++++++ .../OperationModelsProviderPlugin.java | 19 +++++++++++++ .../spi/service/ParameterBuilderPlugin.java | 19 +++++++++++++ .../spi/service/ResourceGroupingStrategy.java | 19 +++++++++++++ .../service/contexts/ApiListingContext.java | 19 +++++++++++++ .../spi/service/contexts/ApiSelector.java | 19 +++++++++++++ .../contexts/AuthorizationContext.java | 19 +++++++++++++ .../spi/service/contexts/Defaults.java | 19 +++++++++++++ .../contexts/DocumentationContext.java | 19 +++++++++++++ .../contexts/DocumentationContextBuilder.java | 19 +++++++++++++ .../service/contexts/OperationContext.java | 19 +++++++++++++ .../OperationModelContextsBuilder.java | 19 +++++++++++++ .../spi/service/contexts/Orderings.java | 19 +++++++++++++ .../service/contexts/ParameterContext.java | 19 +++++++++++++ .../contexts/ParameterExpansionContext.java | 19 +++++++++++++ .../contexts/RequestMappingContext.java | 19 +++++++++++++ .../spring/web/AbstractPathProvider.java | 19 +++++++++++++ .../spring/web/ControllerNamingUtils.java | 19 +++++++++++++ .../spring/web/DocumentationCache.java | 19 +++++++++++++ .../spring/web/HandlerMethodReturnTypes.java | 19 +++++++++++++ .../documentation/spring/web/Paths.java | 19 +++++++++++++ .../spring/web/RelativePathProvider.java | 19 +++++++++++++ .../spring/web/SpringGroupingStrategy.java | 19 +++++++++++++ .../SpringMvcDocumentationConfiguration.java | 19 +++++++++++++ .../web/plugins/ApiSelectorBuilder.java | 19 +++++++++++++ .../web/plugins/DefaultConfiguration.java | 19 +++++++++++++ .../spring/web/plugins/Docket.java | 19 +++++++++++++ .../DocumentationPluginsBootstrapper.java | 19 +++++++++++++ .../plugins/DocumentationPluginsManager.java | 19 +++++++++++++ .../readers/operation/ApiOperationReader.java | 19 +++++++++++++ .../operation/DefaultOperationBuilder.java | 19 +++++++++++++ .../operation/HandlerMethodResolver.java | 19 +++++++++++++ .../operation/OperationDeprecatedReader.java | 19 +++++++++++++ .../operation/OperationModelsProvider.java | 19 +++++++++++++ ...rationParameterRequestConditionReader.java | 19 +++++++++++++ .../OperationResponseClassReader.java | 19 +++++++++++++ .../operation/OperationTagsReader.java | 19 +++++++++++++ .../operation/ResponseMessagesReader.java | 19 +++++++++++++ .../parameter/ExpandedParameterBuilder.java | 19 +++++++++++++ .../parameter/ModelAttributeField.java | 19 +++++++++++++ .../ModelAttributeParameterExpander.java | 19 +++++++++++++ .../parameter/OperationParameterReader.java | 19 +++++++++++++ .../parameter/ParameterDataTypeReader.java | 19 +++++++++++++ .../parameter/ParameterDefaultReader.java | 19 +++++++++++++ .../parameter/ParameterMultiplesReader.java | 19 +++++++++++++ .../parameter/ParameterNameReader.java | 19 +++++++++++++ .../parameter/ParameterRequiredReader.java | 19 +++++++++++++ .../parameter/ParameterTypeReader.java | 19 +++++++++++++ .../web/scanners/ApiDescriptionReader.java | 19 +++++++++++++ .../web/scanners/ApiDocumentationScanner.java | 19 +++++++++++++ .../ApiListingReferenceScanResult.java | 19 +++++++++++++ .../scanners/ApiListingReferenceScanner.java | 19 +++++++++++++ .../web/scanners/ApiListingScanner.java | 19 +++++++++++++ .../scanners/ApiListingScanningContext.java | 19 +++++++++++++ .../spring/web/scanners/ApiModelReader.java | 19 +++++++++++++ .../spring/web/scanners/MediaTypeReader.java | 19 +++++++++++++ .../schema/ReturnTypesSpec.groovy | 19 +++++++++++++ .../web/ControllerNamingUtilsSpec.groovy | 19 +++++++++++++ .../spring/web/DocumentationCacheSpec.groovy | 19 +++++++++++++ .../documentation/spring/web/PathsSpec.groovy | 19 +++++++++++++ .../web/RelativePathProviderSpec.groovy | 19 +++++++++++++ .../RelativeSwaggerPathProviderSpec.groovy | 19 +++++++++++++ .../web/SpringGroupingStrategySpec.groovy | 19 +++++++++++++ .../AuthSerializationSpec.groovy | 19 +++++++++++++ .../AuthorizationContextSpec.groovy | 19 +++++++++++++ .../web/mixins/AccessorAssertions.groovy | 19 +++++++++++++ .../web/mixins/ApiDescriptionSupport.groovy | 19 +++++++++++++ .../web/mixins/ApiListingSupport.groovy | 19 +++++++++++++ .../spring/web/mixins/AuthSupport.groovy | 19 +++++++++++++ .../web/mixins/HandlerMethodsSupport.groovy | 19 +++++++++++++ .../spring/web/mixins/JsonSupport.groovy | 19 +++++++++++++ .../ModelProviderForServiceSupport.groovy | 19 +++++++++++++ .../web/mixins/RequestMappingSupport.groovy | 19 +++++++++++++ .../web/mixins/ServicePluginsSupport.groovy | 19 +++++++++++++ .../DocumentationConfigurerSpec.groovy | 19 +++++++++++++ .../plugins/DocumentationContextSpec.groovy | 19 +++++++++++++ ...ocumentationPluginsBootstrapperSpec.groovy | 19 +++++++++++++ .../DocumentationPluginsManagerSpec.groovy | 19 +++++++++++++ .../plugins/OperationModelsBuilderSpec.groovy | 19 +++++++++++++ .../web/readers/ApiModelReaderSpec.groovy | 19 +++++++++++++ .../web/readers/ApiOperationReaderSpec.groovy | 19 +++++++++++++ .../web/readers/MediaTypeReaderSpec.groovy | 19 +++++++++++++ ...ParameterRequestConditionReaderSpec.groovy | 19 +++++++++++++ .../DefaultResponseMessageReaderSpec.groovy | 19 +++++++++++++ .../HandlerMethodResolverSpec.groovy | 19 +++++++++++++ .../OperationCommandReaderSpec.groovy | 19 +++++++++++++ .../OperationMethodReaderSpec.groovy | 19 +++++++++++++ .../OperationPositionReaderSpec.groovy | 19 +++++++++++++ .../OperationResponseClassReaderSpec.groovy | 19 +++++++++++++ .../operation/OperationTagsReaderSpec.groovy | 19 +++++++++++++ ...ModelAttributeParameterExpanderSpec.groovy | 19 +++++++++++++ .../OperationParameterReaderSpec.groovy | 19 +++++++++++++ .../ParameterDataTypeReaderSpec.groovy | 19 +++++++++++++ .../ParameterMultiplesReaderSpec.groovy | 19 +++++++++++++ .../parameter/ParameterReaderSpec.groovy | 19 +++++++++++++ .../ParameterRequiredReaderSpec.groovy | 19 +++++++++++++ .../parameter/ParameterTypeReaderSpec.groovy | 19 +++++++++++++ .../scanners/ApiDescriptionReaderSpec.groovy | 19 +++++++++++++ .../web/scanners/ApiListingScannerSpec.groovy | 19 +++++++++++++ .../SwaggerApiDocumentationScannerSpec.groovy | 19 +++++++++++++ ...aggerApiListingReferenceScannerSpec.groovy | 19 +++++++++++++ .../GenericWebContextLoader.java | 19 +++++++++++++ .../web/configuration/WebContextLoader.java | 19 +++++++++++++ .../spring/web/dummy/DummyClass.java | 19 +++++++++++++ .../spring/web/dummy/DummyController.java | 19 +++++++++++++ .../DummyControllerWithApiDescription.java | 19 +++++++++++++ .../spring/web/dummy/DummyModels.java | 19 +++++++++++++ .../DummyRequestMappingHandlerAdapter.java | 19 +++++++++++++ .../spring/web/dummy/RestError.java | 19 +++++++++++++ .../dummy/controllers/AbstractController.java | 19 +++++++++++++ .../dummy/controllers/AbstractPetService.java | 19 +++++++++++++ .../dummy/controllers/BusinessService.java | 19 +++++++++++++ .../dummy/controllers/ConcreteController.java | 19 +++++++++++++ ...ControllerWithNoRequestMappingService.java | 19 +++++++++++++ .../dummy/controllers/ExcludedService.java | 19 +++++++++++++ .../dummy/controllers/FancyPetService.java | 19 +++++++++++++ .../FeatureDemonstrationService.java | 19 +++++++++++++ .../dummy/controllers/InheritedService.java | 19 +++++++++++++ .../controllers/InheritedServiceImpl.java | 19 +++++++++++++ .../dummy/controllers/PetGroomingService.java | 19 +++++++++++++ .../web/dummy/controllers/PetService.java | 19 +++++++++++++ .../web/dummy/controllers/RootController.java | 19 +++++++++++++ .../spring/web/dummy/models/Business.java | 19 +++++++++++++ .../spring/web/dummy/models/Category.java | 19 +++++++++++++ .../models/CustomAllCapsStringHashSet.java | 19 ++++++++++++- .../spring/web/dummy/models/EnumType.java | 19 +++++++++++++ .../spring/web/dummy/models/Example.java | 19 +++++++++++++ .../spring/web/dummy/models/FancyPet.java | 19 +++++++++++++ .../spring/web/dummy/models/FoobarDto.java | 19 +++++++++++++ .../spring/web/dummy/models/NestedType.java | 19 +++++++++++++ .../spring/web/dummy/models/Parent.java | 19 +++++++++++++ .../spring/web/dummy/models/Pet.java | 19 +++++++++++++ .../spring/web/dummy/models/Treeish.java | 19 +++++++++++++ .../swagger/annotations/Annotations.java | 19 +++++++++++++ .../swagger/common/SwaggerPluginSupport.java | 19 +++++++++++++ .../SwaggerCommonConfiguration.java | 19 +++++++++++++ .../operation/OperationAuthReader.java | 19 +++++++++++++ .../operation/OperationHiddenReader.java | 19 +++++++++++++ .../operation/OperationHttpMethodReader.java | 19 +++++++++++++ .../OperationImplicitParameterReader.java | 19 +++++++++++++ .../OperationImplicitParametersReader.java | 19 +++++++++++++ .../operation/OperationNotesReader.java | 19 +++++++++++++ .../operation/OperationPositionReader.java | 19 +++++++++++++ .../OperationResponseClassReader.java | 19 +++++++++++++ .../operation/OperationSummaryReader.java | 19 +++++++++++++ .../operation/SwaggerMediaTypeReader.java | 19 +++++++++++++ .../SwaggerOperationModelsProvider.java | 19 +++++++++++++ .../SwaggerResponseMessageReader.java | 19 +++++++++++++ .../parameter/ParameterAccessReader.java | 19 +++++++++++++ .../parameter/ParameterAllowableReader.java | 19 +++++++++++++ .../parameter/ParameterAnnotationReader.java | 19 +++++++++++++ .../parameter/ParameterDefaultReader.java | 19 +++++++++++++ .../parameter/ParameterDescriptionReader.java | 19 +++++++++++++ .../parameter/ParameterMultiplesReader.java | 19 +++++++++++++ .../parameter/ParameterNameReader.java | 19 +++++++++++++ .../parameter/ParameterRequiredReader.java | 19 +++++++++++++ .../SwaggerExpandedParameterBuilder.java | 19 +++++++++++++ .../swagger/schema/ApiModelBuilder.java | 19 +++++++++++++ .../swagger/schema/ApiModelProperties.java | 19 +++++++++++++ .../ApiModelPropertyPropertyBuilder.java | 19 +++++++++++++ .../schema/ApiModelTypeNameProvider.java | 19 +++++++++++++ .../swagger/web/AbsolutePathProvider.java | 19 +++++++++++++ .../ClassOrApiAnnotationResourceGrouping.java | 19 +++++++++++++ .../swagger/annotations/EnableSwagger.java | 19 +++++++++++++ .../configuration/JacksonSwaggerSupport.java | 19 +++++++++++++ .../configuration/SwaggerJacksonModule.java | 19 +++++++++++++ ...erSpringMvcDocumentationConfiguration.java | 19 +++++++++++++ .../swagger/dto/AllowableListValues.java | 19 +++++++++++++ .../swagger/dto/AllowableRangeValues.java | 19 +++++++++++++ .../swagger/dto/AllowableValues.java | 19 +++++++++++++ .../swagger/dto/ApiDescription.java | 19 +++++++++++++ .../documentation/swagger/dto/ApiInfo.java | 19 +++++++++++++ .../documentation/swagger/dto/ApiKey.java | 19 +++++++++++++ .../documentation/swagger/dto/ApiListing.java | 19 +++++++++++++ .../swagger/dto/ApiListingReference.java | 19 +++++++++++++ .../swagger/dto/Authorization.java | 19 +++++++++++++ .../swagger/dto/AuthorizationCodeGrant.java | 19 +++++++++++++ .../swagger/dto/AuthorizationScope.java | 19 +++++++++++++ .../swagger/dto/AuthorizationType.java | 19 +++++++++++++ .../documentation/swagger/dto/BasicAuth.java | 19 +++++++++++++ .../swagger/dto/ContainerDataType.java | 19 +++++++++++++ .../documentation/swagger/dto/DataType.java | 19 +++++++++++++ .../documentation/swagger/dto/GrantType.java | 19 +++++++++++++ .../swagger/dto/ImplicitGrant.java | 19 +++++++++++++ .../swagger/dto/LoginEndpoint.java | 19 +++++++++++++ .../documentation/swagger/dto/ModelDto.java | 19 +++++++++++++ .../swagger/dto/ModelPropertyDto.java | 19 +++++++++++++ .../documentation/swagger/dto/OAuth.java | 19 +++++++++++++ .../documentation/swagger/dto/Operation.java | 19 +++++++++++++ .../documentation/swagger/dto/Parameter.java | 19 +++++++++++++ .../swagger/dto/PrimitiveDataType.java | 19 +++++++++++++ .../swagger/dto/PrimitiveFormatDataType.java | 19 +++++++++++++ .../swagger/dto/ReferenceDataType.java | 19 +++++++++++++ .../swagger/dto/ResourceListing.java | 19 +++++++++++++ .../swagger/dto/ResponseMessage.java | 19 +++++++++++++ .../swagger/dto/SwaggerDataType.java | 19 +++++++++++++ .../swagger/dto/TokenEndpoint.java | 19 +++++++++++++ .../swagger/dto/TokenRequestEndpoint.java | 19 +++++++++++++ .../mappers/AllowableValuesMapper.java | 19 +++++++++++++ .../mappers/AuthorizationTypesMapper.java | 19 +++++++++++++ .../swagger/mappers/DataTypeMapper.java | 19 +++++++++++++ .../swagger/mappers/Mappers.java | 19 +++++++++++++ .../mappers/ServiceModelToSwaggerMapper.java | 19 +++++++++++++ .../swagger/web/DefaultSwaggerController.java | 19 +++++++++++++ .../web/SwaggerDefaultConfiguration.java | 19 +++++++++++++ .../field/FieldModelPropertySpec.groovy | 19 +++++++++++++ .../property/BeanModelPropertySpec.groovy | 19 +++++++++++++ .../ApiDocumentationScannerSpec.groovy | 19 +++++++++++++ ...aggerApiListingReferenceScannerSpec.groovy | 19 +++++++++++++ .../scanners/SwaggerApiModelReaderSpec.groovy | 19 +++++++++++++ .../annotations/AnnotationsSpec.groovy | 19 +++++++++++++ .../JacksonSwaggerSupportSpec.groovy | 19 +++++++++++++ .../dto/AllowableListValuesSpec.groovy | 19 +++++++++++++ .../dto/AllowableRangeValuesSpec.groovy | 19 +++++++++++++ .../swagger/dto/ApiDescriptionSpec.groovy | 19 +++++++++++++ .../swagger/dto/ApiInfoSpec.groovy | 19 +++++++++++++ .../swagger/dto/ApiKeySpec.groovy | 19 +++++++++++++ .../dto/ApiListingReferenceSpec.groovy | 19 +++++++++++++ .../swagger/dto/ApiListingSpec.groovy | 19 +++++++++++++ .../swagger/dto/AuthorizationScopeSpec.groovy | 19 +++++++++++++ .../swagger/dto/AuthorizationSpec.groovy | 19 +++++++++++++ .../swagger/dto/BasicAuthSpec.groovy | 19 +++++++++++++ .../swagger/dto/ContainerDataTypeSpec.groovy | 19 +++++++++++++ .../swagger/dto/DataTypeSpec.groovy | 19 +++++++++++++ .../dto/InternalJsonSerializationSpec.groovy | 19 +++++++++++++ .../swagger/dto/ModelPropertySpec.groovy | 19 +++++++++++++ .../swagger/dto/ModelSpec.groovy | 19 +++++++++++++ .../swagger/dto/OperationSpec.groovy | 19 +++++++++++++ .../swagger/dto/ParameterSpec.groovy | 19 +++++++++++++ .../swagger/dto/PrimitiveDataTypeSpec.groovy | 19 +++++++++++++ .../dto/PrimitiveFormatDataTypeSpec.groovy | 19 +++++++++++++ .../swagger/dto/ReferenceDataTypeSpec.groovy | 19 +++++++++++++ .../swagger/dto/ResourceListingSpec.groovy | 19 +++++++++++++ .../swagger/dto/ResponseMessageSpec.groovy | 19 +++++++++++++ .../swagger/dto/TokenEndpointSpec.groovy | 19 +++++++++++++ .../dto/TokenRequestEndpointSpec.groovy | 19 +++++++++++++ .../CustomJavaPluginStartupSpec.groovy | 19 +++++++++++++ .../CustomXmlPluginStartupSpec.groovy | 19 +++++++++++++ .../DefaultJavaPluginStartupSpec.groovy | 19 +++++++++++++ .../DefaultXmlPluginStartupSpec.groovy | 19 +++++++++++++ ...leRequestMappingHandlerAdaptersSpec.groovy | 19 +++++++++++++ .../SwaggerSpringMvcPluginSpec.groovy | 19 +++++++++++++ .../AuthorizationTypesSerializerSpec.groovy | 19 +++++++++++++ .../jackson/SwaggerJacksonModuleSpec.groovy | 19 +++++++++++++ .../swagger/mappers/AllMappersSpec.groovy | 19 +++++++++++++ .../mappers/AllowableValuesMapperSpec.groovy | 19 +++++++++++++ .../AuthorizationTypesMapperSpec.groovy | 19 +++++++++++++ .../swagger/mappers/DataTypeMapperSpec.groovy | 19 +++++++++++++ .../ServiceModelToSwaggerMapperSpec.groovy | 19 +++++++++++++ .../swagger/mixins/MapperSupport.groovy | 19 +++++++++++++ .../mixins/SwaggerPathProviderSupport.groovy | 19 +++++++++++++ .../mixins/SwaggerPluginsSupport.groovy | 19 +++++++++++++ .../operation/OperationAuthReaderSpec.groovy | 19 +++++++++++++ .../OperationCommandReaderSpec.groovy | 19 +++++++++++++ .../OperationHttpMethodReaderSpec.groovy | 19 +++++++++++++ .../OperationImplicitParamsReaderSpec.groovy | 19 +++++++++++++ .../OperationPositionReaderSpec.groovy | 19 +++++++++++++ .../OperationResponseClassReaderSpec.groovy | 19 +++++++++++++ .../SwaggerMediaTypeReaderSpec.groovy | 19 +++++++++++++ .../SwaggerResponseMessageReaderSpec.groovy | 19 +++++++++++++ .../OperationParameterReaderSpec.groovy | 19 +++++++++++++ .../ParameterAllowableReaderSpec.groovy | 19 +++++++++++++ .../ParameterAnnotationReaderSpec.groovy | 19 +++++++++++++ .../ParameterMultiplesReaderSpec.groovy | 19 +++++++++++++ .../parameter/ParameterNameReaderSpec.groovy | 19 +++++++++++++ .../parameter/ParameterReaderSpec.groovy | 19 +++++++++++++ .../ParameterRequiredReaderSpec.groovy | 19 +++++++++++++ ...elPropertyPropertyBuilderPluginSpec.groovy | 19 +++++++++++++ .../ApiModelTypeNameProviderSpec.groovy | 19 +++++++++++++ .../web/AbsolutePathProviderSpec.groovy | 19 +++++++++++++ ...OrApiAnnotationResourceGroupingSpec.groovy | 19 +++++++++++++ .../web/DefaultSwaggerControllerSpec.groovy | 19 +++++++++++++ .../SwaggerApiDescriptionReaderSpec.groovy | 19 +++++++++++++ .../TypeWithAnnotatedGettersAndSetters.java | 19 +++++++++++++ .../schema/TypeWithApiModelAnnotation.java | 19 +++++++++++++ .../TypeWithEmptyApiModelAnnotation.java | 19 +++++++++++++ .../schema/TypeWithGettersAndSetters.java | 19 +++++++++++++ .../configuration/CustomJavaPluginConfig.java | 19 +++++++++++++ .../configuration/CustomXmlJavaConfig.java | 19 +++++++++++++ .../DefaultJavaPluginConfig.java | 19 +++++++++++++ .../configuration/MultipleRMHAConfig.java | 19 +++++++++++++ .../ServiceWithAnnotationOnInterface.java | 19 +++++++++++++ .../swagger2/annotations/EnableSwagger2.java | 19 +++++++++++++ .../Swagger2DocumentationConfiguration.java | 19 +++++++++++++ .../configuration/Swagger2JacksonModule.java | 19 +++++++++++++ .../swagger2/mappers/ApiKeyAuthFactory.java | 19 +++++++++++++ .../swagger2/mappers/BasicAuthFactory.java | 19 +++++++++++++ .../swagger2/mappers/LicenseMapper.java | 19 +++++++++++++ .../swagger2/mappers/ModelMapper.java | 19 +++++++++++++ .../swagger2/mappers/OAuth2AuthFactory.java | 19 +++++++++++++ .../swagger2/mappers/ParameterMapper.java | 19 +++++++++++++ .../swagger2/mappers/SecurityMapper.java | 19 +++++++++++++ .../mappers/SecuritySchemeFactory.java | 19 +++++++++++++ .../mappers/ServiceModelToSwagger2Mapper.java | 19 +++++++++++++ .../swagger2/web/Swagger2Controller.java | 19 +++++++++++++ .../contract/swagger/CrossOriginFilter.java | 19 +++++++++++++ .../contract/swagger/SwaggerApplication.java | 19 +++++++++++++ .../swagger/AuthorizationSupport.groovy | 19 +++++++++++++ .../test/contract/swagger/FileAccess.groovy | 19 +++++++++++++ .../contract/swagger/SwaggerV1_2Spec.groovy | 19 +++++++++++++ .../contract/swagger/SwaggerV2_0Spec.groovy | 19 +++++++++++++ 530 files changed, 9831 insertions(+), 229 deletions(-) create mode 100644 config/apache-copyright.header diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/BintrayCredentials.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/BintrayCredentials.groovy index f0cb6631814..9699584252c 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/BintrayCredentials.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/BintrayCredentials.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/plugins/MultiProjectReleasePlugin.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/plugins/MultiProjectReleasePlugin.groovy index 22b9a77df19..ec583e0670c 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/plugins/MultiProjectReleasePlugin.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/plugins/MultiProjectReleasePlugin.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.plugins diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/BintrayCredentialsCheckTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/BintrayCredentialsCheckTask.groovy index a206d783df6..fa994b0ea82 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/BintrayCredentialsCheckTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/BintrayCredentialsCheckTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.tasks diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/CheckCleanWorkspaceTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/CheckCleanWorkspaceTask.groovy index b0033d45553..673571d15e1 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/CheckCleanWorkspaceTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/CheckCleanWorkspaceTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.tasks diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/GitTagTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/GitTagTask.groovy index c6e83b04164..7cd4422fcf7 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/GitTagTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/GitTagTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.tasks diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/IntermediaryTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/IntermediaryTask.groovy index 11c9c2f95aa..87e632648e4 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/IntermediaryTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/IntermediaryTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.tasks diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/PersistVersionTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/PersistVersionTask.groovy index 0b159ac0f9d..fb04d0fbb4b 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/PersistVersionTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/PersistVersionTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.tasks diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/ReleaseTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/ReleaseTask.groovy index b36943b9b4d..f52739f46ae 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/ReleaseTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/ReleaseTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.tasks diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/SnapshotTask.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/SnapshotTask.groovy index 086604659a2..c4a0070e9a1 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/SnapshotTask.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/tasks/SnapshotTask.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/BuildscriptVersionResolver.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/BuildscriptVersionResolver.groovy index 1b14f5499c3..0dde87e86f3 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/BuildscriptVersionResolver.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/BuildscriptVersionResolver.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/EarlyAccessVersion.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/EarlyAccessVersion.groovy index 15d27052bab..99127a6688f 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/EarlyAccessVersion.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/EarlyAccessVersion.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/ReleaseType.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/ReleaseType.groovy index 5800d7ef1b0..7ac71b9ba7b 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/ReleaseType.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/ReleaseType.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/SemanticVersion.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/SemanticVersion.groovy index ad04f5eaa5e..e926ccd51c1 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/SemanticVersion.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/SemanticVersion.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/SnapshotVersion.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/SnapshotVersion.groovy index 76b3cecd7e8..32c8f9941ab 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/SnapshotVersion.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/SnapshotVersion.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/SoftwareVersion.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/SoftwareVersion.groovy index 816dec3a621..69cdffd2e59 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/SoftwareVersion.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/SoftwareVersion.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/groovy/springfox/gradlebuild/version/VersionDecorator.groovy b/buildSrc/src/main/groovy/springfox/gradlebuild/version/VersionDecorator.groovy index 07eaf2586c9..aa3c397c51b 100644 --- a/buildSrc/src/main/groovy/springfox/gradlebuild/version/VersionDecorator.groovy +++ b/buildSrc/src/main/groovy/springfox/gradlebuild/version/VersionDecorator.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/main/resources/META-INF/gradle-plugins/springfox-multi-release.properties b/buildSrc/src/main/resources/META-INF/gradle-plugins/springfox-multi-release.properties index 6497056a313..3d6c2c7e44a 100644 --- a/buildSrc/src/main/resources/META-INF/gradle-plugins/springfox-multi-release.properties +++ b/buildSrc/src/main/resources/META-INF/gradle-plugins/springfox-multi-release.properties @@ -1,17 +1,19 @@ # -# Copyright 2015 the original author or authors. -# -# 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. +# /* +# * Copyright 2015 the original author or authors. +# * +# * 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. +# */ # implementation-class=springfox.gradlebuild.plugins.MultiProjectReleasePlugin \ No newline at end of file diff --git a/buildSrc/src/test/groovy/springfox/gradlebuild/DirectoryBacked.groovy b/buildSrc/src/test/groovy/springfox/gradlebuild/DirectoryBacked.groovy index 29f7394291c..db45369bfd9 100644 --- a/buildSrc/src/test/groovy/springfox/gradlebuild/DirectoryBacked.groovy +++ b/buildSrc/src/test/groovy/springfox/gradlebuild/DirectoryBacked.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild diff --git a/buildSrc/src/test/groovy/springfox/gradlebuild/version/SemanticVersionTest.groovy b/buildSrc/src/test/groovy/springfox/gradlebuild/version/SemanticVersionTest.groovy index c6f29ca6b78..ddad08a78ee 100644 --- a/buildSrc/src/test/groovy/springfox/gradlebuild/version/SemanticVersionTest.groovy +++ b/buildSrc/src/test/groovy/springfox/gradlebuild/version/SemanticVersionTest.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/buildSrc/src/test/groovy/springfox/gradlebuild/version/SnapshotVersionTest.groovy b/buildSrc/src/test/groovy/springfox/gradlebuild/version/SnapshotVersionTest.groovy index 3e9a5f64a8e..49c63f8345f 100644 --- a/buildSrc/src/test/groovy/springfox/gradlebuild/version/SnapshotVersionTest.groovy +++ b/buildSrc/src/test/groovy/springfox/gradlebuild/version/SnapshotVersionTest.groovy @@ -1,17 +1,20 @@ /* - * Copyright 2015 the original author or authors. * - * 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 + * Copyright 2015 the original author or authors. + * + * 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. * - * 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. */ package springfox.gradlebuild.version diff --git a/config/apache-copyright.header b/config/apache-copyright.header new file mode 100644 index 00000000000..b57214082dc --- /dev/null +++ b/config/apache-copyright.header @@ -0,0 +1,18 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ \ No newline at end of file diff --git a/config/checkstyle.xml b/config/checkstyle.xml index 69afc423c39..3848dd3a8f7 100644 --- a/config/checkstyle.xml +++ b/config/checkstyle.xml @@ -84,5 +84,8 @@ - + + + + diff --git a/springfox-core/src/main/java/springfox/documentation/PathProvider.java b/springfox-core/src/main/java/springfox/documentation/PathProvider.java index 0d0e6712507..5027ff340be 100644 --- a/springfox-core/src/main/java/springfox/documentation/PathProvider.java +++ b/springfox-core/src/main/java/springfox/documentation/PathProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation; public interface PathProvider { diff --git a/springfox-core/src/main/java/springfox/documentation/RequestHandler.java b/springfox-core/src/main/java/springfox/documentation/RequestHandler.java index 89d4736859d..7e43ab77cef 100644 --- a/springfox-core/src/main/java/springfox/documentation/RequestHandler.java +++ b/springfox-core/src/main/java/springfox/documentation/RequestHandler.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation; import org.springframework.web.method.HandlerMethod; diff --git a/springfox-core/src/main/java/springfox/documentation/annotations/ApiIgnore.java b/springfox-core/src/main/java/springfox/documentation/annotations/ApiIgnore.java index 178a5339af9..d563d110eb4 100644 --- a/springfox-core/src/main/java/springfox/documentation/annotations/ApiIgnore.java +++ b/springfox-core/src/main/java/springfox/documentation/annotations/ApiIgnore.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.annotations; import java.lang.annotation.ElementType; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ApiDescriptionBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ApiDescriptionBuilder.java index aa346873200..53f6899349a 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ApiDescriptionBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ApiDescriptionBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.google.common.collect.Ordering; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ApiInfoBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ApiInfoBuilder.java index 8e0d887cad9..094b8d95269 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ApiInfoBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ApiInfoBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.ApiInfo; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ApiListingBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ApiListingBuilder.java index 95909d5062d..30c610f0b03 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ApiListingBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ApiListingBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.google.common.collect.Ordering; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationBuilder.java index c5ba0a84561..0d342cc923f 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.Authorization; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationCodeGrantBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationCodeGrantBuilder.java index ff747e60dce..513fbf69c68 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationCodeGrantBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationCodeGrantBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.AuthorizationCodeGrant; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationScopeBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationScopeBuilder.java index 14aedc9be85..ef9f04b27b6 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationScopeBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/AuthorizationScopeBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.AuthorizationScope; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/BuilderDefaults.java b/springfox-core/src/main/java/springfox/documentation/builders/BuilderDefaults.java index 77300a41e7a..a7baf18010a 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/BuilderDefaults.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/BuilderDefaults.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.google.common.base.Optional; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/DocumentationBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/DocumentationBuilder.java index 326fb07ca45..072bb9d506b 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/DocumentationBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/DocumentationBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.ApiListing; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ImplicitGrantBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ImplicitGrantBuilder.java index 83a949c1281..8e44be69cc5 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ImplicitGrantBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ImplicitGrantBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.ImplicitGrant; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/LoginEndpointBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/LoginEndpointBuilder.java index 8cb5d6d561e..877ae199083 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/LoginEndpointBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/LoginEndpointBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.LoginEndpoint; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ModelBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ModelBuilder.java index bda3bef0523..34306e20c3d 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ModelBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ModelBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ModelPropertyBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ModelPropertyBuilder.java index 0174887a3a1..ac97c57df33 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ModelPropertyBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ModelPropertyBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/OAuthBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/OAuthBuilder.java index 3782e959019..6526d965d80 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/OAuthBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/OAuthBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.AuthorizationScope; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/OperationBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/OperationBuilder.java index dd9a079d703..a445ce19737 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/OperationBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/OperationBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.google.common.base.Function; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ParameterBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ParameterBuilder.java index bfb23d4f076..2717cfb91f6 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ParameterBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ParameterBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/PathSelectors.java b/springfox-core/src/main/java/springfox/documentation/builders/PathSelectors.java index 48a9bce6a0b..ae6059211f3 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/PathSelectors.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/PathSelectors.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.google.common.base.Predicate; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/RequestHandlerSelectors.java b/springfox-core/src/main/java/springfox/documentation/builders/RequestHandlerSelectors.java index f1d03300394..6622f998427 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/RequestHandlerSelectors.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/RequestHandlerSelectors.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import com.google.common.base.Predicate; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ResourceListingBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ResourceListingBuilder.java index 962401c9565..8b1b3998423 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ResourceListingBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ResourceListingBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.ApiInfo; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/ResponseMessageBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/ResponseMessageBuilder.java index c70f1e2b2f6..dad38ed29d9 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/ResponseMessageBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/ResponseMessageBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.schema.ModelRef; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/TokenEndpointBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/TokenEndpointBuilder.java index 71ec2e7c0d6..7403e88bc9a 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/TokenEndpointBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/TokenEndpointBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.TokenEndpoint; diff --git a/springfox-core/src/main/java/springfox/documentation/builders/TokenRequestEndpointBuilder.java b/springfox-core/src/main/java/springfox/documentation/builders/TokenRequestEndpointBuilder.java index a21e8d664a8..0138189593c 100644 --- a/springfox-core/src/main/java/springfox/documentation/builders/TokenRequestEndpointBuilder.java +++ b/springfox-core/src/main/java/springfox/documentation/builders/TokenRequestEndpointBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders; import springfox.documentation.service.TokenRequestEndpoint; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRule.java b/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRule.java index a4445878bed..fc26d7194db 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRule.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRule.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRules.java b/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRules.java index 5b0e82a0a42..14af0a5dd25 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRules.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/AlternateTypeRules.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/Entry.java b/springfox-core/src/main/java/springfox/documentation/schema/Entry.java index 1c468801a55..9828d73a9b5 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/Entry.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/Entry.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class Entry { diff --git a/springfox-core/src/main/java/springfox/documentation/schema/Enums.java b/springfox-core/src/main/java/springfox/documentation/schema/Enums.java index 6f1108d3ea0..4cfbdee29e9 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/Enums.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/Enums.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/Model.java b/springfox-core/src/main/java/springfox/documentation/schema/Model.java index 36c7a32bbeb..e44fb4be7c8 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/Model.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/Model.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/ModelProperty.java b/springfox-core/src/main/java/springfox/documentation/schema/ModelProperty.java index d362d4d14d0..c4fed6cdf51 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/ModelProperty.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/ModelProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java b/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java index 21418f8b592..322e8f018a2 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/ModelRef.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.google.common.base.Optional; diff --git a/springfox-core/src/main/java/springfox/documentation/schema/WildcardType.java b/springfox-core/src/main/java/springfox/documentation/schema/WildcardType.java index dce40c69e03..60fe9760e3e 100644 --- a/springfox-core/src/main/java/springfox/documentation/schema/WildcardType.java +++ b/springfox-core/src/main/java/springfox/documentation/schema/WildcardType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/service/AllowableListValues.java b/springfox-core/src/main/java/springfox/documentation/service/AllowableListValues.java index c2d1c95b508..3ec0c1d11d0 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/AllowableListValues.java +++ b/springfox-core/src/main/java/springfox/documentation/service/AllowableListValues.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import java.util.List; diff --git a/springfox-core/src/main/java/springfox/documentation/service/AllowableRangeValues.java b/springfox-core/src/main/java/springfox/documentation/service/AllowableRangeValues.java index 4de74d866b7..a58e989ac84 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/AllowableRangeValues.java +++ b/springfox-core/src/main/java/springfox/documentation/service/AllowableRangeValues.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class AllowableRangeValues implements AllowableValues { diff --git a/springfox-core/src/main/java/springfox/documentation/service/AllowableValues.java b/springfox-core/src/main/java/springfox/documentation/service/AllowableValues.java index 8992be8b371..ed5b777c71b 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/AllowableValues.java +++ b/springfox-core/src/main/java/springfox/documentation/service/AllowableValues.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public interface AllowableValues { diff --git a/springfox-core/src/main/java/springfox/documentation/service/ApiDescription.java b/springfox-core/src/main/java/springfox/documentation/service/ApiDescription.java index ca4068ffcca..847b8db1d5f 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ApiDescription.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ApiDescription.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import java.util.List; diff --git a/springfox-core/src/main/java/springfox/documentation/service/ApiInfo.java b/springfox-core/src/main/java/springfox/documentation/service/ApiInfo.java index 7be41c325cb..a2918ef5457 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ApiInfo.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ApiInfo.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class ApiInfo { diff --git a/springfox-core/src/main/java/springfox/documentation/service/ApiKey.java b/springfox-core/src/main/java/springfox/documentation/service/ApiKey.java index f06875c0da9..1ce79564410 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ApiKey.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ApiKey.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class ApiKey extends AuthorizationType { diff --git a/springfox-core/src/main/java/springfox/documentation/service/ApiListing.java b/springfox-core/src/main/java/springfox/documentation/service/ApiListing.java index 0fff0aa5207..b435686f375 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ApiListing.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ApiListing.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import springfox.documentation.schema.Model; diff --git a/springfox-core/src/main/java/springfox/documentation/service/ApiListingReference.java b/springfox-core/src/main/java/springfox/documentation/service/ApiListingReference.java index 0145d7c1510..91c6b9ca7a1 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ApiListingReference.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ApiListingReference.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class ApiListingReference { diff --git a/springfox-core/src/main/java/springfox/documentation/service/Authorization.java b/springfox-core/src/main/java/springfox/documentation/service/Authorization.java index 9c6785268c4..0cc0d15ce57 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/Authorization.java +++ b/springfox-core/src/main/java/springfox/documentation/service/Authorization.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import java.util.List; diff --git a/springfox-core/src/main/java/springfox/documentation/service/AuthorizationCodeGrant.java b/springfox-core/src/main/java/springfox/documentation/service/AuthorizationCodeGrant.java index 015702da469..62f50014e87 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/AuthorizationCodeGrant.java +++ b/springfox-core/src/main/java/springfox/documentation/service/AuthorizationCodeGrant.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class AuthorizationCodeGrant extends GrantType { diff --git a/springfox-core/src/main/java/springfox/documentation/service/AuthorizationScope.java b/springfox-core/src/main/java/springfox/documentation/service/AuthorizationScope.java index 1c663647634..eacc0d5e324 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/AuthorizationScope.java +++ b/springfox-core/src/main/java/springfox/documentation/service/AuthorizationScope.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class AuthorizationScope { diff --git a/springfox-core/src/main/java/springfox/documentation/service/AuthorizationType.java b/springfox-core/src/main/java/springfox/documentation/service/AuthorizationType.java index 60357393666..a17c43c3fb1 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/AuthorizationType.java +++ b/springfox-core/src/main/java/springfox/documentation/service/AuthorizationType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public abstract class AuthorizationType { diff --git a/springfox-core/src/main/java/springfox/documentation/service/BasicAuth.java b/springfox-core/src/main/java/springfox/documentation/service/BasicAuth.java index 4ab72d267d7..db926412426 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/BasicAuth.java +++ b/springfox-core/src/main/java/springfox/documentation/service/BasicAuth.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class BasicAuth extends AuthorizationType { diff --git a/springfox-core/src/main/java/springfox/documentation/service/Documentation.java b/springfox-core/src/main/java/springfox/documentation/service/Documentation.java index d5779173236..4d43f77e461 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/Documentation.java +++ b/springfox-core/src/main/java/springfox/documentation/service/Documentation.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import java.util.List; diff --git a/springfox-core/src/main/java/springfox/documentation/service/GrantType.java b/springfox-core/src/main/java/springfox/documentation/service/GrantType.java index 8170e9471ca..b6c42cd55a6 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/GrantType.java +++ b/springfox-core/src/main/java/springfox/documentation/service/GrantType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class GrantType { diff --git a/springfox-core/src/main/java/springfox/documentation/service/ImplicitGrant.java b/springfox-core/src/main/java/springfox/documentation/service/ImplicitGrant.java index 3fc1383257a..d3c4fece8be 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ImplicitGrant.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ImplicitGrant.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; diff --git a/springfox-core/src/main/java/springfox/documentation/service/LoginEndpoint.java b/springfox-core/src/main/java/springfox/documentation/service/LoginEndpoint.java index 00d843a0ab8..72367954d48 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/LoginEndpoint.java +++ b/springfox-core/src/main/java/springfox/documentation/service/LoginEndpoint.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class LoginEndpoint { diff --git a/springfox-core/src/main/java/springfox/documentation/service/OAuth.java b/springfox-core/src/main/java/springfox/documentation/service/OAuth.java index 9ad3bbe7dd8..cd1fb751c6d 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/OAuth.java +++ b/springfox-core/src/main/java/springfox/documentation/service/OAuth.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import java.util.ArrayList; diff --git a/springfox-core/src/main/java/springfox/documentation/service/Operation.java b/springfox-core/src/main/java/springfox/documentation/service/Operation.java index 745c26417fa..dd2fdf091cc 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/Operation.java +++ b/springfox-core/src/main/java/springfox/documentation/service/Operation.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import com.google.common.base.Function; diff --git a/springfox-core/src/main/java/springfox/documentation/service/Parameter.java b/springfox-core/src/main/java/springfox/documentation/service/Parameter.java index 1cd3a2a52f1..2b8728b60f7 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/Parameter.java +++ b/springfox-core/src/main/java/springfox/documentation/service/Parameter.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/service/ResolvedMethodParameter.java b/springfox-core/src/main/java/springfox/documentation/service/ResolvedMethodParameter.java index 9a99d176373..ba539cd035b 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ResolvedMethodParameter.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ResolvedMethodParameter.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-core/src/main/java/springfox/documentation/service/ResourceGroup.java b/springfox-core/src/main/java/springfox/documentation/service/ResourceGroup.java index 6e9dafd4f84..00616999355 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ResourceGroup.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ResourceGroup.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import com.google.common.base.Objects; diff --git a/springfox-core/src/main/java/springfox/documentation/service/ResourceListing.java b/springfox-core/src/main/java/springfox/documentation/service/ResourceListing.java index 00b3c68c97f..b3b6087d08b 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ResourceListing.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ResourceListing.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import com.google.common.base.Optional; diff --git a/springfox-core/src/main/java/springfox/documentation/service/ResponseMessage.java b/springfox-core/src/main/java/springfox/documentation/service/ResponseMessage.java index b8c36d09707..852729903d5 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/ResponseMessage.java +++ b/springfox-core/src/main/java/springfox/documentation/service/ResponseMessage.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; import springfox.documentation.schema.ModelRef; diff --git a/springfox-core/src/main/java/springfox/documentation/service/Tag.java b/springfox-core/src/main/java/springfox/documentation/service/Tag.java index 03c6f6d7d3c..38a5f8e34d0 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/Tag.java +++ b/springfox-core/src/main/java/springfox/documentation/service/Tag.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class Tag { diff --git a/springfox-core/src/main/java/springfox/documentation/service/TokenEndpoint.java b/springfox-core/src/main/java/springfox/documentation/service/TokenEndpoint.java index 341a7ecbcd1..5a4d4eab644 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/TokenEndpoint.java +++ b/springfox-core/src/main/java/springfox/documentation/service/TokenEndpoint.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class TokenEndpoint { diff --git a/springfox-core/src/main/java/springfox/documentation/service/TokenRequestEndpoint.java b/springfox-core/src/main/java/springfox/documentation/service/TokenRequestEndpoint.java index 1c17d2c9df5..26f1343cbd0 100644 --- a/springfox-core/src/main/java/springfox/documentation/service/TokenRequestEndpoint.java +++ b/springfox-core/src/main/java/springfox/documentation/service/TokenRequestEndpoint.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service; public class TokenRequestEndpoint { diff --git a/springfox-core/src/test/groovy/springdox/service/model/AuthorizationTypeNamesSpec.groovy b/springfox-core/src/test/groovy/springdox/service/model/AuthorizationTypeNamesSpec.groovy index 4a7419d5625..5e8ecc0789d 100644 --- a/springfox-core/src/test/groovy/springdox/service/model/AuthorizationTypeNamesSpec.groovy +++ b/springfox-core/src/test/groovy/springdox/service/model/AuthorizationTypeNamesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.service.model import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springdox/service/model/DocumenationSpec.groovy b/springfox-core/src/test/groovy/springdox/service/model/DocumenationSpec.groovy index 4f66d5897bc..2c7d75ef5e1 100644 --- a/springfox-core/src/test/groovy/springdox/service/model/DocumenationSpec.groovy +++ b/springfox-core/src/test/groovy/springdox/service/model/DocumenationSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.service.model import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springdox/service/model/ResponseMessageSpec.groovy b/springfox-core/src/test/groovy/springdox/service/model/ResponseMessageSpec.groovy index c0fe68d05fa..165810d53f3 100644 --- a/springfox-core/src/test/groovy/springdox/service/model/ResponseMessageSpec.groovy +++ b/springfox-core/src/test/groovy/springdox/service/model/ResponseMessageSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.service.model import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springdox/service/model/builder/OperationBuilderSpec.groovy b/springfox-core/src/test/groovy/springdox/service/model/builder/OperationBuilderSpec.groovy index 52ac96eacfc..a7948438d45 100644 --- a/springfox-core/src/test/groovy/springdox/service/model/builder/OperationBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springdox/service/model/builder/OperationBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.service.model.builder import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/RequestHandlerSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/RequestHandlerSpec.groovy index b89d065231f..c15f97f6f30 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/RequestHandlerSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/RequestHandlerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation import org.springframework.web.method.HandlerMethod diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ApiDescriptionBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ApiDescriptionBuilderSpec.groovy index f10cf0158c8..867984db436 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ApiDescriptionBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ApiDescriptionBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import com.google.common.collect.Ordering import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ApiInfoBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ApiInfoBuilderSpec.groovy index e739eb93ed7..a2d7907aa5d 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ApiInfoBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ApiInfoBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ApiListingBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ApiListingBuilderSpec.groovy index 29e825a24e6..1ad88a58511 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ApiListingBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ApiListingBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import com.google.common.collect.Ordering diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationBuilderSpec.groovy index 510f67312d1..a954d67d004 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationCodeGrantBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationCodeGrantBuilderSpec.groovy index 56a7630017e..b84a6e5a40d 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationCodeGrantBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationCodeGrantBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationScopeBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationScopeBuilderSpec.groovy index 36a4b37ea38..5d2702f90d3 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationScopeBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/AuthorizationScopeBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/BuilderDefaultsSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/BuilderDefaultsSpec.groovy index 9e113c8b89a..cdadd528bdf 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/BuilderDefaultsSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/BuilderDefaultsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/DocumentationBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/DocumentationBuilderSpec.groovy index fcfb5ef6a76..09434672aa5 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/DocumentationBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/DocumentationBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ImplicitGrantBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ImplicitGrantBuilderSpec.groovy index 0f2c1a83c8d..1ed34758d45 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ImplicitGrantBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ImplicitGrantBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/LoginEndpointBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/LoginEndpointBuilderSpec.groovy index 26f45192ba1..2d76b345b3e 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/LoginEndpointBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/LoginEndpointBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ModelBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ModelBuilderSpec.groovy index cb562de00fe..e53e3822e0a 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ModelBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ModelBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import com.fasterxml.classmate.TypeResolver diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ModelPropertyBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ModelPropertyBuilderSpec.groovy index 3df3b1c6191..5499fb9c19e 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ModelPropertyBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ModelPropertyBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import com.fasterxml.classmate.TypeResolver diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/OAuthBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/OAuthBuilderSpec.groovy index 6de3dd8cd66..8e2e873aa38 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/OAuthBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/OAuthBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ParameterBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ParameterBuilderSpec.groovy index 2243c85f04d..796a27d8633 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ParameterBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ParameterBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import com.fasterxml.classmate.ResolvedType diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/PathSelectorsSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/PathSelectorsSpec.groovy index 3ae5252b6a6..8fa86d5df20 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/PathSelectorsSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/PathSelectorsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/RequestHandlerSelectorsSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/RequestHandlerSelectorsSpec.groovy index 989afc2597e..ffb685c57ca 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/RequestHandlerSelectorsSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/RequestHandlerSelectorsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import org.springframework.web.method.HandlerMethod diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ResourceListingBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ResourceListingBuilderSpec.groovy index aa0d3b7efa5..1ff061a7521 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ResourceListingBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ResourceListingBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/ResponseMessageBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/ResponseMessageBuilderSpec.groovy index 56e6eca76cb..f81722fcc7a 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/ResponseMessageBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/ResponseMessageBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/TokenEndpointBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/TokenEndpointBuilderSpec.groovy index 4c5d3e3318d..1488b9b6d88 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/TokenEndpointBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/TokenEndpointBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/builders/TokenRequestEndpointBuilderSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/builders/TokenRequestEndpointBuilderSpec.groovy index 794f67527dc..28f79424a9d 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/builders/TokenRequestEndpointBuilderSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/builders/TokenRequestEndpointBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.builders import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/schema/AlternateTypeRuleSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/schema/AlternateTypeRuleSpec.groovy index 80f202db7d6..efb3eb81a4b 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/schema/AlternateTypeRuleSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/schema/AlternateTypeRuleSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.ResolvedType diff --git a/springfox-core/src/test/groovy/springfox/documentation/schema/EnumsSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/schema/EnumsSpec.groovy index 82d46769d95..1c80e4709a0 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/schema/EnumsSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/schema/EnumsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/schema/ModelRefSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/schema/ModelRefSpec.groovy index fb0a8b2f443..d2e2a18f251 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/schema/ModelRefSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/schema/ModelRefSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/schema/WildcardTypeSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/schema/WildcardTypeSpec.groovy index fa1ef705c31..94a6a794304 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/schema/WildcardTypeSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/schema/WildcardTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.GenericType diff --git a/springfox-core/src/test/groovy/springfox/documentation/service/TagSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/service/TagSpec.groovy index c7f3b2e51eb..8eca33fe4ed 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/service/TagSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/service/TagSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/service/model/AllowableRangeValuesSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/service/model/AllowableRangeValuesSpec.groovy index 0b1fc1a1b4c..7b9d387e307 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/service/model/AllowableRangeValuesSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/service/model/AllowableRangeValuesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service.model import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiKeySpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiKeySpec.groovy index 242fd924752..9f8c8ba0c8e 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiKeySpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiKeySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service.model import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiListingReferenceSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiListingReferenceSpec.groovy index 35d1221fc7c..a899bad1200 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiListingReferenceSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/service/model/ApiListingReferenceSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service.model import spock.lang.Specification diff --git a/springfox-core/src/test/groovy/springfox/documentation/service/model/ResolvedMethodParameterSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/service/model/ResolvedMethodParameterSpec.groovy index d84724fe55f..eb61e018649 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/service/model/ResolvedMethodParameterSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/service/model/ResolvedMethodParameterSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service.model import com.fasterxml.classmate.TypeResolver diff --git a/springfox-core/src/test/groovy/springfox/documentation/service/model/ResourceGroupSpec.groovy b/springfox-core/src/test/groovy/springfox/documentation/service/model/ResourceGroupSpec.groovy index 845e9b9ff87..e42ffe384bb 100644 --- a/springfox-core/src/test/groovy/springfox/documentation/service/model/ResourceGroupSpec.groovy +++ b/springfox-core/src/test/groovy/springfox/documentation/service/model/ResourceGroupSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.service.model import spock.lang.Shared diff --git a/springfox-core/src/test/java/springfox/documentation/schema/ExampleEnum.java b/springfox-core/src/test/java/springfox/documentation/schema/ExampleEnum.java index 9fb4c8b7333..f0ac6900bff 100644 --- a/springfox-core/src/test/java/springfox/documentation/schema/ExampleEnum.java +++ b/springfox-core/src/test/java/springfox/documentation/schema/ExampleEnum.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public enum ExampleEnum { diff --git a/springfox-core/src/test/java/springfox/documentation/schema/IncorrectlyJsonValuedEnum.java b/springfox-core/src/test/java/springfox/documentation/schema/IncorrectlyJsonValuedEnum.java index d9eced52878..8d5444f7755 100644 --- a/springfox-core/src/test/java/springfox/documentation/schema/IncorrectlyJsonValuedEnum.java +++ b/springfox-core/src/test/java/springfox/documentation/schema/IncorrectlyJsonValuedEnum.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/springfox-core/src/test/java/springfox/documentation/schema/JsonValuedEnum.java b/springfox-core/src/test/java/springfox/documentation/schema/JsonValuedEnum.java index a8537d09d19..cb2e1f9122e 100644 --- a/springfox-core/src/test/java/springfox/documentation/schema/JsonValuedEnum.java +++ b/springfox-core/src/test/java/springfox/documentation/schema/JsonValuedEnum.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonValue; diff --git a/springfox-petstore/src/main/java/springfox/petstore/Responses.java b/springfox-petstore/src/main/java/springfox/petstore/Responses.java index da71302e643..85a3a85da86 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/Responses.java +++ b/springfox-petstore/src/main/java/springfox/petstore/Responses.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.petstore; import org.springframework.http.HttpStatus; diff --git a/springfox-petstore/src/main/java/springfox/petstore/controller/NotFoundException.java b/springfox-petstore/src/main/java/springfox/petstore/controller/NotFoundException.java index 589b48c75c6..085f7643711 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/controller/NotFoundException.java +++ b/springfox-petstore/src/main/java/springfox/petstore/controller/NotFoundException.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.petstore.controller; public class NotFoundException extends RuntimeException { diff --git a/springfox-petstore/src/main/java/springfox/petstore/controller/PetController.java b/springfox-petstore/src/main/java/springfox/petstore/controller/PetController.java index 35d48072f97..2f7a276b2c6 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/controller/PetController.java +++ b/springfox-petstore/src/main/java/springfox/petstore/controller/PetController.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.controller; diff --git a/springfox-petstore/src/main/java/springfox/petstore/controller/PetStoreResource.java b/springfox-petstore/src/main/java/springfox/petstore/controller/PetStoreResource.java index 7eb30e7dfda..947dc401fd4 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/controller/PetStoreResource.java +++ b/springfox-petstore/src/main/java/springfox/petstore/controller/PetStoreResource.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.controller; diff --git a/springfox-petstore/src/main/java/springfox/petstore/controller/UserController.java b/springfox-petstore/src/main/java/springfox/petstore/controller/UserController.java index 420fd42c9d3..187745f736e 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/controller/UserController.java +++ b/springfox-petstore/src/main/java/springfox/petstore/controller/UserController.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.controller; diff --git a/springfox-petstore/src/main/java/springfox/petstore/model/Category.java b/springfox-petstore/src/main/java/springfox/petstore/model/Category.java index 2007d61d478..6e44c6e943b 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/model/Category.java +++ b/springfox-petstore/src/main/java/springfox/petstore/model/Category.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.model; diff --git a/springfox-petstore/src/main/java/springfox/petstore/model/Order.java b/springfox-petstore/src/main/java/springfox/petstore/model/Order.java index 1c94f460322..2824cf9d687 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/model/Order.java +++ b/springfox-petstore/src/main/java/springfox/petstore/model/Order.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.model; diff --git a/springfox-petstore/src/main/java/springfox/petstore/model/Pet.java b/springfox-petstore/src/main/java/springfox/petstore/model/Pet.java index 2c7d1cd30e0..360dd240718 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/model/Pet.java +++ b/springfox-petstore/src/main/java/springfox/petstore/model/Pet.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.model; diff --git a/springfox-petstore/src/main/java/springfox/petstore/model/Pets.java b/springfox-petstore/src/main/java/springfox/petstore/model/Pets.java index 5b102dddccd..2231a20f3f8 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/model/Pets.java +++ b/springfox-petstore/src/main/java/springfox/petstore/model/Pets.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.petstore.model; diff --git a/springfox-petstore/src/main/java/springfox/petstore/model/Tag.java b/springfox-petstore/src/main/java/springfox/petstore/model/Tag.java index b479d372d7c..3b2e78ff2ce 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/model/Tag.java +++ b/springfox-petstore/src/main/java/springfox/petstore/model/Tag.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.model; diff --git a/springfox-petstore/src/main/java/springfox/petstore/model/User.java b/springfox-petstore/src/main/java/springfox/petstore/model/User.java index 4e0649e766b..08f9f5e1dbf 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/model/User.java +++ b/springfox-petstore/src/main/java/springfox/petstore/model/User.java @@ -1,17 +1,20 @@ -/** - * Copyright 2014 Reverb Technologies, Inc. +/* + * + * Copyright 2015 the original author or authors. * * 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 + * 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. + * + * */ package springfox.petstore.model; diff --git a/springfox-petstore/src/main/java/springfox/petstore/repository/Identifiable.java b/springfox-petstore/src/main/java/springfox/petstore/repository/Identifiable.java index 16bd7008876..eb45a1d0d56 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/repository/Identifiable.java +++ b/springfox-petstore/src/main/java/springfox/petstore/repository/Identifiable.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.petstore.repository; public interface Identifiable { diff --git a/springfox-petstore/src/main/java/springfox/petstore/repository/MapBackedRepository.java b/springfox-petstore/src/main/java/springfox/petstore/repository/MapBackedRepository.java index a2f2e3de33a..5752eb07f32 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/repository/MapBackedRepository.java +++ b/springfox-petstore/src/main/java/springfox/petstore/repository/MapBackedRepository.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.petstore.repository; import com.google.common.base.Predicate; diff --git a/springfox-petstore/src/main/java/springfox/petstore/repository/UserRepository.java b/springfox-petstore/src/main/java/springfox/petstore/repository/UserRepository.java index 9bc0542dd9f..e84594d85ed 100644 --- a/springfox-petstore/src/main/java/springfox/petstore/repository/UserRepository.java +++ b/springfox-petstore/src/main/java/springfox/petstore/repository/UserRepository.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.petstore.repository; import springfox.petstore.model.User; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/Annotations.java b/springfox-schema/src/main/java/springfox/documentation/schema/Annotations.java index 7066b06bf1f..75cf3149f07 100755 --- a/springfox-schema/src/main/java/springfox/documentation/schema/Annotations.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/Annotations.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonUnwrapped; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/CodeGenGenericTypeNamingStrategy.java b/springfox-schema/src/main/java/springfox/documentation/schema/CodeGenGenericTypeNamingStrategy.java index 3194c22ac7f..645852b87c4 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/CodeGenGenericTypeNamingStrategy.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/CodeGenGenericTypeNamingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import springfox.documentation.spi.schema.GenericTypeNamingStrategy; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/Collections.java b/springfox-schema/src/main/java/springfox/documentation/schema/Collections.java index 35660461098..0c5bbe8118c 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/Collections.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/Collections.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/DefaultGenericTypeNamingStrategy.java b/springfox-schema/src/main/java/springfox/documentation/schema/DefaultGenericTypeNamingStrategy.java index 89464752649..a5578397ef4 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/DefaultGenericTypeNamingStrategy.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/DefaultGenericTypeNamingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import springfox.documentation.spi.schema.GenericTypeNamingStrategy; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/DefaultModelProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/DefaultModelProvider.java index 2ce648c8391..2fb04d7dcb9 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/DefaultModelProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/DefaultModelProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/DefaultTypeNameProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/DefaultTypeNameProvider.java index b3b9cb9f8df..05bcc8eae25 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/DefaultTypeNameProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/DefaultTypeNameProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/Maps.java b/springfox-schema/src/main/java/springfox/documentation/schema/Maps.java index 09ecf76141d..8b2c11af41d 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/Maps.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/Maps.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/ModelDependencyProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/ModelDependencyProvider.java index 354d725c556..c47b52af21b 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/ModelDependencyProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/ModelDependencyProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/ModelNameContext.java b/springfox-schema/src/main/java/springfox/documentation/schema/ModelNameContext.java index 2139c1a7049..5a2a68bd522 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/ModelNameContext.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/ModelNameContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/ModelProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/ModelProvider.java index fc8617584b3..ff2c6ba1cc7 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/ModelProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/ModelProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/ResolvedTypes.java b/springfox-schema/src/main/java/springfox/documentation/schema/ResolvedTypes.java index 06dd236f82b..cf2b585715d 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/ResolvedTypes.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/ResolvedTypes.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/TypeNameExtractor.java b/springfox-schema/src/main/java/springfox/documentation/schema/TypeNameExtractor.java index 5d3cb739ea4..84d34735361 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/TypeNameExtractor.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/TypeNameExtractor.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/Types.java b/springfox-schema/src/main/java/springfox/documentation/schema/Types.java index 0a1c5efa006..1b3129d7040 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/Types.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/Types.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ModelsConfiguration.java b/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ModelsConfiguration.java index e4fe19ecf97..eb407a8c833 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ModelsConfiguration.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ModelsConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.configuration; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ObjectMapperConfigured.java b/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ObjectMapperConfigured.java index 8cafc44108b..44c45c74817 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ObjectMapperConfigured.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/configuration/ObjectMapperConfigured.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.configuration; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/plugins/SchemaPluginsManager.java b/springfox-schema/src/main/java/springfox/documentation/schema/plugins/SchemaPluginsManager.java index 2e7896d8127..1d2d2e1647a 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/plugins/SchemaPluginsManager.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/plugins/SchemaPluginsManager.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.plugins; import org.springframework.beans.factory.annotation.Autowired; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/BaseModelProperty.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/BaseModelProperty.java index 7c8a72f7f09..4be41878dd9 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/BaseModelProperty.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/BaseModelProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyDefinitions.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyDefinitions.java index c517ce64964..2ccc411558c 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyDefinitions.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyDefinitions.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property; import com.fasterxml.jackson.databind.AnnotationIntrospector; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyNamingStrategy.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyNamingStrategy.java index eae3be69e27..4e7e50fe489 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyNamingStrategy.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/BeanPropertyNamingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property; import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/ModelProperty.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/ModelProperty.java index b23eaf3caa7..c3409628a80 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/ModelProperty.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/ModelProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/ObjectMapperBeanPropertyNamingStrategy.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/ObjectMapperBeanPropertyNamingStrategy.java index c0f1d92ed94..3b3cc11a5fb 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/ObjectMapperBeanPropertyNamingStrategy.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/ObjectMapperBeanPropertyNamingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property; import com.fasterxml.jackson.databind.DeserializationConfig; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/Accessors.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/Accessors.java index 8f581161938..acf207dc13e 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/Accessors.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/Accessors.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.bean; import com.fasterxml.jackson.annotation.JsonGetter; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/AccessorsProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/AccessorsProvider.java index f09f04ba559..d0b5bac37ed 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/AccessorsProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/AccessorsProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.bean; import com.fasterxml.classmate.MemberResolver; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelProperty.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelProperty.java index 309d37a4527..55b99042d5b 100755 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelProperty.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.bean; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelPropertyProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelPropertyProvider.java index 67fbcea3fe0..af682b74608 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelPropertyProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/bean/BeanModelPropertyProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.bean; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/constructor/ConstructorModelPropertyProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/constructor/ConstructorModelPropertyProvider.java index d5ca85b5609..b50935835e4 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/constructor/ConstructorModelPropertyProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/constructor/ConstructorModelPropertyProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.constructor; import com.fasterxml.jackson.databind.introspect.AnnotatedMember; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelProperty.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelProperty.java index 94bf3561a52..a02e238b154 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelProperty.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.field; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelPropertyProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelPropertyProvider.java index 9609d92f932..10e40a2ad11 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelPropertyProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldModelPropertyProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.field; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldProvider.java index 9a384af812c..0ce2828b1f5 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/field/FieldProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.field; import com.fasterxml.classmate.MemberResolver; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/DefaultModelPropertiesProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/DefaultModelPropertiesProvider.java index 5fd54ac314a..a9d12464b50 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/DefaultModelPropertiesProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/DefaultModelPropertiesProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.provider; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/ModelPropertiesProvider.java b/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/ModelPropertiesProvider.java index d003064e01e..71cd332142b 100644 --- a/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/ModelPropertiesProvider.java +++ b/springfox-schema/src/main/java/springfox/documentation/schema/property/provider/ModelPropertiesProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.provider; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypeProviderSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypeProviderSpec.groovy index 1e2a12ceab8..e47e4bb67ed 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypeProviderSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypeProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypesSupport.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypesSupport.groovy index ee1b203c9d8..158071ccfec 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypesSupport.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/AlternateTypesSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver import springfox.documentation.spi.schema.AlternateTypeProvider diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/AnnotationsSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/AnnotationsSpec.groovy index e0f06029f22..c1b17ca3dd5 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/AnnotationsSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/AnnotationsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.jackson.annotation.JsonProperty diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/CodeGenGenericTypeNamingStrategySpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/CodeGenGenericTypeNamingStrategySpec.groovy index 1c1e7545810..cc3c83dedd1 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/CodeGenGenericTypeNamingStrategySpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/CodeGenGenericTypeNamingStrategySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Specification diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/CollectionsSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/CollectionsSpec.groovy index 1b2835345a4..9452c466fd9 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/CollectionsSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/CollectionsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/ComplexTypeSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/ComplexTypeSpec.groovy index aee33f27732..97a7a53e8da 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/ComplexTypeSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/ComplexTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Shared diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/ContainerTypesSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/ContainerTypesSpec.groovy index c0b2943b31b..62838438a64 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/ContainerTypesSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/ContainerTypesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Ignore diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/EnumTypeSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/EnumTypeSpec.groovy index 960acfb16f7..86fddf3d86f 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/EnumTypeSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/EnumTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Specification diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/GenericTypeSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/GenericTypeSpec.groovy index 07b3e7318a1..e333ab9df91 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/GenericTypeSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/GenericTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Unroll diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/MapsSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/MapsSpec.groovy index 644d5deb058..d6adaf37dba 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/MapsSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/MapsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver import spock.lang.Shared diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelDependencyProviderSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelDependencyProviderSpec.groovy index ce97bfa28db..914e048cf3f 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelDependencyProviderSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelDependencyProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Unroll diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelProviderSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelProviderSpec.groovy index 6b8073cbedc..ed4b04ad8e2 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelProviderSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/ModelProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/ObjectMapperNamingStrategySpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/ObjectMapperNamingStrategySpec.groovy index af39cff9384..2b35157780b 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/ObjectMapperNamingStrategySpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/ObjectMapperNamingStrategySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/SchemaSpecification.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/SchemaSpecification.groovy index 1aa422ab8b4..d1fd5f151fd 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/SchemaSpecification.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/SchemaSpecification.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/SimpleTypeSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/SimpleTypeSpec.groovy index 3c9c17a1a17..be08378594a 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/SimpleTypeSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/SimpleTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Ignore diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/StaticTypesSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/StaticTypesSpec.groovy index 402f19850b8..767219cd04f 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/StaticTypesSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/StaticTypesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Specification diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/TypeNameExtractorSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/TypeNameExtractorSpec.groovy index c742dfd3adf..0bd05863b53 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/TypeNameExtractorSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/TypeNameExtractorSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import springfox.documentation.schema.mixins.TypesForTestingSupport diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/TypesSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/TypesSpec.groovy index 505b2df6f05..5b121d08deb 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/TypesSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/TypesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.TypeResolver diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/UnwrappedTypeSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/UnwrappedTypeSpec.groovy index 64b1891f5a5..8accc3db382 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/UnwrappedTypeSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/UnwrappedTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import spock.lang.Specification diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/alternates/AlternatePropertiesSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/alternates/AlternatePropertiesSpec.groovy index 996c28dafc4..cc9d80df773 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/alternates/AlternatePropertiesSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/alternates/AlternatePropertiesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.alternates import org.joda.time.LocalDate import org.springframework.http.ResponseEntity diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/configuration/ModelsConfigurationSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/configuration/ModelsConfigurationSpec.groovy index 7530b3297c5..a604d479b41 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/configuration/ModelsConfigurationSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/configuration/ModelsConfigurationSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.configuration import spock.lang.Specification diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ConfiguredObjectMapperSupport.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ConfiguredObjectMapperSupport.groovy index fefbf4ef6f5..6e026517dd4 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ConfiguredObjectMapperSupport.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ConfiguredObjectMapperSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.mixins import com.fasterxml.jackson.annotation.JsonAutoDetect diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelPropertyLookupSupport.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelPropertyLookupSupport.groovy index 627f4fb6688..daf08abd2e8 100755 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelPropertyLookupSupport.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelPropertyLookupSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.mixins import com.fasterxml.classmate.MemberResolver import com.fasterxml.classmate.ResolvedTypeWithMembers diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelProviderSupport.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelProviderSupport.groovy index a07cec5dc12..2cc531bb2b5 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelProviderSupport.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/ModelProviderSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.mixins import com.fasterxml.classmate.TypeResolver import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/SchemaPluginsSupport.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/SchemaPluginsSupport.groovy index f31487c2514..bcfbcb01c21 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/SchemaPluginsSupport.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/SchemaPluginsSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.mixins import org.springframework.plugin.core.OrderAwarePluginRegistry diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/TypesForTestingSupport.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/TypesForTestingSupport.groovy index 1c0dc412554..622af7dc75a 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/TypesForTestingSupport.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/mixins/TypesForTestingSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.mixins import com.fasterxml.classmate.ResolvedType diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/ModelContextSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/ModelContextSpec.groovy index 604b345e44f..4cf71a2fc9a 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/ModelContextSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/ModelContextSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.plugins import spock.lang.Shared diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/SchemaPluginsManagerSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/SchemaPluginsManagerSpec.groovy index 93f50b8b0c7..0ddf387086c 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/SchemaPluginsManagerSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/plugins/SchemaPluginsManagerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.plugins import org.springframework.plugin.core.OrderAwarePluginRegistry diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/BeanPropertyDefinitionsSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/BeanPropertyDefinitionsSpec.groovy index 8c7dc61c5de..52dac9c5d6a 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/BeanPropertyDefinitionsSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/BeanPropertyDefinitionsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/AccessorsSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/AccessorsSpec.groovy index 27450f3792e..9ea90c226a5 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/AccessorsSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/AccessorsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.bean import spock.lang.Specification diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/BeanModelPropertyProviderSpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/BeanModelPropertyProviderSpec.groovy index d0c9aa7540c..17321d79478 100755 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/BeanModelPropertyProviderSpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/bean/BeanModelPropertyProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.bean import com.fasterxml.classmate.ResolvedType diff --git a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/constructor/ConstructorModelPropertySpec.groovy b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/constructor/ConstructorModelPropertySpec.groovy index ad59ae2b992..86cf3d67c7b 100644 --- a/springfox-schema/src/test/groovy/springfox/documentation/schema/property/constructor/ConstructorModelPropertySpec.groovy +++ b/springfox-schema/src/test/groovy/springfox/documentation/schema/property/constructor/ConstructorModelPropertySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.constructor import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/ArraysContainer.java b/springfox-schema/src/test/java/springfox/documentation/schema/ArraysContainer.java index b600dc42eb0..684f88f60d8 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/ArraysContainer.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/ArraysContainer.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class ArraysContainer { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/Category.java b/springfox-schema/src/test/java/springfox/documentation/schema/Category.java index 60ac74958d7..29fccbbab3c 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/Category.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/Category.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class Category { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/ComplexType.java b/springfox-schema/src/test/java/springfox/documentation/schema/ComplexType.java index fad37ba26e7..fe07b5dac1c 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/ComplexType.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/ComplexType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import java.math.BigDecimal; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/ExampleWithEnums.java b/springfox-schema/src/test/java/springfox/documentation/schema/ExampleWithEnums.java index bae91546001..d4b5e725552 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/ExampleWithEnums.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/ExampleWithEnums.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class ExampleWithEnums { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/GenericType.java b/springfox-schema/src/test/java/springfox/documentation/schema/GenericType.java index 808c69ec615..a37452f6282 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/GenericType.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/GenericType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import java.util.List; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/HttpEntityAlternative.java b/springfox-schema/src/test/java/springfox/documentation/schema/HttpEntityAlternative.java index caa43bccf61..aa24ec5de2b 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/HttpEntityAlternative.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/HttpEntityAlternative.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import org.springframework.http.HttpEntity; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/InheritedComplexType.java b/springfox-schema/src/test/java/springfox/documentation/schema/InheritedComplexType.java index d1dc44ccfb2..67288059ce1 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/InheritedComplexType.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/InheritedComplexType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class InheritedComplexType extends ComplexType { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/ListsContainer.java b/springfox-schema/src/test/java/springfox/documentation/schema/ListsContainer.java index 3edd77c2177..021fb599076 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/ListsContainer.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/ListsContainer.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import java.util.ArrayList; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/MapsContainer.java b/springfox-schema/src/test/java/springfox/documentation/schema/MapsContainer.java index 7d7952d1bdb..4e44108c58a 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/MapsContainer.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/MapsContainer.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import java.util.Map; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/RecursiveType.java b/springfox-schema/src/test/java/springfox/documentation/schema/RecursiveType.java index f8a5b67c3a6..72dc2884512 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/RecursiveType.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/RecursiveType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class RecursiveType { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/ResponseEntityAlternative.java b/springfox-schema/src/test/java/springfox/documentation/schema/ResponseEntityAlternative.java index 18e6a2ebe1c..2c5728a5562 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/ResponseEntityAlternative.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/ResponseEntityAlternative.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import org.springframework.http.HttpStatus; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/SetsContainer.java b/springfox-schema/src/test/java/springfox/documentation/schema/SetsContainer.java index 635204f9de0..a27dc564d83 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/SetsContainer.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/SetsContainer.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import java.util.HashSet; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/SimpleType.java b/springfox-schema/src/test/java/springfox/documentation/schema/SimpleType.java index 48670ee39f9..783d5ab9bd8 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/SimpleType.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/SimpleType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import java.util.Currency; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeForTestingPropertyNames.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeForTestingPropertyNames.java index 9330dc2a1e5..2062eb6695a 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeForTestingPropertyNames.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeForTestingPropertyNames.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonGetter; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithAlternateProperty.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithAlternateProperty.java index 02e66929813..bf742bda8ec 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithAlternateProperty.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithAlternateProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import org.joda.time.LocalDate; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructor.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructor.java index 1b7981f0996..088c9e3560b 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructor.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructor.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class TypeWithConstructor { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructorProperty.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructorProperty.java index 81d116df2e4..03982127eac 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructorProperty.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithConstructorProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java index 68b00757028..1e662e8192f 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; public class TypeWithGettersAndSetters { diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonGetterAnnotation.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonGetterAnnotation.java index 2e8d41fb7e6..76825521c3d 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonGetterAnnotation.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonGetterAnnotation.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonAutoDetect; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonProperty.java b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonProperty.java index 323590f1e19..9cc2c688638 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonProperty.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/TypeWithJsonProperty.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/springfox-schema/src/test/java/springfox/documentation/schema/UnwrappedType.java b/springfox-schema/src/test/java/springfox/documentation/schema/UnwrappedType.java index 03045e994cd..6bd7655d889 100644 --- a/springfox-schema/src/test/java/springfox/documentation/schema/UnwrappedType.java +++ b/springfox-schema/src/test/java/springfox/documentation/schema/UnwrappedType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.fasterxml.jackson.annotation.JsonUnwrapped; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/DocumentationType.java b/springfox-spi/src/main/java/springfox/documentation/spi/DocumentationType.java index 2fbffe6db98..4ce86711482 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/DocumentationType.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/DocumentationType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi; import org.springframework.http.MediaType; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/AlternateTypeProvider.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/AlternateTypeProvider.java index 3a483155752..bfa1afa355d 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/AlternateTypeProvider.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/AlternateTypeProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/GenericTypeNamingStrategy.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/GenericTypeNamingStrategy.java index 068e24004eb..36a9662c015 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/GenericTypeNamingStrategy.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/GenericTypeNamingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema; /** diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelBuilderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelBuilderPlugin.java index 9d199452c3f..280619a830d 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelBuilderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelBuilderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelPropertyBuilderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelPropertyBuilderPlugin.java index 764e218c706..31c35b72cb1 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelPropertyBuilderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/ModelPropertyBuilderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/TypeNameProviderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/TypeNameProviderPlugin.java index a3c157c8974..f1450574d3b 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/TypeNameProviderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/TypeNameProviderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelContext.java index d5d96c63210..fc53a649042 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema.contexts; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelPropertyContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelPropertyContext.java index bb33bd59487..33280804325 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelPropertyContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/schema/contexts/ModelPropertyContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.schema.contexts; import com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/ApiListingBuilderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/ApiListingBuilderPlugin.java index 38ef0aef4f8..d2984a61fb8 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/ApiListingBuilderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/ApiListingBuilderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/DefaultsProviderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/DefaultsProviderPlugin.java index f8e2fde3866..e46e88846d0 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/DefaultsProviderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/DefaultsProviderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/DocumentationPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/DocumentationPlugin.java index b8657e0b6f4..3067b04252e 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/DocumentationPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/DocumentationPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/ExpandedParameterBuilderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/ExpandedParameterBuilderPlugin.java index 879e9336e8a..b8d60ee637e 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/ExpandedParameterBuilderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/ExpandedParameterBuilderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationBuilderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationBuilderPlugin.java index a9faf36e62d..0b3aec1d684 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationBuilderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationBuilderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationModelsProviderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationModelsProviderPlugin.java index 71d9cc40b70..532089234f2 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationModelsProviderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/OperationModelsProviderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/ParameterBuilderPlugin.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/ParameterBuilderPlugin.java index d32878ef075..a4b057cd6df 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/ParameterBuilderPlugin.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/ParameterBuilderPlugin.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/ResourceGroupingStrategy.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/ResourceGroupingStrategy.java index 3b607118bc6..eb1f67e5aa0 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/ResourceGroupingStrategy.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/ResourceGroupingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service; import org.springframework.plugin.core.Plugin; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiListingContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiListingContext.java index ee9a34ab352..785d6f9850f 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiListingContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiListingContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import springfox.documentation.builders.ApiListingBuilder; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiSelector.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiSelector.java index 7fce78a1221..ecf1db18b3f 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiSelector.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ApiSelector.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.google.common.base.Predicate; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/AuthorizationContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/AuthorizationContext.java index 5f1781bbd86..676ed3777a7 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/AuthorizationContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/AuthorizationContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.google.common.base.Predicate; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Defaults.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Defaults.java index 4fa4083ce84..0087a7e8f8f 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Defaults.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Defaults.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContext.java index cb87c98f270..f5bd1fb646f 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.google.common.collect.ImmutableSet; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContextBuilder.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContextBuilder.java index 526cad26e96..afa602abf8f 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContextBuilder.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/DocumentationContextBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationContext.java index 3f7ff8deacf..c14fd482b01 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationModelContextsBuilder.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationModelContextsBuilder.java index 4a9cff5e17f..3e9e8ca7a36 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationModelContextsBuilder.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/OperationModelContextsBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.google.common.collect.ImmutableSet; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Orderings.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Orderings.java index aaeeaf6ba37..8f81850a7f5 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Orderings.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/Orderings.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.google.common.primitives.Ints; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterContext.java index d352c04d4cf..35231378dfb 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterExpansionContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterExpansionContext.java index 41335f7b065..93e885428b9 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterExpansionContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/ParameterExpansionContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; diff --git a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/RequestMappingContext.java b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/RequestMappingContext.java index 017066eb42e..1a6ecbe8c54 100644 --- a/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/RequestMappingContext.java +++ b/springfox-spi/src/main/java/springfox/documentation/spi/service/contexts/RequestMappingContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spi.service.contexts; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/AbstractPathProvider.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/AbstractPathProvider.java index e2541f1f996..d243fa2f8e4 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/AbstractPathProvider.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/AbstractPathProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import org.springframework.web.util.UriComponentsBuilder; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/ControllerNamingUtils.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/ControllerNamingUtils.java index 9ce43a43120..6b00d450e53 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/ControllerNamingUtils.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/ControllerNamingUtils.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import org.slf4j.Logger; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/DocumentationCache.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/DocumentationCache.java index 87e55441c0d..28c6c3056fc 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/DocumentationCache.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/DocumentationCache.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import springfox.documentation.service.Documentation; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/HandlerMethodReturnTypes.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/HandlerMethodReturnTypes.java index 7f41f375f99..d4f70fd0f9f 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/HandlerMethodReturnTypes.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/HandlerMethodReturnTypes.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/Paths.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/Paths.java index 33589d9d3f4..046769ddb46 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/Paths.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/Paths.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import java.util.regex.Matcher; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/RelativePathProvider.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/RelativePathProvider.java index dc2e3aa1ff5..341a8d667ad 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/RelativePathProvider.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/RelativePathProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import javax.servlet.ServletContext; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringGroupingStrategy.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringGroupingStrategy.java index 68cc693c8cc..b1e8b0f70a5 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringGroupingStrategy.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringGroupingStrategy.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import com.google.common.base.Optional; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringMvcDocumentationConfiguration.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringMvcDocumentationConfiguration.java index ea18aed81b2..72afae44037 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringMvcDocumentationConfiguration.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/SpringMvcDocumentationConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web; import org.springframework.context.annotation.Bean; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/ApiSelectorBuilder.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/ApiSelectorBuilder.java index 328239e575c..dbc0116b36a 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/ApiSelectorBuilder.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/ApiSelectorBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins; import com.google.common.base.Predicate; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DefaultConfiguration.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DefaultConfiguration.java index c42b47e640f..791e80dd346 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DefaultConfiguration.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DefaultConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java index e47c01bd930..f134ba4208b 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.java index 6c8957c0c87..a6d3c97b4fd 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsManager.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsManager.java index 3296c451f58..bcffe60790a 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsManager.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DocumentationPluginsManager.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins; import org.springframework.beans.factory.annotation.Autowired; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ApiOperationReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ApiOperationReader.java index d245722e455..44ebf3b7210 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ApiOperationReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ApiOperationReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import org.springframework.beans.factory.annotation.Autowired; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/DefaultOperationBuilder.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/DefaultOperationBuilder.java index baf33bf04ba..6fefcd88cfe 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/DefaultOperationBuilder.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/DefaultOperationBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import org.springframework.core.Ordered; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/HandlerMethodResolver.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/HandlerMethodResolver.java index 653a19e7f80..6bcc545bb85 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/HandlerMethodResolver.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/HandlerMethodResolver.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import com.fasterxml.classmate.MemberResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationDeprecatedReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationDeprecatedReader.java index 011f9aad85e..52dab7edb45 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationDeprecatedReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationDeprecatedReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import org.springframework.stereotype.Component; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationModelsProvider.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationModelsProvider.java index 9669ebd08d7..45317ff6ae5 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationModelsProvider.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationModelsProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationParameterRequestConditionReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationParameterRequestConditionReader.java index c0c463a9053..2ac0a17050f 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationParameterRequestConditionReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationParameterRequestConditionReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationResponseClassReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationResponseClassReader.java index e6bdf3e39b4..80c3f12d5cc 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationResponseClassReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationResponseClassReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationTagsReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationTagsReader.java index 51ab7819a47..5fd5eab7b95 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationTagsReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/OperationTagsReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import com.google.common.base.Function; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ResponseMessagesReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ResponseMessagesReader.java index fd01dda7867..35825fec4fb 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ResponseMessagesReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/operation/ResponseMessagesReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ExpandedParameterBuilder.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ExpandedParameterBuilder.java index 4213c0ace92..79b09001cb0 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ExpandedParameterBuilder.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ExpandedParameterBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeField.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeField.java index b5923f89094..e83eb8c5866 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeField.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeField.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import java.lang.reflect.Field; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpander.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpander.java index 2c43bbb2e6d..904b659b719 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpander.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpander.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/OperationParameterReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/OperationParameterReader.java index 54029a71504..a827a74061f 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/OperationParameterReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/OperationParameterReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReader.java index 278a23db05e..03b3666f8e9 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDefaultReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDefaultReader.java index 0858b269fe7..56170e055a1 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDefaultReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterDefaultReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import org.springframework.core.MethodParameter; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReader.java index 51cec588cff..856bde9de62 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import org.springframework.core.MethodParameter; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterNameReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterNameReader.java index 419e1554ed3..7a5f94d7dee 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterNameReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterNameReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import com.google.common.base.Function; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReader.java index 424986c4ab0..fed3ebfc0fe 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import org.springframework.core.MethodParameter; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterTypeReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterTypeReader.java index df8a3f1013f..f814889ec54 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterTypeReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/readers/parameter/ParameterTypeReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDescriptionReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDescriptionReader.java index 987f859e124..e8769e42d7c 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDescriptionReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDescriptionReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.google.common.collect.FluentIterable; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDocumentationScanner.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDocumentationScanner.java index 9a493de988a..67abd26a969 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDocumentationScanner.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiDocumentationScanner.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.google.common.base.Function; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanResult.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanResult.java index 8382db4af38..3dfed738bd7 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanResult.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanResult.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import springfox.documentation.service.ApiListingReference; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanner.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanner.java index 93f7ebd8e44..b355c92544e 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanner.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingReferenceScanner.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.google.common.base.Function; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanner.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanner.java index 7ce88bd8061..e8b8cc64854 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanner.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanner.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.google.common.base.Joiner; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanningContext.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanningContext.java index 740a8367b5f..ec34f313ef9 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanningContext.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiListingScanningContext.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.google.common.collect.Ordering; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiModelReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiModelReader.java index 77d86efeae5..96dd95a690c 100755 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiModelReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/ApiModelReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/MediaTypeReader.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/MediaTypeReader.java index 0cc0a2050e9..162267eb025 100644 --- a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/MediaTypeReader.java +++ b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/scanners/MediaTypeReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/schema/ReturnTypesSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/schema/ReturnTypesSpec.groovy index 555be69e4c0..1a29d815e61 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/schema/ReturnTypesSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/schema/ReturnTypesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema import com.fasterxml.classmate.GenericType diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/ControllerNamingUtilsSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/ControllerNamingUtilsSpec.groovy index 8ebfc29b788..bb394ba2b33 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/ControllerNamingUtilsSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/ControllerNamingUtilsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web import com.google.common.base.Objects import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/DocumentationCacheSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/DocumentationCacheSpec.groovy index 7458be7ee4f..6b506cc61ad 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/DocumentationCacheSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/DocumentationCacheSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/PathsSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/PathsSpec.groovy index 124b98bd81b..687343f783e 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/PathsSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/PathsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativePathProviderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativePathProviderSpec.groovy index ef9a06726a6..a8666d544dc 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativePathProviderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativePathProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativeSwaggerPathProviderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativeSwaggerPathProviderSpec.groovy index b679232f093..072e4c2525c 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativeSwaggerPathProviderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/RelativeSwaggerPathProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/SpringGroupingStrategySpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/SpringGroupingStrategySpec.groovy index 23cc28516b3..a63e6ca731e 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/SpringGroupingStrategySpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/SpringGroupingStrategySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthSerializationSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthSerializationSpec.groovy index b2ed1e7edfe..60f760d46ab 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthSerializationSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthSerializationSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.authorization import com.fasterxml.jackson.core.JsonGenerator diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthorizationContextSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthorizationContextSpec.groovy index 5d3c820203b..b6dda543603 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthorizationContextSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/authorization/AuthorizationContextSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.authorization import spock.lang.Specification import springfox.documentation.spring.web.mixins.AuthSupport diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AccessorAssertions.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AccessorAssertions.groovy index 03c135d7a29..171a2b6521d 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AccessorAssertions.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AccessorAssertions.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins class AccessorAssertions { diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiDescriptionSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiDescriptionSupport.groovy index 1d531431b35..bf5633b6745 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiDescriptionSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiDescriptionSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import springfox.documentation.service.ApiDescription diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiListingSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiListingSupport.groovy index 40d6fdaea51..cb97c0599ab 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiListingSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ApiListingSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import springfox.documentation.service.ApiListing diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AuthSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AuthSupport.groovy index 0598234249a..2ddfc0baf11 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AuthSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/AuthSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import springfox.documentation.service.Authorization diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/HandlerMethodsSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/HandlerMethodsSupport.groovy index 6315af15ddb..74b4c1f964d 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/HandlerMethodsSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/HandlerMethodsSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import com.fasterxml.classmate.MemberResolver import com.fasterxml.classmate.ResolvedType diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/JsonSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/JsonSupport.groovy index 3fec4f1307f..dd8b9f030fc 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/JsonSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/JsonSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import groovy.json.JsonSlurper diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ModelProviderForServiceSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ModelProviderForServiceSupport.groovy index 129aaefb167..00ffd9e00b6 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ModelProviderForServiceSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ModelProviderForServiceSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import com.fasterxml.classmate.TypeResolver import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/RequestMappingSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/RequestMappingSupport.groovy index 78dbb2af7b9..eb76a38234b 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/RequestMappingSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/RequestMappingSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ServicePluginsSupport.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ServicePluginsSupport.groovy index 3bde98c6a88..5f91f305700 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ServicePluginsSupport.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/mixins/ServicePluginsSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.mixins import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationConfigurerSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationConfigurerSpec.groovy index 3e426de9310..763d0379af6 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationConfigurerSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationConfigurerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins import com.google.common.collect.Ordering import org.joda.time.LocalDate diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationContextSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationContextSpec.groovy index bd8624edb68..f5130b96e10 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationContextSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationContextSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapperSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapperSpec.groovy index a5782d4afd7..f1d093bbd50 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapperSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsBootstrapperSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsManagerSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsManagerSpec.groovy index 287c9802eca..b99c0aadf9c 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsManagerSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/DocumentationPluginsManagerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/OperationModelsBuilderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/OperationModelsBuilderSpec.groovy index b66ffa777ce..511a9f3b122 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/OperationModelsBuilderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/plugins/OperationModelsBuilderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.plugins import spock.lang.Specification diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiModelReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiModelReaderSpec.groovy index d0602de9c4f..865f1fd1eb2 100755 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiModelReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiModelReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiOperationReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiOperationReaderSpec.groovy index 2f620b0c478..c51459d6366 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiOperationReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/ApiOperationReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers import org.springframework.web.method.HandlerMethod import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/MediaTypeReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/MediaTypeReaderSpec.groovy index f211a754473..baf29aa04e2 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/MediaTypeReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/MediaTypeReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/OperationParameterRequestConditionReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/OperationParameterRequestConditionReaderSpec.groovy index ab0eb42edff..7f4336c4a9a 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/OperationParameterRequestConditionReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/OperationParameterRequestConditionReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/DefaultResponseMessageReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/DefaultResponseMessageReaderSpec.groovy index 0846d982ccd..c884631aae1 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/DefaultResponseMessageReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/DefaultResponseMessageReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import com.fasterxml.classmate.TypeResolver import org.springframework.http.HttpStatus diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/HandlerMethodResolverSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/HandlerMethodResolverSpec.groovy index 2dbcaeffd8c..741e49a5f4f 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/HandlerMethodResolverSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/HandlerMethodResolverSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import com.fasterxml.classmate.GenericType diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationCommandReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationCommandReaderSpec.groovy index 625ce6629f9..a9000094e88 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationCommandReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationCommandReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationMethodReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationMethodReaderSpec.groovy index 5edd0110d0d..01023d2f1b1 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationMethodReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationMethodReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationPositionReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationPositionReaderSpec.groovy index 5abf00a0927..14ac0a1fc21 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationPositionReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationPositionReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationResponseClassReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationResponseClassReaderSpec.groovy index 310c72212cd..177ed8216dd 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationResponseClassReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationResponseClassReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import com.fasterxml.classmate.TypeResolver import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationTagsReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationTagsReaderSpec.groovy index cc4ec898837..6ca7a940911 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationTagsReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/operation/OperationTagsReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpanderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpanderSpec.groovy index 6ddf6f2c0a8..502cfa3d898 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpanderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ModelAttributeParameterExpanderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/OperationParameterReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/OperationParameterReaderSpec.groovy index 7edc3eaccfb..0fa7e8b06c8 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/OperationParameterReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/OperationParameterReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.fasterxml.classmate.TypeResolver diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReaderSpec.groovy index bee9d9775cd..2661ed18bfc 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterDataTypeReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.fasterxml.classmate.TypeResolver import org.springframework.core.MethodParameter diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReaderSpec.groovy index 9b9303264cc..40905c83b99 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterMultiplesReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.fasterxml.classmate.ResolvedType diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterReaderSpec.groovy index 607a6e41789..f40b6cb7d7b 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.wordnik.swagger.annotations.ApiParam diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReaderSpec.groovy index 52e87990797..e43ae3020fd 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterRequiredReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.wordnik.swagger.annotations.ApiParam diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterTypeReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterTypeReaderSpec.groovy index 9a722b0674a..fee9f401c46 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterTypeReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/readers/parameter/ParameterTypeReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.readers.parameter import com.fasterxml.classmate.ResolvedType diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDescriptionReaderSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDescriptionReaderSpec.groovy index bf9152570af..5d965c20393 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDescriptionReaderSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDescriptionReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiListingScannerSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiListingScannerSpec.groovy index bd844a2e5f4..e294a02d4d2 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiListingScannerSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/ApiListingScannerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import org.springframework.web.servlet.mvc.method.RequestMappingInfo import spock.lang.Unroll diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiDocumentationScannerSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiDocumentationScannerSpec.groovy index 1407822b6c9..ed389d196a9 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiDocumentationScannerSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiDocumentationScannerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import springfox.documentation.spring.web.AbstractPathProvider diff --git a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy index f5550606b64..aa645f685af 100644 --- a/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy +++ b/springfox-spring-web/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/GenericWebContextLoader.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/GenericWebContextLoader.java index 727971762d4..dc47cdd89c4 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/GenericWebContextLoader.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/GenericWebContextLoader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.configuration; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/WebContextLoader.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/WebContextLoader.java index a2b9db2cd9f..211a5811170 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/WebContextLoader.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/configuration/WebContextLoader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.configuration; public class WebContextLoader extends GenericWebContextLoader { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyClass.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyClass.java index 80e34102186..cd85ef4d5e2 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyClass.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyClass.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy; import com.wordnik.swagger.annotations.ApiImplicitParam; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyController.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyController.java index 9841edc3101..560d194168b 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyController.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyController.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyControllerWithApiDescription.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyControllerWithApiDescription.java index 59639a3bd73..f0156e538a5 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyControllerWithApiDescription.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyControllerWithApiDescription.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyModels.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyModels.java index bcc29001116..516b8a39758 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyModels.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyModels.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyRequestMappingHandlerAdapter.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyRequestMappingHandlerAdapter.java index a8dcb2b24e3..9052be204ba 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyRequestMappingHandlerAdapter.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/DummyRequestMappingHandlerAdapter.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy; import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/RestError.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/RestError.java index deb3029bb0a..84fee72a26c 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/RestError.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/RestError.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy; public class RestError { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractController.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractController.java index 80c5f474830..1b7849102d9 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractController.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractController.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.ApiResponse; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractPetService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractPetService.java index a4dc6b66134..32878630512 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractPetService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/AbstractPetService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import org.springframework.web.bind.annotation.RequestBody; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/BusinessService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/BusinessService.java index b374ca36baa..ac354f17f12 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/BusinessService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/BusinessService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ConcreteController.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ConcreteController.java index 20fefb1ea80..978bae12313 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ConcreteController.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ConcreteController.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import org.springframework.stereotype.Controller; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ControllerWithNoRequestMappingService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ControllerWithNoRequestMappingService.java index 8eab71fc751..39bc6c82445 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ControllerWithNoRequestMappingService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ControllerWithNoRequestMappingService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import org.springframework.http.HttpStatus; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ExcludedService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ExcludedService.java index e65671659ba..6fce8e65907 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ExcludedService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/ExcludedService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FancyPetService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FancyPetService.java index 833f1a9621c..27cc337f066 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FancyPetService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FancyPetService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FeatureDemonstrationService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FeatureDemonstrationService.java index 81fb6c7c7b7..c2641890935 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FeatureDemonstrationService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/FeatureDemonstrationService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedService.java index 616cd613051..48891430566 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import org.springframework.stereotype.Controller; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedServiceImpl.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedServiceImpl.java index 4dcef7b0ffa..bc172d8c109 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedServiceImpl.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/InheritedServiceImpl.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import org.springframework.stereotype.Component; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetGroomingService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetGroomingService.java index 50c4b810acb..3327f0e06d2 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetGroomingService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetGroomingService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetService.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetService.java index bad88d79a12..ab6fe30e21e 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetService.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/PetService.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/RootController.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/RootController.java index 85cc498c2a8..880824a0956 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/RootController.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/controllers/RootController.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.controllers; import com.wordnik.swagger.annotations.Api; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Business.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Business.java index ac56df96abd..970b56af13b 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Business.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Business.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; import com.wordnik.swagger.annotations.ApiModel; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Category.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Category.java index da65109052d..48c58e9d44e 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Category.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Category.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; public class Category { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/CustomAllCapsStringHashSet.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/CustomAllCapsStringHashSet.java index 3096625964e..2cf0c2c122d 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/CustomAllCapsStringHashSet.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/CustomAllCapsStringHashSet.java @@ -1,4 +1,21 @@ -//Copyright 2014 Choice Hotels International +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ package springfox.documentation.spring.web.dummy.models; import java.util.Collection; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/EnumType.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/EnumType.java index 7b4536f1416..09fe67c8fed 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/EnumType.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/EnumType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; public enum EnumType { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Example.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Example.java index 4f7a7cbc655..a91bb9845fd 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Example.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Example.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; import com.wordnik.swagger.annotations.ApiModelProperty; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FancyPet.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FancyPet.java index 46bf7b25bbd..1fda72625b1 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FancyPet.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FancyPet.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; import java.util.List; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FoobarDto.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FoobarDto.java index 913014f3608..031ddea9b81 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FoobarDto.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/FoobarDto.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/NestedType.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/NestedType.java index d94f5193f53..95456f665dc 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/NestedType.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/NestedType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; public class NestedType { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Parent.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Parent.java index 8df39a75d84..b63d5019049 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Parent.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Parent.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; public class Parent { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Pet.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Pet.java index f6fa129753d..45a60e60a16 100755 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Pet.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Pet.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; public class Pet { diff --git a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Treeish.java b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Treeish.java index a02d2d4edc3..9f744ecc2b2 100644 --- a/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Treeish.java +++ b/springfox-spring-web/src/test/java/springfox/documentation/spring/web/dummy/models/Treeish.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.dummy.models; public class Treeish implements java.io.Serializable { diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/annotations/Annotations.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/annotations/Annotations.java index 59c98c1b9c5..a7185325b3c 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/annotations/Annotations.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/annotations/Annotations.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.annotations; import com.google.common.base.Optional; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/common/SwaggerPluginSupport.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/common/SwaggerPluginSupport.java index 3e5e36ee058..ac9423122f0 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/common/SwaggerPluginSupport.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/common/SwaggerPluginSupport.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.common; import springfox.documentation.spi.DocumentationType; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/configuration/SwaggerCommonConfiguration.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/configuration/SwaggerCommonConfiguration.java index 4701848aa4d..b4404921d52 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/configuration/SwaggerCommonConfiguration.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/configuration/SwaggerCommonConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import org.springframework.context.annotation.ComponentScan; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationAuthReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationAuthReader.java index 7f3c7de3d64..5aa3475161a 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationAuthReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationAuthReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.wordnik.swagger.annotations.ApiOperation; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHiddenReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHiddenReader.java index e62195920c1..fb052a41616 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHiddenReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHiddenReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.wordnik.swagger.annotations.ApiOperation; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHttpMethodReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHttpMethodReader.java index 4aa9ecb8638..eb334acf5f7 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHttpMethodReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationHttpMethodReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.wordnik.swagger.annotations.ApiOperation; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParameterReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParameterReader.java index d49ace1637e..1d8f726516e 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParameterReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParameterReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.google.common.collect.Lists; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParametersReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParametersReader.java index d6e29fcea67..b065fb8c19b 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParametersReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationImplicitParametersReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.google.common.collect.Lists; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationNotesReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationNotesReader.java index 9b14a267140..dddbf1aba59 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationNotesReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationNotesReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.wordnik.swagger.annotations.ApiOperation; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationPositionReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationPositionReader.java index cd3344ea917..5472535eec8 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationPositionReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationPositionReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.wordnik.swagger.annotations.ApiOperation; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationResponseClassReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationResponseClassReader.java index f98ff3f6314..94f25b18249 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationResponseClassReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationResponseClassReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationSummaryReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationSummaryReader.java index 4988228ec91..247307f6ab5 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationSummaryReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/OperationSummaryReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.wordnik.swagger.annotations.ApiOperation; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReader.java index 09f6b422648..d041fa7169e 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.google.common.base.Splitter; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerOperationModelsProvider.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerOperationModelsProvider.java index 0423dac3740..e1cebc246d8 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerOperationModelsProvider.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerOperationModelsProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.fasterxml.classmate.ResolvedType; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReader.java index d192c00bfc0..75bd1433fc9 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation; import com.google.common.base.Optional; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAccessReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAccessReader.java index 0eedfc94406..0201c1b18df 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAccessReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAccessReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.wordnik.swagger.annotations.ApiParam; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAllowableReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAllowableReader.java index e4aa81724b9..37edd1f449f 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAllowableReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAllowableReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.wordnik.swagger.annotations.ApiParam; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReader.java index a8f016f8918..275aec1426b 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.google.common.base.Optional; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDefaultReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDefaultReader.java index 046f21170e2..e9dd6d2230e 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDefaultReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDefaultReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.wordnik.swagger.annotations.ApiParam; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDescriptionReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDescriptionReader.java index f96f0835c52..f778b0de65f 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDescriptionReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterDescriptionReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.wordnik.swagger.annotations.ApiParam; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReader.java index 4c10a81fdbb..70656dc995a 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.wordnik.swagger.annotations.ApiParam; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterNameReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterNameReader.java index 08d146973d5..bc793c8884e 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterNameReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterNameReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.google.common.annotations.VisibleForTesting; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterRequiredReader.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterRequiredReader.java index 1783858320b..4ee3b3d1f4d 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterRequiredReader.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/ParameterRequiredReader.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.google.common.base.Optional; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/SwaggerExpandedParameterBuilder.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/SwaggerExpandedParameterBuilder.java index e2ce7b4610f..7dc771fea48 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/SwaggerExpandedParameterBuilder.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/readers/parameter/SwaggerExpandedParameterBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter; import com.google.common.base.Function; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelBuilder.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelBuilder.java index 1674bdf17ba..472285c23b6 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelBuilder.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.schema; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelProperties.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelProperties.java index 97e89307dc9..df46696ce93 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelProperties.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelProperties.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.schema; import com.google.common.base.Function; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilder.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilder.java index 5bb0711948d..8a9760288d0 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilder.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilder.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.schema; import com.google.common.base.Optional; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelTypeNameProvider.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelTypeNameProvider.java index 482e4cd177c..390404e0d00 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelTypeNameProvider.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/schema/ApiModelTypeNameProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.schema; import com.wordnik.swagger.annotations.ApiModel; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/AbsolutePathProvider.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/AbsolutePathProvider.java index 22d9dd41e3b..826fb1e4321 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/AbsolutePathProvider.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/AbsolutePathProvider.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web; import org.springframework.beans.factory.annotation.Autowired; diff --git a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGrouping.java b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGrouping.java index 94debcd8a4b..3a320e84036 100644 --- a/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGrouping.java +++ b/springfox-swagger-common/src/main/java/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGrouping.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web; import com.google.common.base.Function; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/annotations/EnableSwagger.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/annotations/EnableSwagger.java index d905c18b58e..8eee9e21724 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/annotations/EnableSwagger.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/annotations/EnableSwagger.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.annotations; import org.springframework.context.annotation.Import; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/JacksonSwaggerSupport.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/JacksonSwaggerSupport.java index 93bf485867b..18fd8e2bd06 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/JacksonSwaggerSupport.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/JacksonSwaggerSupport.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerJacksonModule.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerJacksonModule.java index 2ba2f153f9a..eb531ccaf0b 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerJacksonModule.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerJacksonModule.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import com.fasterxml.jackson.annotation.JsonAutoDetect; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerSpringMvcDocumentationConfiguration.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerSpringMvcDocumentationConfiguration.java index 86f6ccf4729..fbf84e40d35 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerSpringMvcDocumentationConfiguration.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/configuration/SwaggerSpringMvcDocumentationConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import org.springframework.context.annotation.ComponentScan; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableListValues.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableListValues.java index 547ad419402..756e5ffc7ae 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableListValues.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableListValues.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableRangeValues.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableRangeValues.java index 43a7439f7a0..ce6361e2d94 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableRangeValues.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableRangeValues.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableValues.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableValues.java index a87bfceb8e9..ee81c857776 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableValues.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AllowableValues.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonSubTypes; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiDescription.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiDescription.java index 3f9be35cbf5..59d6731ad36 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiDescription.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiDescription.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiInfo.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiInfo.java index 9629ec28f67..51270a7283f 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiInfo.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiInfo.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class ApiInfo { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiKey.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiKey.java index b72650137d2..0805284836b 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiKey.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiKey.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class ApiKey extends AuthorizationType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListing.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListing.java index 1d9e31bc0d5..6270346a07d 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListing.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListing.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListingReference.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListingReference.java index 5738fa8e9e4..ed45ec360d4 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListingReference.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ApiListingReference.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class ApiListingReference { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Authorization.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Authorization.java index 0d2bdf0c2e1..e77bb214915 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Authorization.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Authorization.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import java.util.List; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationCodeGrant.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationCodeGrant.java index f97df27eeab..3067a13aece 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationCodeGrant.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationCodeGrant.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class AuthorizationCodeGrant extends GrantType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationScope.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationScope.java index 3228a9db03b..b387d23480d 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationScope.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationScope.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class AuthorizationScope { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationType.java index 952796ba177..72d927546bc 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/AuthorizationType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public abstract class AuthorizationType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/BasicAuth.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/BasicAuth.java index 7ac2f0a4801..29566b8e1b4 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/BasicAuth.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/BasicAuth.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class BasicAuth extends AuthorizationType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ContainerDataType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ContainerDataType.java index 5351285fbbb..9b0690a51bd 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ContainerDataType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ContainerDataType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/DataType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/DataType.java index 2abac60d0b0..97ae96022b7 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/DataType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/DataType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/GrantType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/GrantType.java index 1a12b0d84e0..16205a5ca5e 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/GrantType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/GrantType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class GrantType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ImplicitGrant.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ImplicitGrant.java index 51c2cc513d4..cb7a403256b 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ImplicitGrant.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ImplicitGrant.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/LoginEndpoint.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/LoginEndpoint.java index cdaa1a8ec3d..fbf965df1ef 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/LoginEndpoint.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/LoginEndpoint.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class LoginEndpoint { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelDto.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelDto.java index 5e4facb0494..05394f1f433 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelDto.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelDto.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelPropertyDto.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelPropertyDto.java index 7ba21c54c15..e32969361e4 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelPropertyDto.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ModelPropertyDto.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/OAuth.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/OAuth.java index d69ac7f5600..518cfe17f72 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/OAuth.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/OAuth.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import java.util.ArrayList; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Operation.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Operation.java index 8b08634d422..eb89752cf25 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Operation.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Operation.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Parameter.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Parameter.java index c46e9a3f51c..7e8574d8466 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Parameter.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/Parameter.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveDataType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveDataType.java index c38086d6d2b..1dedb47f7fa 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveDataType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveDataType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class PrimitiveDataType implements SwaggerDataType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveFormatDataType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveFormatDataType.java index 96bc43ed314..dc564fec4f2 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveFormatDataType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/PrimitiveFormatDataType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ReferenceDataType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ReferenceDataType.java index aead3fc011f..8aa3f03a0b9 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ReferenceDataType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ReferenceDataType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResourceListing.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResourceListing.java index 6a9affe5aa5..c4531702f90 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResourceListing.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResourceListing.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import java.util.ArrayList; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResponseMessage.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResponseMessage.java index cb773202203..10a57ff982b 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResponseMessage.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/ResponseMessage.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; import com.fasterxml.jackson.annotation.JsonInclude; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/SwaggerDataType.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/SwaggerDataType.java index 8d5d7c8c808..623bc4c219f 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/SwaggerDataType.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/SwaggerDataType.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public interface SwaggerDataType { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenEndpoint.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenEndpoint.java index d74b9cad866..cbec65f79ca 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenEndpoint.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenEndpoint.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class TokenEndpoint { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenRequestEndpoint.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenRequestEndpoint.java index 834b9485af0..43b42da4c92 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenRequestEndpoint.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/dto/TokenRequestEndpoint.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto; public class TokenRequestEndpoint { diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AllowableValuesMapper.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AllowableValuesMapper.java index 802e1de9931..a0952eb1826 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AllowableValuesMapper.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AllowableValuesMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AuthorizationTypesMapper.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AuthorizationTypesMapper.java index ddfb05ca5cf..ea1c33b3ba6 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AuthorizationTypesMapper.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/AuthorizationTypesMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers; import org.mapstruct.Mapper; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/DataTypeMapper.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/DataTypeMapper.java index b2bb2a57bbf..df9fb24af38 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/DataTypeMapper.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/DataTypeMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers; import org.mapstruct.Mapper; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/Mappers.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/Mappers.java index f7b5e9c9046..131b90d47e6 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/Mappers.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/Mappers.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers; import com.google.common.collect.Maps; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapper.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapper.java index fd88c172d9d..357729c2724 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapper.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers; import org.mapstruct.Mapper; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/web/DefaultSwaggerController.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/web/DefaultSwaggerController.java index c960a9cb5d2..2689c10cbd3 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/web/DefaultSwaggerController.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/web/DefaultSwaggerController.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web; import com.google.common.base.Function; diff --git a/springfox-swagger/src/main/java/springfox/documentation/swagger/web/SwaggerDefaultConfiguration.java b/springfox-swagger/src/main/java/springfox/documentation/swagger/web/SwaggerDefaultConfiguration.java index f5c3300d89f..b241c5b92f3 100644 --- a/springfox-swagger/src/main/java/springfox/documentation/swagger/web/SwaggerDefaultConfiguration.java +++ b/springfox-swagger/src/main/java/springfox/documentation/swagger/web/SwaggerDefaultConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web; import com.fasterxml.classmate.TypeResolver; diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/field/FieldModelPropertySpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/field/FieldModelPropertySpec.groovy index c50066d8581..a6360b4581b 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/field/FieldModelPropertySpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/field/FieldModelPropertySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.field import springfox.documentation.schema.AlternateTypesSupport diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/property/BeanModelPropertySpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/property/BeanModelPropertySpec.groovy index 707317a7d0d..7c0b2655039 100755 --- a/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/property/BeanModelPropertySpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/schema/property/property/BeanModelPropertySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema.property.property import com.fasterxml.classmate.TypeResolver diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDocumentationScannerSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDocumentationScannerSpec.groovy index 23d8a4421e0..1e53790adb9 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDocumentationScannerSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/ApiDocumentationScannerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import springfox.documentation.spring.web.AbstractPathProvider diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy index f49be9c397f..02b561589a6 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiListingReferenceScannerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiModelReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiModelReaderSpec.groovy index be63bad05db..778a2bc0d86 100755 --- a/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiModelReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/spring/web/scanners/SwaggerApiModelReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.spring.web.scanners import com.fasterxml.classmate.TypeResolver diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/annotations/AnnotationsSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/annotations/AnnotationsSpec.groovy index fabab57d682..44e938f6cb4 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/annotations/AnnotationsSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/annotations/AnnotationsSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.annotations import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/configuration/JacksonSwaggerSupportSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/configuration/JacksonSwaggerSupportSpec.groovy index d9a0647f457..e1fe0066e50 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/configuration/JacksonSwaggerSupportSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/configuration/JacksonSwaggerSupportSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration import com.fasterxml.jackson.databind.ObjectMapper import org.springframework.context.ApplicationEventPublisher diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableListValuesSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableListValuesSpec.groovy index 704f9b34405..5f42e9cb8fe 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableListValuesSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableListValuesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class AllowableListValuesSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableRangeValuesSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableRangeValuesSpec.groovy index f44d809179d..19059b2c25c 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableRangeValuesSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AllowableRangeValuesSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiDescriptionSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiDescriptionSpec.groovy index 7165ea2d842..368913b55c6 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiDescriptionSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiDescriptionSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ApiDescriptionSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiInfoSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiInfoSpec.groovy index 70fea726b74..88bd6767dae 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiInfoSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiInfoSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ApiInfoSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiKeySpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiKeySpec.groovy index 82652864ddc..40aa7314cb2 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiKeySpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiKeySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ApiKeySpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingReferenceSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingReferenceSpec.groovy index a44dbc670a1..f2928cdcab1 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingReferenceSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingReferenceSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ApiListingReferenceSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingSpec.groovy index f683ab598cb..59c854946f8 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ApiListingSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import org.springframework.http.MediaType diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationScopeSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationScopeSpec.groovy index d55eb6d1bc9..5a72fd32c77 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationScopeSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationScopeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class AuthorizationScopeSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationSpec.groovy index b6708b4f003..ef6ce1a9587 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/AuthorizationSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class AuthorizationSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/BasicAuthSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/BasicAuthSpec.groovy index 31fe00c1146..43b0666868a 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/BasicAuthSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/BasicAuthSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class BasicAuthSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ContainerDataTypeSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ContainerDataTypeSpec.groovy index 2efbed4eab4..3215c19375e 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ContainerDataTypeSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ContainerDataTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ContainerDataTypeSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/DataTypeSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/DataTypeSpec.groovy index 1dd7c216194..61f68ca21bc 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/DataTypeSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/DataTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import spock.lang.Unroll diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/InternalJsonSerializationSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/InternalJsonSerializationSpec.groovy index 24fce8d2c61..6733f6d1550 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/InternalJsonSerializationSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/InternalJsonSerializationSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelPropertySpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelPropertySpec.groovy index 8ee6d9b7fbf..3c3d405c444 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelPropertySpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelPropertySpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ModelPropertySpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelSpec.groovy index a14927c7e1e..cebcc00b63e 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ModelSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import spock.lang.Unroll diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/OperationSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/OperationSpec.groovy index 3d7e4b141cf..c9a03d1c675 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/OperationSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/OperationSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class OperationSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ParameterSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ParameterSpec.groovy index 342f6fcf09d..4f5ff4f9243 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ParameterSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ParameterSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ParameterSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveDataTypeSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveDataTypeSpec.groovy index 39e1f8cd281..d2f45d392ba 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveDataTypeSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveDataTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveFormatDataTypeSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveFormatDataTypeSpec.groovy index bffbae4c624..a88d4493a9c 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveFormatDataTypeSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/PrimitiveFormatDataTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class PrimitiveFormatDataTypeSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ReferenceDataTypeSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ReferenceDataTypeSpec.groovy index a60ac1f0d28..b33956d2c5e 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ReferenceDataTypeSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ReferenceDataTypeSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class ReferenceDataTypeSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResourceListingSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResourceListingSpec.groovy index 479fb4f8e88..5d9d6b381d0 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResourceListingSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResourceListingSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import static com.google.common.collect.Lists.* diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResponseMessageSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResponseMessageSpec.groovy index ea198e9f01a..23ac0adad87 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResponseMessageSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/ResponseMessageSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto import spock.lang.Unroll diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenEndpointSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenEndpointSpec.groovy index b92286dd13a..278d0623f94 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenEndpointSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenEndpointSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class TokenEndpointSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenRequestEndpointSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenRequestEndpointSpec.groovy index 51b1439faa4..6380dba90e2 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenRequestEndpointSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/dto/TokenRequestEndpointSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.dto class TokenRequestEndpointSpec extends InternalJsonSerializationSpec { diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomJavaPluginStartupSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomJavaPluginStartupSpec.groovy index 3f19c058c0a..8eef062c135 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomJavaPluginStartupSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomJavaPluginStartupSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.integration import org.springframework.beans.factory.annotation.Autowired import org.springframework.test.context.ContextConfiguration diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomXmlPluginStartupSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomXmlPluginStartupSpec.groovy index a3bdb4a4004..cbac1cd933f 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomXmlPluginStartupSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/CustomXmlPluginStartupSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.integration import org.springframework.beans.factory.annotation.Autowired diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultJavaPluginStartupSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultJavaPluginStartupSpec.groovy index b709a9f6162..c33b8697ca3 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultJavaPluginStartupSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultJavaPluginStartupSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.integration import org.springframework.beans.factory.annotation.Autowired diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultXmlPluginStartupSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultXmlPluginStartupSpec.groovy index b60317b72e8..30106ca6f94 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultXmlPluginStartupSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/DefaultXmlPluginStartupSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.integration import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/MultipleRequestMappingHandlerAdaptersSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/MultipleRequestMappingHandlerAdaptersSpec.groovy index 7e0efb3c7da..741b4d53d51 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/MultipleRequestMappingHandlerAdaptersSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/MultipleRequestMappingHandlerAdaptersSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.integration import org.springframework.beans.factory.annotation.Autowired diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/SwaggerSpringMvcPluginSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/SwaggerSpringMvcPluginSpec.groovy index 1d87d8b5cd1..c18b62cd91e 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/SwaggerSpringMvcPluginSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/integration/SwaggerSpringMvcPluginSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.integration import com.fasterxml.classmate.TypeResolver import org.joda.time.LocalDate diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/AuthorizationTypesSerializerSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/AuthorizationTypesSerializerSpec.groovy index d83eb5e9f65..46a8d98c108 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/AuthorizationTypesSerializerSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/AuthorizationTypesSerializerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.jackson import springfox.documentation.swagger.dto.AuthorizationCodeGrant diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/SwaggerJacksonModuleSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/SwaggerJacksonModuleSpec.groovy index 330ded421ae..168b8e8c9d9 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/SwaggerJacksonModuleSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/jackson/SwaggerJacksonModuleSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.jackson import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllMappersSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllMappersSpec.groovy index 0c9e982475c..57d541df7fc 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllMappersSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllMappersSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllowableValuesMapperSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllowableValuesMapperSpec.groovy index e919b7ecffa..d54e276541c 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllowableValuesMapperSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AllowableValuesMapperSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AuthorizationTypesMapperSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AuthorizationTypesMapperSpec.groovy index 81a47887ad2..2c87b571391 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AuthorizationTypesMapperSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/AuthorizationTypesMapperSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/DataTypeMapperSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/DataTypeMapperSpec.groovy index 0596855e81f..d481abaca34 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/DataTypeMapperSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/DataTypeMapperSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapperSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapperSpec.groovy index 36bd6f219ef..d02e834cb82 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapperSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mappers/ServiceModelToSwaggerMapperSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mappers import com.fasterxml.classmate.TypeResolver diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/MapperSupport.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/MapperSupport.groovy index f9baddeb24b..44ba6179066 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/MapperSupport.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/MapperSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mixins import org.mapstruct.factory.Mappers diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPathProviderSupport.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPathProviderSupport.groovy index fee9224e4ef..c3227a3eb63 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPathProviderSupport.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPathProviderSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mixins import springfox.documentation.spring.web.AbstractPathProvider diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPluginsSupport.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPluginsSupport.groovy index 055c7c2ee4a..91865637bcf 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPluginsSupport.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/mixins/SwaggerPluginsSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.mixins import com.fasterxml.classmate.TypeResolver diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationAuthReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationAuthReaderSpec.groovy index 49901d443fd..7ca41f152bd 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationAuthReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationAuthReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import org.springframework.web.bind.annotation.RequestMethod import springfox.documentation.builders.OperationBuilder diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationCommandReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationCommandReaderSpec.groovy index c0914c7c14a..0fe4ec31ad5 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationCommandReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationCommandReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationHttpMethodReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationHttpMethodReaderSpec.groovy index f3a452d5a73..e075fa745ce 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationHttpMethodReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationHttpMethodReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationImplicitParamsReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationImplicitParamsReaderSpec.groovy index 6fe32b53d44..14fe8807fe7 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationImplicitParamsReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationImplicitParamsReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import com.fasterxml.classmate.TypeResolver diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationPositionReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationPositionReaderSpec.groovy index c46218068c0..45d30b9d3b7 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationPositionReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationPositionReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationResponseClassReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationResponseClassReaderSpec.groovy index 9617ca2c160..fec39ff9da7 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationResponseClassReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/OperationResponseClassReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import com.fasterxml.classmate.TypeResolver import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReaderSpec.groovy index d2851e5bbc1..6a3ef3a338c 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerMediaTypeReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReaderSpec.groovy index cc985949503..cb3267b67b2 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/operation/SwaggerResponseMessageReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.operation import org.springframework.web.bind.annotation.RequestMethod diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/OperationParameterReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/OperationParameterReaderSpec.groovy index 93abe15b072..ef05eb7b9ad 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/OperationParameterReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/OperationParameterReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.fasterxml.classmate.TypeResolver diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAllowableReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAllowableReaderSpec.groovy index 46dd5cf8b39..ec2ca7c0fa1 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAllowableReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAllowableReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.wordnik.swagger.annotations.ApiParam diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReaderSpec.groovy index 4b2416d8285..dc33f045505 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterAnnotationReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.google.common.base.Optional import com.wordnik.swagger.annotations.ApiParam diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReaderSpec.groovy index 8fda121f659..be52a5e9c70 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterMultiplesReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.fasterxml.classmate.ResolvedType diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterNameReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterNameReaderSpec.groovy index 94f69bd4a71..363d7346173 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterNameReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterNameReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.google.common.base.Optional diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterReaderSpec.groovy index b2ed568eee6..c9e6fe79c28 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.wordnik.swagger.annotations.ApiParam diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterRequiredReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterRequiredReaderSpec.groovy index 5de0d74bf77..35c9079c629 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterRequiredReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/readers/parameter/ParameterRequiredReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.readers.parameter import com.wordnik.swagger.annotations.ApiParam diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilderPluginSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilderPluginSpec.groovy index 04810b137be..173bf3fa2b8 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilderPluginSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelPropertyPropertyBuilderPluginSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.schema import com.fasterxml.jackson.databind.BeanDescription import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelTypeNameProviderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelTypeNameProviderSpec.groovy index 3c8f1982318..8f063f9c3bc 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelTypeNameProviderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/schema/ApiModelTypeNameProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.schema import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/AbsolutePathProviderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/AbsolutePathProviderSpec.groovy index 5a4fad968ca..37ad5e45d3d 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/AbsolutePathProviderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/AbsolutePathProviderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web import spock.lang.Specification diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGroupingSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGroupingSpec.groovy index f1822809f06..6a8ad2824a9 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGroupingSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/ClassOrApiAnnotationResourceGroupingSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/DefaultSwaggerControllerSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/DefaultSwaggerControllerSpec.groovy index b8c00a069c4..0a925a2fc28 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/DefaultSwaggerControllerSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/DefaultSwaggerControllerSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web import com.fasterxml.jackson.databind.ObjectMapper diff --git a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/SwaggerApiDescriptionReaderSpec.groovy b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/SwaggerApiDescriptionReaderSpec.groovy index c0b406479b9..24c9fa0de36 100644 --- a/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/SwaggerApiDescriptionReaderSpec.groovy +++ b/springfox-swagger/src/test/groovy/springfox/documentation/swagger/web/SwaggerApiDescriptionReaderSpec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.web import org.springframework.web.servlet.mvc.method.RequestMappingInfo diff --git a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithAnnotatedGettersAndSetters.java b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithAnnotatedGettersAndSetters.java index e132003285d..f836c45c3f5 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithAnnotatedGettersAndSetters.java +++ b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithAnnotatedGettersAndSetters.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.wordnik.swagger.annotations.ApiModelProperty; diff --git a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithApiModelAnnotation.java b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithApiModelAnnotation.java index 5c62d689c14..075b6e60de7 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithApiModelAnnotation.java +++ b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithApiModelAnnotation.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.wordnik.swagger.annotations.ApiModel; diff --git a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithEmptyApiModelAnnotation.java b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithEmptyApiModelAnnotation.java index e8f59c9a505..1a8b7e36fc5 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithEmptyApiModelAnnotation.java +++ b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithEmptyApiModelAnnotation.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.wordnik.swagger.annotations.ApiModel; diff --git a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java index bec9f04ee61..251194c273a 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java +++ b/springfox-swagger/src/test/java/springfox/documentation/schema/TypeWithGettersAndSetters.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.schema; import com.wordnik.swagger.annotations.ApiModelProperty; diff --git a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomJavaPluginConfig.java b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomJavaPluginConfig.java index 5d94b9abda2..5f2b3b5ea8b 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomJavaPluginConfig.java +++ b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomJavaPluginConfig.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomXmlJavaConfig.java b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomXmlJavaConfig.java index a8eb552c5ab..b5f8897a9c8 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomXmlJavaConfig.java +++ b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/CustomXmlJavaConfig.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import org.springframework.context.annotation.Bean; diff --git a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/DefaultJavaPluginConfig.java b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/DefaultJavaPluginConfig.java index a546b00d241..d82ab3b0c10 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/DefaultJavaPluginConfig.java +++ b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/DefaultJavaPluginConfig.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import org.springframework.context.annotation.ComponentScan; diff --git a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/MultipleRMHAConfig.java b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/MultipleRMHAConfig.java index 21973f21f71..981dd9ce4d1 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/MultipleRMHAConfig.java +++ b/springfox-swagger/src/test/java/springfox/documentation/swagger/configuration/MultipleRMHAConfig.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.configuration; import org.springframework.context.annotation.ComponentScan; diff --git a/springfox-swagger/src/test/java/springfox/documentation/swagger/models/ServiceWithAnnotationOnInterface.java b/springfox-swagger/src/test/java/springfox/documentation/swagger/models/ServiceWithAnnotationOnInterface.java index b597fb6846e..341d5c663e1 100644 --- a/springfox-swagger/src/test/java/springfox/documentation/swagger/models/ServiceWithAnnotationOnInterface.java +++ b/springfox-swagger/src/test/java/springfox/documentation/swagger/models/ServiceWithAnnotationOnInterface.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger.models; import com.wordnik.swagger.annotations.ApiResponse; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/annotations/EnableSwagger2.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/annotations/EnableSwagger2.java index 7d6f0b763ac..b159dca79ce 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/annotations/EnableSwagger2.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/annotations/EnableSwagger2.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.annotations; import org.springframework.context.annotation.Import; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2DocumentationConfiguration.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2DocumentationConfiguration.java index 5d93b099dc3..e7b33c79263 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2DocumentationConfiguration.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2DocumentationConfiguration.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.configuration; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2JacksonModule.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2JacksonModule.java index e5b11a40a2d..e854a83c1ce 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2JacksonModule.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/configuration/Swagger2JacksonModule.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.configuration; import com.fasterxml.jackson.annotation.JsonAutoDetect; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ApiKeyAuthFactory.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ApiKeyAuthFactory.java index 833170c4da8..9a82f722ce5 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ApiKeyAuthFactory.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ApiKeyAuthFactory.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.wordnik.swagger.models.auth.ApiKeyAuthDefinition; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/BasicAuthFactory.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/BasicAuthFactory.java index 34b33e0dd8a..01697a54c14 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/BasicAuthFactory.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/BasicAuthFactory.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.wordnik.swagger.models.auth.BasicAuthDefinition; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/LicenseMapper.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/LicenseMapper.java index b29222384bf..fa333678791 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/LicenseMapper.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/LicenseMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import org.mapstruct.Mapper; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ModelMapper.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ModelMapper.java index cc18fdad997..5b889efd8e2 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ModelMapper.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ModelMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.google.common.base.Function; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/OAuth2AuthFactory.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/OAuth2AuthFactory.java index 2aad9b4f934..84bb4bce26d 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/OAuth2AuthFactory.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/OAuth2AuthFactory.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.wordnik.swagger.models.auth.OAuth2Definition; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ParameterMapper.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ParameterMapper.java index fb6e12c4d85..b9a59b72d6b 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ParameterMapper.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ParameterMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.google.common.base.Optional; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecurityMapper.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecurityMapper.java index abd090e768f..a2dc12733dd 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecurityMapper.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecurityMapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.google.common.base.Function; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecuritySchemeFactory.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecuritySchemeFactory.java index d55e9080f3c..182e70d8aa2 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecuritySchemeFactory.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/SecuritySchemeFactory.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.wordnik.swagger.models.auth.SecuritySchemeDefinition; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ServiceModelToSwagger2Mapper.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ServiceModelToSwagger2Mapper.java index f83f6aeab7d..53467e1e2b1 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ServiceModelToSwagger2Mapper.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/mappers/ServiceModelToSwagger2Mapper.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.mappers; import com.google.common.base.Function; diff --git a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/web/Swagger2Controller.java b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/web/Swagger2Controller.java index 2c576034247..9976c6bce9c 100644 --- a/springfox-swagger2/src/main/java/springfox/documentation/swagger2/web/Swagger2Controller.java +++ b/springfox-swagger2/src/main/java/springfox/documentation/swagger2/web/Swagger2Controller.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.documentation.swagger2.web; import com.google.common.base.Optional; diff --git a/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/CrossOriginFilter.java b/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/CrossOriginFilter.java index 8d1675f1ed0..ee68f42ea0d 100644 --- a/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/CrossOriginFilter.java +++ b/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/CrossOriginFilter.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.test.contract.swagger; import org.slf4j.Logger; diff --git a/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/SwaggerApplication.java b/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/SwaggerApplication.java index 6c0e4fe2c8c..17a20b5aca4 100644 --- a/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/SwaggerApplication.java +++ b/swagger-contract-tests/src/main/groovy/springfox/test/contract/swagger/SwaggerApplication.java @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.test.contract.swagger; import org.springframework.boot.SpringApplication; diff --git a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/AuthorizationSupport.groovy b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/AuthorizationSupport.groovy index 46763aee852..1ca081b81e1 100644 --- a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/AuthorizationSupport.groovy +++ b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/AuthorizationSupport.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.test.contract.swagger import org.springframework.context.annotation.Bean diff --git a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/FileAccess.groovy b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/FileAccess.groovy index ce53ef3f7c4..86118bbbb6c 100644 --- a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/FileAccess.groovy +++ b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/FileAccess.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.test.contract.swagger trait FileAccess { diff --git a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV1_2Spec.groovy b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV1_2Spec.groovy index 8eecefef14f..93218e437b8 100644 --- a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV1_2Spec.groovy +++ b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV1_2Spec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.test.contract.swagger import groovy.json.JsonOutput import groovyx.net.http.RESTClient diff --git a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV2_0Spec.groovy b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV2_0Spec.groovy index 5c822f24bd9..5680058b4d4 100644 --- a/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV2_0Spec.groovy +++ b/swagger-contract-tests/src/test/groovy/springfox/test/contract/swagger/SwaggerV2_0Spec.groovy @@ -1,3 +1,22 @@ +/* + * + * Copyright 2015 the original author or authors. + * + * 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. + * + * + */ + package springfox.test.contract.swagger import groovy.json.JsonOutput