Skip to content

Commit

Permalink
API-23731 remove /v0/mvi-user items (#11941)
Browse files Browse the repository at this point in the history
* rm v0/mvi_user items

* rm v0/mvi_user items

* rm v0/mvi_user items
  • Loading branch information
crolarlibertyva authored Mar 3, 2023
1 parent 64ae52d commit 674256a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 393 deletions.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions modules/openid_auth/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
OpenidAuth::Engine.routes.draw do
match '/v0/*path', to: 'application#cors_preflight', via: [:options]

namespace :v0, defaults: { format: 'json' } do
get 'mvi-user', to: 'mpi_users#show'
post 'mvi-user', to: 'mpi_users#search'
end

namespace :v2, defaults: { format: 'json' } do
post 'validation', to: 'validation#index'
end
Expand Down
8 changes: 0 additions & 8 deletions modules/openid_auth/spec/requests/api_docs_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
require 'rails_helper'

RSpec.describe 'Validation Documentation Endpoint', type: :request do
describe '#get /docs/v0/mvi-user' do
it 'returns Open API Spec v3 JSON' do
get '/internal/auth/docs/v0/mvi-user'
expect(response).to have_http_status(:ok)
JSON.parse(response.body)
end
end

describe '#get /docs/v2/validation' do
it 'returns Open API Spec v3 JSON' do
get '/internal/auth/docs/v2/validation'
Expand Down
Loading

0 comments on commit 674256a

Please sign in to comment.