Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicolassylverio/swagger-apigateway-configuration

Application with examples of automatic configuration of Api Gateway, from the swagger generated by the api.
https://github.com/nicolassylverio/swagger-apigateway-configuration

api-gateway api-rest apigateway apigee apimanagement aws-gateway-api azure-api-management csharp dotnet-core swagger swagger-api wso2-api-manager

Last synced: 15 days ago
JSON representation

Application with examples of automatic configuration of Api Gateway, from the swagger generated by the api.

Awesome Lists containing this project

README

        

# Swagger-ApiGateway-Configuration

### Application with examples of automatic configuration of *Api Gateway*, from the *swagger* generated by the api.

## About

project used as an example for presentation at the **Dextra** *.NET guild*.

## Introduction

Presentation on *API Gateways* and how to perform automated deploys from the *swagger* file generated by the *.NET Core* application.

## Vendors Configuration

The idea of the presentation is to show tags and properties that some suppliers ask to perform the automatic deployment and configuration of the Gateway.

## Examples:

- **AWS**

```
"x-amazon-apigateway-integration": {
"responses": {
"default": {
"statusCode": "200",
"responseParameters": {
"method.response.header.Content-Type": "'text/html'"
},
"responseTemplates": {
"text/html": "Text"
}
}
},
"passthroughBehavior": "when_no_match",
"requestTemplates": {
"application/json": "{\"statusCode\": 200}"
},
"type": "mock"
}
```

- **WSO2**

```
"securitySchemes": {
"default": {
"type": "oauth2",
"flows": {
"implicit": {
"authorizationUrl": "https://test.com/",
"scopes": {}
}
}
}
}
```

- **Apigee** (Not applicable)
- **Azure** (Not applicable)

### References:

[swagger.io](https://swagger.io/specification/#oas-document)

[Open Api Spec](http://spec.openapis.org/oas/v3.0.3)

[RedHat Docs](https://www.redhat.com/en/topics/api)