Klasse GetApiOperationSpec
java.lang.Object
io.github.primelib.webmethodsapigateway4j.operations.GetApiOperationSpec
GetApi
Retrieve an API based on the API id.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NonNull StringapiId()API Id for the API to be retrievedAPI Id for the API to be retrievedprotected booleanboolean@Nullable Stringformat()Output format of the API.Output format of the API.inthashCode()toString()@Nullable Stringurl()User selected endpoint for API definition in swagger/raml format.User selected endpoint for API definition in swagger/raml format.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetApiOperationSpec
Constructs a validated instance ofGetApiOperationSpec.- Parameter:
spec- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
apiId
API Id for the API to be retrieved -
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
User selected endpoint for API definition in swagger/raml format. -
apiId
API Id for the API to be retrieved- Gibt zurück:
this.
-
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
User selected endpoint for API definition in swagger/raml format.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-