Skip to content

Commit

Permalink
🔥 Remove speakeasy code
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Jul 24, 2024
1 parent 449e87b commit 1d2b514
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
15 changes: 0 additions & 15 deletions packages/api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,6 @@ async function bootstrap() {
)
.build();
const document = SwaggerModule.createDocument(app, config);
// Add x-speakeasy-name-override
document['x-speakeasy-name-override'] = [
{
operationId: '^get.*',
methodNameOverride: 'retrieve',
},
{
operationId: '^list.*',
methodNameOverride: 'list',
},
{
operationId: '^new.*',
methodNameOverride: 'create',
},
];

useContainer(app.select(AppModule), { fallbackOnErrors: true });

Expand Down
7 changes: 0 additions & 7 deletions packages/api/swagger/swagger-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11139,10 +11139,3 @@ components:
- shared_link
- permission
- field_mappings
x-speakeasy-name-override:
- operationId: ^get.*
methodNameOverride: retrieve
- operationId: ^list.*
methodNameOverride: list
- operationId: ^new.*
methodNameOverride: create

0 comments on commit 1d2b514

Please sign in to comment.