param( [Parameter(Mandatory=$true)] [string]$YamlFilePath,
[Parameter(Mandatory=$true)]
[string]$OutputMarkdownPath
)
openapi: 3.0.3 | |
info: | |
title: Microsoft Azure Application Onboarding Factory - OpenAPI 3.0 | |
description: |- | |
Microsoft Azure Application Onboarding Factory Platfomr API | |
termsOfService: http://swagger.io/terms/ | |
contact: | |
email: reza@inuit.io | |
version: 0.1.0 | |
externalDocs: |
# This is a sample Python script. | |
import json | |
import re | |
message = { | |
"items": [ | |
{ | |
"clientId": "<string>", | |
"grantTypes": [ | |
"REFRESH_TOKEN", |
The make genreate
is failing for go get github.com/crossplane/upjet/pkg/config
01:55:17 [ .. ] go generate linux_amd64
../config/branch/config.go:3:8: no required module provides package github.com/crossplane/upjet/pkg/config; to add it:
go get github.com/crossplane/upjet/pkg/config
apis/generate.go:25: running "go": exit status 1
generate: open /home/reza/provider-github/apis/v1alpha1/zz_generated.deepcopy.go: no such file or directory
Question: https://www.googlecloudcommunity.com/gc/Apigee/Restrict-access-to-apis-by-product-and-HTTP-method/td-p/16831 Ans: Adding custom attributes in json format to an API Product and using shared flow to validate the http methods.
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: static-nginx | |
spec: | |
containers: | |
- name: web | |
image: nginx | |
ports: | |
- name: web |
# Shortcut commands | |
alias k=kubectl | |
alias kgn='kubectl get ns' | |
alias kgp='kubectl get pods' | |
alias kgs='kubectl get service' | |
alias kgd='kubectl get deployment' | |
alias kep='kubectl edit pod' | |
alias ked='kubectl edit deployment' |
#![cfg_attr(not(feature = "std"), no_std)] | |
use frame_support::{decl_module, decl_storage, decl_event, decl_error, dispatch, traits::Get, traits::Randomness, debug}; | |
use frame_system::ensure_signed; | |
use codec::{Encode, Decode}; | |
use sp_core::H256; | |
use sp_std::vec::Vec; |
reza@ubu1901:~$ curl -O https://capnproto.org/capnproto-c++-0.7.0.tar.gz | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 | |
100 1443k 100 1443k 0 0 107k 0 0:00:13 0:00:13 --:--:-- 240kt | |
reza@ubu1901:~$ tar zxf capnproto-c++-0.7.0.tar.gz | |
reza@ubu1901:~$ cd capnproto-c++-0.7.0 |