Replies: 2 comments
|
I've issued a pull-request with the proposed changes to the swagger spec: https://github.com/PowerDNS/pdns/pull/15816/files |
0 replies
|
Looks like there is no proper OpenAPI-specification for recursor API #15816 (comment) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to call PowerDNS REST API via a client produced by OpenApi-generator to create a private zone. I generate a client using the swagger spec at
https://github.com/PowerDNS/pdns/blob/master/docs/http-api/swagger/authoritative-api-swagger.yaml#L1164-L1171
Enumeration
kindlacksforwardedvalue, though, whereas the documentation states this value as valid: https://doc.powerdns.com/recursor/http-api/index.htmlAs far as I can tell, "Forwarded" is hardcoded in the controller handler (code).
BTW,
recursion_desiredis never mentioned in the swagger spec.Please give a hint if the swagger spec is out of sync with the actual code.
All reactions