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

What is the Validation URL? #85

Open
humblevladimirthegreat opened this issue Jun 6, 2017 · 1 comment
Open

What is the Validation URL? #85

humblevladimirthegreat opened this issue Jun 6, 2017 · 1 comment

Comments

@humblevladimirthegreat
Copy link

Hello,
When attempting to use api-first-hand (with Lightbend activator), I run into the following error when compiling using my swagger api (OpenAPI 2.0) yaml file:

java.lang.IllegalStateException: Validation URL is required for play security code generator

Full stack trace available here: https://pastebin.com/iUiLBcsA
I can't find any mention of a validation url in the OpenAPI spec. Can someone please explain what this is, and how to specify it? Thanks

@humblevladimirthegreat
Copy link
Author

Figured it out by looking at the example.yaml file. I needed to add the special vendor extension field x-token-validation-url to my security definition. I'm not sure if it mattered, but I also added x-api-first-error-mapping to my top level definitions. Some official documentation describing this would have been appreciated.

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