Skip to content

Commit

Permalink
Modify spec summary
Browse files Browse the repository at this point in the history
  • Loading branch information
sarangan12 committed Oct 18, 2024
1 parent c6489d8 commit 0a0f8d5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions packages/cadl-ranch-specs/cadl-ranch-summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ Expects header 'authorization': 'Bearer https://security.microsoft.com/.default'
- `get /azure/client-generator-core/access/internalOperation/publicDecoratorInInternal`

This scenario contains internal operations. All should be generated but not exposed.
Expected query parameter: name=<any string>
Expected query parameter: name= "sample"
Expected response body:

```json
{
"name": <any string>
"name": "sample"
}
```

Expand All @@ -95,12 +95,12 @@ Expected response body:
- `get /azure/client-generator-core/access/publicOperation/publicDecoratorInPublic`

This scenario contains public operations. It should be generated and exported.
Expected query parameter: name=<any string>
Expected query parameter: name="sample"
Expected response body:

```json
{
"name": <any string>
"name": "sample"
}
```

Expand All @@ -119,12 +119,12 @@ This scenario contains internal operations. All should be generated but not expo
- `get /azure/client-generator-core/access/sharedModelInOperation/internal`

This scenario contains two operations, one public, another internal. The public one should be generated and exported while the internal one should be generated but not exposed.
Expected query parameter: name=<any string>
Expected query parameter: name= "sample"
Expected response body:

```json
{
"name": <any string>
"name": "sample"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ namespace _Specs_.Azure.ClientGenerator.Core.Access;
@scenario
@scenarioDoc("""
This scenario contains public operations. It should be generated and exported.
Expected query parameter: name=<any string>
Expected query parameter: name="sample"
Expected response body:
```json
{
"name": <any string>
"name": "sample"
}
```
""")
Expand Down Expand Up @@ -51,11 +51,11 @@ namespace PublicOperation {
@scenario
@scenarioDoc("""
This scenario contains internal operations. All should be generated but not exposed.
Expected query parameter: name=<any string>
Expected query parameter: name= "sample"
Expected response body:
```json
{
"name": <any string>
"name": "sample"
}
```
""")
Expand Down Expand Up @@ -98,11 +98,11 @@ namespace InternalOperation {
@scenario
@scenarioDoc("""
This scenario contains two operations, one public, another internal. The public one should be generated and exported while the internal one should be generated but not exposed.
Expected query parameter: name=<any string>
Expected query parameter: name= "sample"
Expected response body:
```json
{
"name": <any string>
"name": "sample"
}
```
""")
Expand Down Expand Up @@ -157,14 +157,14 @@ namespace RelativeModelInOperation {
}

@doc("""
Expected query parameter: name=<any string>
Expected query parameter: name="Madge"
Expected response body:
```json
{
"name": <any string>,
"name": "Madge",
"inner":
{
"name": <any string>
"name": "Madge"
}
}
```
Expand All @@ -175,11 +175,11 @@ namespace RelativeModelInOperation {
op operation(@query name: string): OuterModel;

@doc("""
Expected query parameter: kind=<any string>
Expected query parameter: kind= "real"
Expected response body:
```json
{
"name": <any string>,
"name": "Madge",
"kind": "real"
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace ModelInOperation {
Expected body parameter:
```json
{
"name": <any string>
"name": "Madge"
}
```
""")
Expand All @@ -48,7 +48,7 @@ namespace ModelInOperation {
Expected response body:
```json
{
"name": <any string>
"name": "Madge"
}
```
""")
Expand Down Expand Up @@ -78,7 +78,7 @@ namespace ModelInOperation {
```json
{
"result": {
"name": <any string>
"name": "Madge"
}
}
```
Expand Down

0 comments on commit 0a0f8d5

Please sign in to comment.