We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to connect my plumber api to ChatGPT/OpenAI Action, but it show error "method put is missing operationId; skipping"
this is my openapi json link https://api.socialx.id/openapi.json.
how to solve it?
Several previous issues have asked this. #856 but it still doesn't seem to work
The text was updated successfully, but these errors were encountered:
You can edit the spec to match your requirement https://www.rplumber.io/reference/pr_set_api_spec.html.
Sorry, something went wrong.
ahh i see just in case someone have same problem like me. here some reference.
pr() %>% pr_set_api_spec(function(spec) { spec$info$title <- "Nama API" spec$info$description <- "Deskripsi API" spec$info$termsOfService <- "https://contoh.com/tos" # Set response schema for /hello spec$paths$`/hello`$get$responses$`200`$content$`application/json`$schema <- list(type = "string") # Set response schema for /add spec$paths$`/add`$post$responses$`200`$content$`application/json`$schema <- list(type = "number") spec$paths$`/hello`$get$operationId <- "hello_world" spec$paths$`/add`$post$operationId <- "add_numbers" spec }) %>% pr_get("/hello", function(req) { "Hello World!" }) %>% pr_post("/add", function(req) { as.numeric(req$POST$body$a) + as.numeric(req$POST$body$b) }) %>% pr_run(port = 8000)
Add operationId to generated spec: https://spec.openapis.org/oas/latest.html#fixed-fields-7
@meztez I would like to work on this
No branches or pull requests
I try to connect my plumber api to ChatGPT/OpenAI Action, but it show error "method put is missing operationId; skipping"
this is my openapi json link https://api.socialx.id/openapi.json.
how to solve it?
Several previous issues have asked this. #856 but it still doesn't seem to work
The text was updated successfully, but these errors were encountered: