conjure
conjure copied to clipboard
Strongly typed HTTP/JSON APIs for browsers and microservices
The CLI properly generates an IR for the following input YAML: ```yaml types: definitions: default-package: api objects: Example: fields: data: string ``` However, when the object type name is changed...
We have several projects extensively using 64-bit integers which cannot be migrated to integer53 (`safelong`).
[render](https://github.com/palantir/conjure/blob/rfc/007-integer64/docs/rfc/007-integer64-type.md)
## What happened? Doubles in conjure-java failed for some numbers that should've been supported: https://github.com/palantir/conjure-java/pull/1006. While discussing the fix we realized we haven't defined how we expect conjure to handle...
## Motivation There are times when I want to migrate an endpoint from a POST method to a PUT method. Primarily this is brought on by placing my service behind...
## Motivation I'd like to be able to define a Conjure error whose HTTP status code maps to a 401. ## Proposal Add a `NOT_AUTHORIZED` value to https://github.com/palantir/conjure/blob/fc68a07b5780858521d2b50382c1a3c4b0b61bad/conjure-api/src/main/conjure/conjure-api.yml#L31.
## What happened? Using a collection as a query param results in "Collections as query parameters are deprecated and will be removed in a future release", and using a collection...
## What happened? I created a valid conjure definition that introduced a cycle of package dependencies: ```yaml types: definitions: objects: Type1: package: com.palantir.odd fields: type2: Type2 Type2: package: com.palantir.even fields:...
## What happened? I tried: ``` types: imports: Response: base-type: binary external: java: javax.ws.rs.core.Response ``` It failed with: ``` Caused by: java.lang.IllegalArgumentException: TypeNames must be a primitive type [any, string,...
The Conjure IR compiler attempts to compile any file in a given directory when a directory is specified as an input. This includes non-Conjure sourcefiles, like swapfiles left behind by...