Skip to content

Commit

Permalink
fix: correct validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous committed Mar 28, 2024
1 parent 43979cb commit 55057c0
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 28 deletions.
12 changes: 6 additions & 6 deletions petstore/arch-Petstore.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pet Store Architecture Diagram
# Petstore Architecture Diagram

## Without Zilla

Expand All @@ -10,16 +10,16 @@ flowchart LR
ui[\Web/] -.- |HTTP| psws
subgraph app2 [Pet Store Event source/sink]
subgraph app2 [Petstore Event source/sink]
krp{{Kafka REST Proxy}} --- krpp[produce] & krpc[consume]
end
subgraph app1 [Pet Store Backend]
subgraph app1 [Petstore Backend]
psws{{OpenAPI Web Server}} --- | basic auth | krp
end
subgraph cc [Confluent Cloud]
ccps[[Pet Store Kafka Cluster]]
ccps[[Petstore Kafka Cluster]]
krpp -.- ccps
krpc -.- ccps
end
Expand All @@ -34,12 +34,12 @@ flowchart LR
ui[\Web/] -.- |HTTP| zpsos
subgraph app1 [Zilla Pet Store]
subgraph app1 [Zilla Petstore]
zpsos{{OpenAPI REST}} --- zpp[produce] & zpc[consume]
end
subgraph cc [Confluent Cloud]
ccps[[Pet Store Kafka Cluster]]
ccps[[Petstore Kafka Cluster]]
zpp -.- ccps
zpc -.- ccps
end
Expand Down
2 changes: 1 addition & 1 deletion petstore/demo-resources/petstore-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.2
info:
title: Aklvity Zilla Petstore - OpenAPI 3.0
description: This is a sample Pet Store Server based on the OpenAPI 3.0 specification.
description: This is a sample Petstore Server based on the OpenAPI 3.0 specification.
version: 1.0.18
externalDocs:
description: Instructions to generate bearer token
Expand Down
2 changes: 1 addition & 1 deletion petstore/live-demo-deploy/petstore-openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.2
info:
title: Aklvity Zilla Petstore - OpenAPI 3.0
description: This is a sample Pet Store Server based on the OpenAPI 3.0 specification.
description: This is a sample Petstore Server based on the OpenAPI 3.0 specification.
version: 1.0.18
externalDocs:
description: Find out more about Swagger
Expand Down
6 changes: 3 additions & 3 deletions petstore/petstore-kafka-asyncapi-v2.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
asyncapi: 3.0.0
info:
title: Pet store Kafka API
title: Petstore Kafka API
version: 2.0.0
description: >
This Pet store specification illustrates how Zilla can proxy synchronous and asynchronous
This Petstore specification illustrates how Zilla can proxy synchronous and asynchronous
REST APIs using AsyncAPI to document and generate them.
license:
name: Aklivity Community License
Expand All @@ -12,7 +12,7 @@ info:
name: Aklivity Community
url: https://www.aklivity.io/slack
externalDocs:
description: Find out more about Zilla
description: Zilla Documentation
url: https://docs.aklivity.io/
tags:
- name: pet
Expand Down
12 changes: 3 additions & 9 deletions petstore/petstore-openapi-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ info:
name: Aklivity Community
url: https://www.aklivity.io/slack
externalDocs:
description: Find out more about Zilla
description: Zilla Documentation
url: https://docs.aklivity.io/
servers:
- url: https://prod.url:7143
Expand All @@ -26,8 +26,8 @@ tags:
description: Everything about your Pets
- name: store
description: Access to Petstore orders
- name: user
description: Operations about user
- name: customer
description: Operations for a customer
paths:
/pet:
put:
Expand Down Expand Up @@ -272,12 +272,6 @@ paths:
type: string
pattern: '^wait=\d+$'
required: true
requestBody:
description: Created customer object
content:
application/json:
schema:
$ref: "#/components/schemas/Customer"
responses:
default:
description: successful operation
Expand Down
2 changes: 1 addition & 1 deletion petstore/petstore-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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.
This is a sample Petstore Server based on the OpenAPI 3.0 specification.
version: 1.0.18
externalDocs:
description: Find out more about Swagger
Expand Down
2 changes: 1 addition & 1 deletion taxi/.assets/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ OpenAPI spec:

## End User API Migration Video | rough draft

- Start with Pet store OpenAPI spec only includes basic pet crud
- Start with Petstore OpenAPI spec only includes basic pet crud
- All specs are stored in a registry with appropriate versions for models and specs
- Describe use case to expand api spec scope to include managing Stores and Owners
- Modify both OpenAPI and AsyncAPI specs accordingly in some kind of UI or 3rd party tool
Expand Down
12 changes: 6 additions & 6 deletions taxi/demo-resources/arch-Petstore.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pet Store Architecture Diagram
# Petstore Architecture Diagram

## Without Zilla

Expand All @@ -10,16 +10,16 @@ flowchart LR
ui[\Web/] -.- |HTTP| psws
subgraph app2 [Pet Store Event source/sink]
subgraph app2 [Petstore Event source/sink]
krp{{Kafka REST Proxy}} --- krpp[produce] & krpc[consume]
end
subgraph app1 [Pet Store Backend]
subgraph app1 [Petstore Backend]
psws{{OpenAPI Web Server}} --- | basic auth | krp
end
subgraph cc [Confluent Cloud]
ccps[[Pet Store Kafka Cluster]]
ccps[[Petstore Kafka Cluster]]
krpp -.- ccps
krpc -.- ccps
end
Expand All @@ -34,12 +34,12 @@ flowchart LR
ui[\Web/] -.- |HTTP| zpsos
subgraph app1 [Zilla Pet Store]
subgraph app1 [Zilla Petstore]
zpsos{{OpenAPI REST}} --- zpp[produce] & zpc[consume]
end
subgraph cc [Confluent Cloud]
ccps[[Pet Store Kafka Cluster]]
ccps[[Petstore Kafka Cluster]]
zpp -.- ccps
zpc -.- ccps
end
Expand Down

0 comments on commit 55057c0

Please sign in to comment.