|Did you know ...||Search Documentation:|
|Pack openapi -- prolog/openapi.pl|
This library implements generating server and client code from an OpenAPI specification. The generated code generates or extracts parameters from the path, request or request body and type-checks parameters as well as responses.
server.plspec.yaml` to create a file that uses this directive and generates documentation for the server operations as well as a skeleton predicate.
client.plspec.yaml` to create a file that uses this directive and contains documentation for the generated predicates.
object(Properties)Properties is an ordered list of
p(Name, Type, Required)
url(URL)Reference to another type.
This predicate is used by the
swipl-openapi script to generate the
commented client or server code.