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
For example, for this code:
(uiop:define-package #:foo (:use #:cl)) (in-package #:foo) (openrpc-server:define-api (test)) (openrpc-server:define-rpc-method (test foo) () (:result list) (list "foo" "bar"))
this spec is generated:
FOO> (openrpc-server/discovery:generate-spec test) (SERAPEUM:DICT "methods" '((SERAPEUM:DICT "name" "foo" "params" #() "result" (SERAPEUM:DICT "name" "foo_result" "schema" (SERAPEUM:DICT "type" "object" "properties" (SERAPEUM:DICT ) "required" #() "x-cl-class" "LIST" "x-cl-package" "COMMON-LISP" ) ) "paramStructure" "by-name" ) ) "openrpc" "1.0.0" "info" (SERAPEUM:DICT "title" "Default API" "version" "0.1.0" ) "servers" '((SERAPEUM:DICT "name" "default" "url" "http://localhost:5000/" ) ) )
but result should have schema with type = array.
type = array
Note, I've created this PR which adds generate-spec function used in the example: #17
generate-spec
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For example, for this code:
this spec is generated:
but result should have schema with
type = array
.Note, I've created this PR which adds
generate-spec
function used in the example: #17The text was updated successfully, but these errors were encountered: