Skip to content

Commit

Permalink
improve javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Davenport committed Jun 7, 2024
1 parent a110f11 commit 852fa23
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package org.brapi.schematools.core.brapischema;

/**
* Exception thrown during the reading of BrAPI JSON Schema
*/
public class BrAPISchemaReaderException extends Exception {
public BrAPISchemaReaderException(Exception e) {
super(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
import lombok.Getter;
import lombok.Setter;

/**
* Provides metadata for the GraphQL generation
*/
@Getter
@Setter
public class GraphQLGeneratorMetadata {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,6 @@ public boolean isGeneratingMutationType() {
public boolean isUsingIDType() {
return ids != null && ids.isUsingIDType();
}

public static class GraphQLGeneratorOptionsBuilder{}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

import java.util.List;

/**
* Represents a type that takes all of properties from the wrapped types
*/
@Builder(toBuilder = true)
@Value
public class BrAPIAllOfType implements BrAPIClass {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,6 @@ public String getPluralFor(String name) {
public String getSingularForProperty(String name) {
return toSingular(name) ;
}

public static class OpenAPIGeneratorOptionsBuilder {}
}

0 comments on commit 852fa23

Please sign in to comment.