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

Alias of string should be allowed in path parameters #61

Closed
iamdanfox opened this issue Aug 3, 2018 · 1 comment
Closed

Alias of string should be allowed in path parameters #61

iamdanfox opened this issue Aug 3, 2018 · 1 comment
Labels

Comments

@iamdanfox
Copy link
Contributor

Currently, it seems that conjure disallows aliases of strings as path parameters: Path parameters must be primitives or aliases: "foo" is not allowed

type:
  definitions:
    default-package: package.example
    objects:
      StringAlias:
        alias: string
services:
  ExampleService:
  ...
  endpoints:
    endpoint:
      http: POST /{foo}
      args:
        foo: StringAlias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants