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

Add output format for recap schema and /schema calls #399

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

criccomini
Copy link
Contributor

The CLI and gateway both support output format options. By default, the output format is still Recap, but users mauy also specify Avro, Protobuf, or JSON schema.

In the CLI, an --output-format or -of option was added.

In the gateway, the Content-Type header may be set to:

  • application/avro+json
  • application/schema+json
  • application/x-protobuf
  • application/x-recap

@criccomini criccomini force-pushed the add-format-option branch 3 times, most recently from 10f1aa9 to 74446ed Compare September 18, 2023 22:30
The CLI and gateway both support output format options. By default, the output
format is still Recap, but users mauy also specify Avro, Protobuf, or JSON
schema.

In the CLI, an `--output-format` or `-of` option was added.

In the gateway, the `Content-Type` header may be set to:

- `application/avro+json`
- `application/schema+json`
- `application/x-protobuf`
- `application/x-recap`
@criccomini criccomini merged commit af99557 into main Sep 19, 2023
3 checks passed
@criccomini criccomini deleted the add-format-option branch September 19, 2023 16:04
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

Successfully merging this pull request may close these issues.

1 participant