Skip to content

Commit

Permalink
refs swagger-api#2485 - rename annotations root package
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Oct 25, 2017
1 parent 3ff1170 commit 95787e3
Show file tree
Hide file tree
Showing 131 changed files with 452 additions and 440 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations;
package io.swagger.v3.oas.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
* limitations under the License.
*/

package io.swagger.oas.annotations;
package io.swagger.v3.oas.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.info.Info;
import io.swagger.oas.annotations.security.SecurityRequirement;
import io.swagger.oas.annotations.servers.Server;
import io.swagger.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.annotations.tags.Tag;

@Target({ ElementType.TYPE, ElementType.PACKAGE })
@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* limitations under the License.
*/

package io.swagger.oas.annotations;
package io.swagger.v3.oas.annotations;

import io.swagger.oas.annotations.extensions.Extension;
import io.swagger.oas.annotations.responses.ApiResponse;
import io.swagger.oas.annotations.security.SecurityRequirement;
import io.swagger.oas.annotations.servers.Server;
import io.swagger.v3.oas.annotations.extensions.Extension;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.servers.Server;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations;
package io.swagger.v3.oas.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand All @@ -23,13 +23,13 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.enums.Explode;
import io.swagger.oas.annotations.enums.ParameterIn;
import io.swagger.oas.annotations.enums.ParameterStyle;
import io.swagger.oas.annotations.media.ArraySchema;
import io.swagger.oas.annotations.media.Content;
import io.swagger.oas.annotations.media.ExampleObject;
import io.swagger.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.enums.Explode;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import io.swagger.v3.oas.annotations.enums.ParameterStyle;
import io.swagger.v3.oas.annotations.media.ArraySchema;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.ExampleObject;
import io.swagger.v3.oas.annotations.media.Schema;

/**
* Describes a single operation parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.swagger.oas.annotations;
package io.swagger.v3.oas.annotations;


import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.callbacks;
package io.swagger.v3.oas.annotations.callbacks;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand All @@ -23,7 +23,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Operation;

/**
* This object represents a callback URL that will be invoked.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.callbacks;
package io.swagger.v3.oas.annotations.callbacks;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.enums;
package io.swagger.v3.oas.annotations.enums;


public enum Explode {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.enums;
package io.swagger.v3.oas.annotations.enums;

public enum ParameterIn {
DEFAULT(""),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.enums;
package io.swagger.v3.oas.annotations.enums;

public enum ParameterStyle {
DEFAULT(""),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.enums;
package io.swagger.v3.oas.annotations.enums;

public enum SecuritySchemeIn {
DEFAULT(""),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.enums;
package io.swagger.v3.oas.annotations.enums;

public enum SecuritySchemeType {
DEFAULT(""),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.extensions;
package io.swagger.v3.oas.annotations.extensions;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.extensions;
package io.swagger.v3.oas.annotations.extensions;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.extensions;
package io.swagger.v3.oas.annotations.extensions;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.headers;
package io.swagger.v3.oas.annotations.headers;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;

/**
* Describes a single header object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.info;
package io.swagger.v3.oas.annotations.info;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.info;
package io.swagger.v3.oas.annotations.info;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.info;
package io.swagger.v3.oas.annotations.info;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.links;
package io.swagger.v3.oas.annotations.links;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.servers.Server;
import io.swagger.v3.oas.annotations.servers.Server;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.links;
package io.swagger.v3.oas.annotations.links;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.swagger.oas.annotations.media;
package io.swagger.v3.oas.annotations.media;


import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.media;
package io.swagger.v3.oas.annotations.media;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.media;
package io.swagger.v3.oas.annotations.media;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.media;
package io.swagger.v3.oas.annotations.media;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.headers.Header;
import io.swagger.v3.oas.annotations.headers.Header;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.media;
package io.swagger.v3.oas.annotations.media;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.media;
package io.swagger.v3.oas.annotations.media;

import io.swagger.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.ExternalDocumentation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.parameters;
package io.swagger.v3.oas.annotations.parameters;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.swagger.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.Content;

/**
* Describes a single request body.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.responses;
package io.swagger.v3.oas.annotations.responses;

import io.swagger.oas.annotations.headers.Header;
import io.swagger.oas.annotations.links.Link;
import io.swagger.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.headers.Header;
import io.swagger.v3.oas.annotations.links.Link;
import io.swagger.v3.oas.annotations.media.Content;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.responses;
package io.swagger.v3.oas.annotations.responses;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.security;
package io.swagger.v3.oas.annotations.security;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.security;
package io.swagger.v3.oas.annotations.security;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.security;
package io.swagger.v3.oas.annotations.security;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.security;
package io.swagger.v3.oas.annotations.security;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.swagger.oas.annotations.security;
package io.swagger.v3.oas.annotations.security;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand Down
Loading

0 comments on commit 95787e3

Please sign in to comment.