Skip to content

Commit

Permalink
backend: rename docs folder to swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
elhmn committed May 28, 2023
1 parent f274df5 commit 6bd553d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import (
"github.com/gin-contrib/cors"
"github.com/gin-gonic/gin"
_ "github.com/osscameroon/jobsika/docs"
"github.com/osscameroon/jobsika/internal/handlers"
_ "github.com/osscameroon/jobsika/swagger"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/cities.go → backend/swagger/cities.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

// swagger:route GET /cities cities idOfCities
// Companies returns cities endpoint
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/companies.go → backend/swagger/companies.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

import (
"github.com/osscameroon/jobsika/pkg/models/v1beta"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

import (
"github.com/osscameroon/jobsika/pkg/models/v1beta"
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/health.go → backend/swagger/health.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

// swagger:route GET /health health idOfHealth
// Companies returns health endpoint
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/jobtitles.go → backend/swagger/jobtitles.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

// swagger:route GET /jobtitles jobtitles idOfCompanyWithoutID
// Companies returns the list of jobtitles
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/ratings.go → backend/swagger/ratings.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

import (
"github.com/osscameroon/jobsika/pkg/models/v1beta"
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/salaries.go → backend/swagger/salaries.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

import (
"github.com/osscameroon/jobsika/pkg/models/v1beta"
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/seniority.go → backend/swagger/seniority.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package docs
package swagger

// swagger:route GET /seniority seniority idOfSeniority
// Companies returns seniority endpoint
Expand Down
2 changes: 1 addition & 1 deletion backend/docs/docs.go → backend/swagger/swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
// - application/json
//
// swagger:meta
package docs
package swagger

0 comments on commit 6bd553d

Please sign in to comment.