Skip to content

Instantly share code, notes, and snippets.

@giteshk
Last active November 8, 2022 22:00
Show Gist options
  • Save giteshk/5f3d5c16bb626b9b3b0bd8fec8b043b9 to your computer and use it in GitHub Desktop.
Save giteshk/5f3d5c16bb626b9b3b0bd8fec8b043b9 to your computer and use it in GitHub Desktop.
apiVersion: apigeeregistry/v1
kind: API
metadata:
name: asyncapi-sample
labels:
apihub-lifecycle: concept
apihub-style: apihub-asyncapi
annotations:
apihub-primary-contact: asyncapi-team@example.com
apihub-primary-contact-description: Async API Team
data:
displayName: Async API Example
versions:
- metadata:
name: v1
annotations:
apihub-end-of-life-type: apihub-unknown
data:
displayName: v1
state: concept
specs:
- metadata:
name: streetlights-mqttyml
data:
filename: streetlights-mqtt.yml
mimeType: application/x.asyncapi
sourceURI: https://raw.githubusercontent.com/asyncapi/spec/65d58696f8c3ab6471aa48b12d878221b8d8109e/examples/streetlights-mqtt.yml
artifacts:
- kind: ReferenceList
metadata:
name: apihub-dependencies
data:
displayName: ""
description: Defines a list of dependencies
references: []
- kind: ReferenceList
metadata:
name: apihub-related
data:
displayName: ""
description: Defines a list of related resources
references: []
apiVersion: apigeeregistry/v1
kind: API
metadata:
name: graphql-sample
labels:
apihub-lifecycle: production
apihub-style: apihub-graphql
annotations:
apihub-primary-contact: graphql-team@example.com
apihub-primary-contact-description: GraphQL Team
data:
displayName: GraphQL Example
versions:
- metadata:
name: v1
annotations:
apihub-end-of-life-type: apihub-unknown
data:
displayName: v1
state: production
specs:
- metadata:
name: schemagraphql
data:
filename: schema.graphql
mimeType: application/x.graphql
sourceURI: https://raw.githubusercontent.com/SpaceXLand/api/master/schema.graphql
artifacts:
- kind: ReferenceList
metadata:
name: apihub-dependencies
data:
displayName: ""
description: Defines a list of dependencies
references: []
- kind: ReferenceList
metadata:
name: apihub-related
data:
displayName: ""
description: Defines a list of related resources
references: []
apiVersion: apigeeregistry/v1
kind: API
metadata:
name: grpc-sample
labels:
apihub-lifecycle: concept
apihub-style: apihub-grpc
annotations:
apihub-primary-contact: grpc-team@example.com
apihub-primary-contact-description: gRPC API Team
data:
displayName: gRPC API Example
versions:
- metadata:
name: v1
annotations:
apihub-end-of-life-type: apihub-unknown
data:
displayName: v1
state: concept
specs:
- metadata:
name: provisioning-serviceproto
data:
filename: provisioning_service.proto
mimeType: application/x.protobuf
sourceURI: https://raw.githubusercontent.com/apigee/registry/main/google/cloud/apigeeregistry/v1/provisioning_service.proto
artifacts:
- kind: ReferenceList
metadata:
name: apihub-dependencies
data:
displayName: ""
description: Defines a list of dependencies
references: []
- kind: ReferenceList
metadata:
name: apihub-related
data:
displayName: ""
description: Defines a list of related resources
references: []
apiVersion: apigeeregistry/v1
kind: API
metadata:
name: openapi-sample
labels:
apihub-lifecycle: concept
apihub-style: apihub-openapi
apihub-target-users: public
annotations:
apihub-primary-contact: openapi-team@example.com
apihub-primary-contact-description: OpenAPI Team
data:
displayName: OpenAPI Example
description: Sample OpenAPI specificataion
versions:
- metadata:
name: v1
annotations:
apihub-end-of-life-type: apihub-unknown
data:
displayName: v1
state: concept
specs:
- metadata:
name: petstore.json
annotations:
apihub-comment: Initial version
data:
filename: petstore.json
mimeType: application/x.openapi+gzip
sourceURI: https://petstore.swagger.io/v2/swagger.json
artifacts:
- kind: ReferenceList
metadata:
name: apihub-dependencies
data:
displayName: ""
description: Defines a list of dependencies
references: []
- kind: ReferenceList
metadata:
name: apihub-related
data:
displayName: ""
description: Defines a list of related resources
references: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment