Skip to content
New issue

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

Could not resolve pointer: /definitions/string does not exist in document #105

Open
jaronnie opened this issue Jun 19, 2024 · 1 comment

Comments

@jaronnie
Copy link
Contributor

api file

syntax = "v1"

type PingRequest {
	ip   string `json:"ip"` // ip/域名
}

type TracerouteRequest {
	ip string `json:"ip"` // ip/域名
}

@server (
	prefix: /api/v1
	group:  system/tools
)
service ntls {
	@handler PingHandler
	post /system/tools/ping (PingRequest) returns (string)

	@handler TracerouteHandler
	post /system/tools/traceroute (TracerouteRequest) returns (string)
}
image
@jaronnie
Copy link
Contributor Author

image 这里只支持了 api 的 type, 并未支持 primitiveSchema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant