Skip to content

Commit

Permalink
Dev v2.6 community (#28)
Browse files Browse the repository at this point in the history
* Prepare v2.6 release

* Add new JWT validator options
PRs: krakend/krakend-jose#129 and krakend/krakend-jose#128

* OpenTelemetry

* OpenTelemetry

* OpenTelemetry

* Correct usage of example_schema in OpenAPI

* Add report_headers to OTEL

* Add new properties of OpenAPI

* Add new properties of OpenAPI

* Default values for skip_pahts in OTEL

* Pre-release schema v2.6
  • Loading branch information
alombarte authored Mar 11, 2024
1 parent 4d7d3d2 commit f07f744
Show file tree
Hide file tree
Showing 121 changed files with 9,785 additions and 44 deletions.
2 changes: 1 addition & 1 deletion krakend.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"$id": "https://www.krakend.io/schema/krakend.json",
"title": "Schema validation for the latest version of KrakenD. Consider sticking to the specific version you are using.",
"$ref": "v2.5/krakend.json"
}
}
2 changes: 1 addition & 1 deletion v2.1/auth/signer.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.1/auth/validator.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.1/backend.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.1/backend.json",
"title": "Backends",
"title": "Backend Object",
"description": "A backend object is an array of all the services that an endpoint connects to. It defines the list of hostnames that connects to and the URL to send or receive the data.",
"type": "object",
"required": [
Expand Down
2 changes: 1 addition & 1 deletion v2.1/backend/graphql.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.1/backend/graphql.json",
"title": "REST to GraphQL",
"title": "GraphQL",
"type": "object",
"additionalProperties": false,
"patternProperties": {
Expand Down
2 changes: 1 addition & 1 deletion v2.1/backend/pubsub/publisher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.1/backend/pubsub/subscriber.json",
"title": "Pubsub subscriber",
"title": "Pubsub publisher",
"description": "Publishes to a topic using the desired driver.\n\nSee: https://www.krakend.io/docs/backends/pubsub/",
"type": "object",
"additionalProperties": false,
Expand Down
2 changes: 1 addition & 1 deletion v2.1/endpoint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.1/endpoint.json",
"title": "Schema definition for KrakenD endpoints",
"title": "Endpoint Object",
"type": "object",
"required": [
"endpoint",
Expand Down
2 changes: 1 addition & 1 deletion v2.1/service_extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"uniqueItems": true,
"items": {
"$id": "#service_extra_config/security/cors/allow_methods/items",
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io",
"type": "string",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.1/validation/cel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"minItems": 1,
"items":{
"$id": "#root/validation/cel/items",
"title": "Items",
"title": "Object in array",
"type": "object",
"required": [
"check_expr"
Expand Down
2 changes: 1 addition & 1 deletion v2.2/auth/signer.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.2/auth/validator.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.2/backend.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.2/backend.json",
"title": "Backends",
"title": "Backend Object",
"description": "A backend object is an array of all the services that an endpoint connects to. It defines the list of hostnames that connects to and the URL to send or receive the data.",
"type": "object",
"required": [
Expand Down
2 changes: 1 addition & 1 deletion v2.2/backend/graphql.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.2/backend/graphql.json",
"title": "REST to GraphQL",
"title": "GraphQL",
"type": "object",
"additionalProperties": false,
"patternProperties": {
Expand Down
2 changes: 1 addition & 1 deletion v2.2/backend/pubsub/publisher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.2/backend/pubsub/subscriber.json",
"title": "Pubsub subscriber",
"title": "Pubsub publisher",
"description": "Publishes to a topic using the desired driver.\n\nSee: https://www.krakend.io/docs/backends/pubsub/",
"type": "object",
"additionalProperties": false,
Expand Down
2 changes: 1 addition & 1 deletion v2.2/endpoint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.2/endpoint.json",
"title": "Schema definition for KrakenD endpoints",
"title": "Endpoint Object",
"type": "object",
"required": [
"endpoint",
Expand Down
2 changes: 1 addition & 1 deletion v2.2/service_extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"uniqueItems": true,
"items": {
"$id": "#service_extra_config/security/cors/allow_methods/items",
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io",
"type": "string",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.2/validation/cel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"minItems": 1,
"items":{
"$id": "#root/validation/cel/items",
"title": "Items",
"title": "Object in array",
"type": "object",
"required": [
"check_expr"
Expand Down
2 changes: 1 addition & 1 deletion v2.3/auth/jose.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.3/auth/jose.json",
"title": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
"description": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
"type": "object",
"required": [
"shared_cache_duration"
Expand Down
2 changes: 1 addition & 1 deletion v2.3/auth/signer.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.3/auth/validator.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.3/backend.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.3/backend.json",
"title": "Backends",
"title": "Backend Object",
"description": "A backend object is an array of all the services that an endpoint connects to. It defines the list of hostnames that connects to and the URL to send or receive the data.",
"type": "object",
"required": [
Expand Down
2 changes: 1 addition & 1 deletion v2.3/backend/graphql.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.3/backend/graphql.json",
"title": "REST to GraphQL",
"title": "GraphQL",
"type": "object",
"additionalProperties": false,
"patternProperties": {
Expand Down
2 changes: 1 addition & 1 deletion v2.3/backend/pubsub/publisher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.3/backend/pubsub/subscriber.json",
"title": "Pubsub subscriber",
"title": "Pubsub publisher",
"description": "Publishes to a topic using the desired driver.\n\nSee: https://www.krakend.io/docs/backends/pubsub/",
"type": "object",
"additionalProperties": false,
Expand Down
2 changes: 1 addition & 1 deletion v2.3/endpoint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.3/endpoint.json",
"title": "Schema definition for KrakenD endpoints",
"title": "Endpoint Object",
"type": "object",
"required": [
"endpoint",
Expand Down
2 changes: 1 addition & 1 deletion v2.3/service_extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"uniqueItems": true,
"items": {
"$id": "#service_extra_config/security/cors/allow_methods/items",
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io",
"type": "string",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.3/validation/cel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"minItems": 1,
"items":{
"$id": "#root/validation/cel/items",
"title": "Items",
"title": "Object in array",
"type": "object",
"required": [
"check_expr"
Expand Down
2 changes: 1 addition & 1 deletion v2.4/auth/jose.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.4/auth/jose.json",
"title": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
"description": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
"type": "object",
"required": [
"shared_cache_duration"
Expand Down
2 changes: 1 addition & 1 deletion v2.4/auth/signer.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.4/auth/validator.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.4/backend.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.4/backend.json",
"title": "Backends",
"title": "Backend Object",
"description": "A backend object is an array of all the services that an endpoint connects to. It defines the list of hostnames that connects to and the URL to send or receive the data.",
"type": "object",
"required": [
Expand Down
2 changes: 1 addition & 1 deletion v2.4/backend/graphql.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.4/backend/graphql.json",
"title": "REST to GraphQL",
"title": "GraphQL",
"type": "object",
"additionalProperties": false,
"patternProperties": {
Expand Down
2 changes: 1 addition & 1 deletion v2.4/backend/pubsub/publisher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.4/backend/pubsub/subscriber.json",
"title": "Pubsub subscriber",
"title": "Pubsub publisher",
"description": "Publishes to a topic using the desired driver.\n\nSee: https://www.krakend.io/docs/backends/pubsub/",
"type": "object",
"additionalProperties": false,
Expand Down
2 changes: 1 addition & 1 deletion v2.4/endpoint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.4/endpoint.json",
"title": "Schema definition for KrakenD endpoints",
"title": "Endpoint Object",
"type": "object",
"required": [
"endpoint",
Expand Down
2 changes: 1 addition & 1 deletion v2.4/service_extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"uniqueItems": true,
"items": {
"$id": "#service_extra_config/security/cors/allow_methods/items",
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io",
"type": "string",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.4/validation/cel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"minItems": 1,
"items":{
"$id": "#root/validation/cel/items",
"title": "Items",
"title": "Object in array",
"type": "object",
"required": [
"check_expr"
Expand Down
2 changes: 1 addition & 1 deletion v2.5/auth/jose.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.5/auth/jose.json",
"title": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
"description": "Enables global configurations for the HTTP client responsible of downloading and caching the JWK URLs for token validation and signing.",
"type": "object",
"required": [
"shared_cache_duration"
Expand Down
2 changes: 1 addition & 1 deletion v2.5/auth/signer.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.5/auth/validator.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
52393
],
"items": {
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io/docs/authorization/jwt-validation/",
"type": "integer",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.5/backend.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.5/backend.json",
"title": "Backends",
"title": "Backend Object",
"description": "A backend object is an array of all the services that an endpoint connects to. It defines the list of hostnames that connects to and the URL to send or receive the data.",
"type": "object",
"required": [
Expand Down
2 changes: 1 addition & 1 deletion v2.5/backend/graphql.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.5/backend/graphql.json",
"title": "REST to GraphQL",
"title": "GraphQL",
"type": "object",
"additionalProperties": false,
"patternProperties": {
Expand Down
2 changes: 1 addition & 1 deletion v2.5/backend/pubsub/publisher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.5/backend/pubsub/subscriber.json",
"title": "Pubsub subscriber",
"title": "Pubsub publisher",
"description": "Publishes to a topic using the desired driver.\n\nSee: https://www.krakend.io/docs/backends/pubsub/",
"type": "object",
"additionalProperties": false,
Expand Down
2 changes: 1 addition & 1 deletion v2.5/endpoint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.krakend.io/schema/v2.5/endpoint.json",
"title": "Schema definition for KrakenD endpoints",
"title": "Endpoint Object",
"type": "object",
"required": [
"endpoint",
Expand Down
2 changes: 1 addition & 1 deletion v2.5/service_extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"uniqueItems": true,
"items": {
"$id": "#service_extra_config/security/cors/allow_methods/items",
"title": "Items",
"title": "Object in array",
"description": "\n\nSee: https://www.krakend.io",
"type": "string",
"enum": [
Expand Down
2 changes: 1 addition & 1 deletion v2.5/validation/cel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"minItems": 1,
"items":{
"$id": "#root/validation/cel/items",
"title": "Items",
"title": "Object in array",
"type": "object",
"required": [
"check_expr"
Expand Down
Loading

0 comments on commit f07f744

Please sign in to comment.