Skip to content

Instantly share code, notes, and snippets.

View ilozano2's full-sized avatar

Ignacio Lozano ilozano2

View GitHub Profile
@ilozano2
ilozano2 / partial.yaml
Created July 24, 2023 16:26
Health check configurations per Service
spring:
cloud:
clients:
hello-service:
health-check:
port: 9090
path: xxx
interval:
hint: {}
discovery:
@ilozano2
ilozano2 / one-endpoint-openapi.json
Last active September 8, 2023 10:34
one-endpoint-openapi.json
{
"openapi": "3.0.2",
"info": {
"title": "Swagger Petstore - OpenAPI 3.0",
"description": "This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"email": "[email protected]"
},
"license": {
[
{
"openapi": "3.0.1",
"info": {
"title": "Animal Rescue (multiple auths)",
"description": "Sample application for Spring Cloud Gateway commercial product demos.",
"version": "1.0.0-K8s-hack"
},
"externalDocs": {
"url": "https://github.com/spring-cloud-services-samples/animal-rescue/"
[
{
"openapi": "3.0.1",
"info": {
"title": "Animal Rescue AUX 3",
"description": "Sample application for Spring Cloud Gateway commercial product demos.",
"version": "1.0.0-K8s"
},
"externalDocs": {
"url": "https://github.com/spring-cloud-services-samples/animal-rescue/"
[
{
"openapi": "3.0.1",
"info": {
"title": "Animal Rescue v4",
"description": "Sample application for Spring Cloud Gateway commercial product demos.",
"version": "1.0.0-K8s"
},
"servers": [
{
@ilozano2
ilozano2 / flexbox.less
Last active August 29, 2015 14:18 — forked from jayj/flexbox.less
// --------------------------------------------------
// Flexbox LESS mixins
// The spec: http://www.w3.org/TR/css3-flexbox
// --------------------------------------------------
// Flexbox display
// flex or inline-flex
.flex-display(@display: flex) {
display: ~"-webkit-@{display}";
display: ~"-moz-@{display}";