Skip to content

Commit

Permalink
Add @target to annotations where it was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Azquelt committed Jan 21, 2025
1 parent 863991a commit 1bd1646
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.eclipse.microprofile.openapi.annotations.media;

import java.lang.annotation.Target;

/**
* A property name and an associated list of other property names.
* <p>
Expand All @@ -24,6 +26,7 @@
* @see Schema#dependentRequired()
* @since 4.0
*/
@Target({})
public @interface DependentRequired {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
package org.eclipse.microprofile.openapi.annotations.media;

import java.lang.annotation.Target;

/**
* A property name and an associated schema.
* <p>
Expand All @@ -24,6 +26,7 @@
* @see Schema#dependentSchemas()
* @since 4.0
*/
@Target({})
public @interface DependentSchema {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.eclipse.microprofile.openapi.annotations.ExternalDocumentation;
import org.eclipse.microprofile.openapi.annotations.enums.SchemaType;
Expand All @@ -37,6 +38,7 @@
*
* @since 2.0
**/
@Target({})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SchemaProperty {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
* </pre>
*/

@org.osgi.annotation.versioning.Version("1.3")
@org.osgi.annotation.versioning.Version("1.3.1")
@org.osgi.annotation.versioning.ProviderType
package org.eclipse.microprofile.openapi.annotations.media;

0 comments on commit 1bd1646

Please sign in to comment.