Klasse GetApiOperationSpec

java.lang.Object
io.github.primelib.webmethodsapigateway4j.operations.GetApiOperationSpec

@Generated("io.github.primelib.primecodegen") public class GetApiOperationSpec extends Object
GetApi

Retrieve an API based on the API id.

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • apiId

      public @NonNull String apiId()
      API Id for the API to be retrieved
    • format

      public @Nullable String format()
      Output format of the API. If the value is 'swagger', you get a API definition in swagger format. If the value is 'raml', you get a raml document. If the value is 'openapi', you get a open API document. If the value is 'odata', you get a zip file holding the OData metadata and service document.
    • url

      public @Nullable String url()
      User selected endpoint for API definition in swagger/raml format.
    • apiId

      public GetApiOperationSpec apiId(@NonNull String apiId)
      API Id for the API to be retrieved
      Gibt zurück:
      this.
    • format

      public GetApiOperationSpec format(@Nullable String format)
      Output format of the API. If the value is 'swagger', you get a API definition in swagger format. If the value is 'raml', you get a raml document. If the value is 'openapi', you get a open API document. If the value is 'odata', you get a zip file holding the OData metadata and service document.
      Gibt zurück:
      this.
    • url

      public GetApiOperationSpec url(@Nullable String url)
      User selected endpoint for API definition in swagger/raml format.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object